xref: /csrg-svn/usr.bin/finger/extern.h (revision 50597)
1*50597Sbostic /*-
2*50597Sbostic  * Copyright (c) 1991 The Regents of the University of California.
3*50597Sbostic  * All rights reserved.
4*50597Sbostic  *
5*50597Sbostic  * %sccs.include.redist.c%
6*50597Sbostic  *
7*50597Sbostic  *	@(#)extern.h	5.1 (Berkeley) 07/27/91
8*50597Sbostic  */
9*50597Sbostic 
10*50597Sbostic extern PERSON *htab[HSIZE];		/* The buckets. */
11*50597Sbostic extern PERSON *phead, *ptail;		/* The linked list of all people. */
12*50597Sbostic extern char tbuf[1024];			/* Temp buffer for anybody. */
13*50597Sbostic extern int entries;			/* Number of people. */
14*50597Sbostic 
15*50597Sbostic void	 enter_lastlog __P((PERSON *));
16*50597Sbostic PERSON	*enter_person __P((struct passwd *));
17*50597Sbostic void	 enter_where __P((struct utmp *, PERSON *));
18*50597Sbostic void	 err __P((const char *, ...));
19*50597Sbostic PERSON	*find_person __P((char *));
20*50597Sbostic void	 lflag_print __P((void));
21*50597Sbostic int	 match __P((struct passwd *, char *));
22*50597Sbostic void	 netfinger __P((char *));
23*50597Sbostic PERSON	*palloc __P((void));
24*50597Sbostic char	*prphone __P((char *));
25*50597Sbostic void	 sflag_print __P((void));
26*50597Sbostic WHERE	*walloc __P((PERSON *));
27