Deleted Added
full compact
extern.h (65064) extern.h (74586)
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. 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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)extern.h 8.2 (Berkeley) 4/28/95
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. 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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)extern.h 8.2 (Berkeley) 4/28/95
34 * $FreeBSD: head/usr.bin/finger/extern.h 65064 2000-08-25 01:01:07Z brian $
34 * $FreeBSD: head/usr.bin/finger/extern.h 74586 2001-03-21 18:43:49Z ache $
35 */
36
37extern char tbuf[1024]; /* Temp buffer for anybody. */
38extern int entries; /* Number of people. */
39extern DB *db; /* Database. */
35 */
36
37extern char tbuf[1024]; /* Temp buffer for anybody. */
38extern int entries; /* Number of people. */
39extern DB *db; /* Database. */
40extern int d_first;
40
41void enter_lastlog __P((PERSON *));
42PERSON *enter_person __P((struct passwd *));
43void enter_where __P((struct utmp *, PERSON *));
44PERSON *find_person __P((char *));
45int hide __P((struct passwd *));
46void lflag_print __P((void));
47int match __P((struct passwd *, char *));
48void netfinger __P((char *));
49PERSON *palloc __P((void));
50char *prphone __P((char *));
51void sflag_print __P((void));
52int show_text __P((char *, char *, char *));
41
42void enter_lastlog __P((PERSON *));
43PERSON *enter_person __P((struct passwd *));
44void enter_where __P((struct utmp *, PERSON *));
45PERSON *find_person __P((char *));
46int hide __P((struct passwd *));
47void lflag_print __P((void));
48int match __P((struct passwd *, char *));
49void netfinger __P((char *));
50PERSON *palloc __P((void));
51char *prphone __P((char *));
52void sflag_print __P((void));
53int show_text __P((char *, char *, char *));