Deleted Added
full compact
utxdb.h (202188) utxdb.h (202530)
1/*-
2 * Copyright (c) 2010 Ed Schouten <ed@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2010 Ed Schouten <ed@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/lib/libc/gen/utxdb.h 202188 2010-01-13 17:29:55Z ed $
26 * $FreeBSD: head/lib/libc/gen/utxdb.h 202530 2010-01-17 21:40:05Z ed $
27 */
28
29#ifndef _UTXDB_H_
30#define _UTXDB_H_
31
32#include <stdint.h>
33
34#define _PATH_UTX_ACTIVE "/var/run/utx.active"

--- 16 unchanged lines hidden (view full) ---

51 char fu_id[8];
52 uint32_t fu_pid;
53 char fu_user[32];
54 char fu_line[16];
55 char fu_host[128];
56} __packed;
57
58void utx_to_futx(const struct utmpx *, struct futx *);
27 */
28
29#ifndef _UTXDB_H_
30#define _UTXDB_H_
31
32#include <stdint.h>
33
34#define _PATH_UTX_ACTIVE "/var/run/utx.active"

--- 16 unchanged lines hidden (view full) ---

51 char fu_id[8];
52 uint32_t fu_pid;
53 char fu_user[32];
54 char fu_line[16];
55 char fu_host[128];
56} __packed;
57
58void utx_to_futx(const struct utmpx *, struct futx *);
59void futx_to_utx(const struct futx *, struct utmpx *);
59struct utmpx *futx_to_utx(const struct futx *);
60
61#endif /* !_UTXDB_H_ */
60
61#endif /* !_UTXDB_H_ */