Deleted Added
full compact
libutil.h (55227) libutil.h (56590)
1/*
2 * Copyright (c) 1995 Peter Wemm <peter@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, is permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

13 * documentation and/or other materials provided with the distribution.
14 * 3. This work was done expressly for inclusion into FreeBSD. Other use
15 * is permitted provided this notation is included.
16 * 4. Absolutely no warranty of function or purpose is made by the author
17 * Peter Wemm.
18 * 5. Modifications may be freely made to this file providing the above
19 * conditions are met.
20 *
1/*
2 * Copyright (c) 1995 Peter Wemm <peter@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, is permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

13 * documentation and/or other materials provided with the distribution.
14 * 3. This work was done expressly for inclusion into FreeBSD. Other use
15 * is permitted provided this notation is included.
16 * 4. Absolutely no warranty of function or purpose is made by the author
17 * Peter Wemm.
18 * 5. Modifications may be freely made to this file providing the above
19 * conditions are met.
20 *
21 * $FreeBSD: head/lib/libutil/libutil.h 55227 1999-12-29 17:50:34Z peter $
21 * $FreeBSD: head/lib/libutil/libutil.h 56590 2000-01-25 14:52:10Z shin $
22 */
23
24#ifndef _LIBUTIL_H_
25#define _LIBUTIL_H_
26
27#include <sys/cdefs.h>
28
29/* for properties.c */

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

55int uu_unlock __P((const char *_ttyname));
56int uu_lock_txfr __P((const char *_ttyname, pid_t _pid));
57int _secure_path __P((const char *_path, uid_t _uid, gid_t _gid));
58properties properties_read __P((int fd));
59void properties_free __P((properties list));
60char *property_find __P((properties list, const char *name));
61char *auth_getval __P((const char *name));
62int realhostname __P((char *host, size_t hsize, const struct in_addr *ip));
22 */
23
24#ifndef _LIBUTIL_H_
25#define _LIBUTIL_H_
26
27#include <sys/cdefs.h>
28
29/* for properties.c */

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

55int uu_unlock __P((const char *_ttyname));
56int uu_lock_txfr __P((const char *_ttyname, pid_t _pid));
57int _secure_path __P((const char *_path, uid_t _uid, gid_t _gid));
58properties properties_read __P((int fd));
59void properties_free __P((properties list));
60char *property_find __P((properties list, const char *name));
61char *auth_getval __P((const char *name));
62int realhostname __P((char *host, size_t hsize, const struct in_addr *ip));
63struct sockaddr;
64int realhostname_sa __P((char *host, size_t hsize, struct sockaddr *addr,
65 int addrlen));
63#ifdef _STDIO_H_ /* avoid adding new includes */
64char *fparseln __P((FILE *, size_t *, size_t *, const char[3], int));
65#endif
66__END_DECLS
67
68#define UU_LOCK_INUSE (1)
69#define UU_LOCK_OK (0)
70#define UU_LOCK_OPEN_ERR (-1)

--- 21 unchanged lines hidden ---
66#ifdef _STDIO_H_ /* avoid adding new includes */
67char *fparseln __P((FILE *, size_t *, size_t *, const char[3], int));
68#endif
69__END_DECLS
70
71#define UU_LOCK_INUSE (1)
72#define UU_LOCK_OK (0)
73#define UU_LOCK_OPEN_ERR (-1)

--- 21 unchanged lines hidden ---