xref: /original-bsd/usr.bin/finger/extern.h (revision c3e32dec)
1 /*-
2  * Copyright (c) 1991, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)extern.h	8.1 (Berkeley) 06/06/93
8  */
9 
10 extern char tbuf[1024];			/* Temp buffer for anybody. */
11 extern int entries;			/* Number of people. */
12 extern DB *db;				/* Database. */
13 
14 void	 enter_lastlog __P((PERSON *));
15 PERSON	*enter_person __P((struct passwd *));
16 void	 enter_where __P((struct utmp *, PERSON *));
17 void	 err __P((const char *, ...));
18 PERSON	*find_person __P((char *));
19 void	 lflag_print __P((void));
20 int	 match __P((struct passwd *, char *));
21 void	 netfinger __P((char *));
22 PERSON	*palloc __P((void));
23 char	*prphone __P((char *));
24 void	 sflag_print __P((void));
25