extern.h revision 23691
1189251Ssam/*-
2189251Ssam * Copyright (c) 1991, 1993
3189251Ssam *	The Regents of the University of California.  All rights reserved.
4189251Ssam *
5189251Ssam * Redistribution and use in source and binary forms, with or without
6189251Ssam * modification, are permitted provided that the following conditions
7189251Ssam * are met:
8189251Ssam * 1. Redistributions of source code must retain the above copyright
9189251Ssam *    notice, this list of conditions and the following disclaimer.
10189251Ssam * 2. Redistributions in binary form must reproduce the above copyright
11189251Ssam *    notice, this list of conditions and the following disclaimer in the
12189251Ssam *    documentation and/or other materials provided with the distribution.
13189251Ssam * 3. All advertising materials mentioning features or use of this software
14189251Ssam *    must display the following acknowledgement:
15189251Ssam *	This product includes software developed by the University of
16189251Ssam *	California, Berkeley and its contributors.
17189251Ssam * 4. Neither the name of the University nor the names of its contributors
18189251Ssam *    may be used to endorse or promote products derived from this software
19189251Ssam *    without specific prior written permission.
20189251Ssam *
21189251Ssam * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22189251Ssam * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23189251Ssam * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24189251Ssam * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25189251Ssam * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26189251Ssam * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27189251Ssam * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28189251Ssam * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29189251Ssam * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30189251Ssam * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31189251Ssam * SUCH DAMAGE.
32189251Ssam *
33189251Ssam *	@(#)extern.h	8.2 (Berkeley) 4/28/95
34189251Ssam */
35189251Ssam
36189251Ssamextern char tbuf[1024];			/* Temp buffer for anybody. */
37189251Ssamextern int entries;			/* Number of people. */
38189251Ssamextern DB *db;				/* Database. */
39189251Ssam
40189251Ssamvoid	 enter_lastlog __P((PERSON *));
41189251SsamPERSON	*enter_person __P((struct passwd *));
42189251Ssamvoid	 enter_where __P((struct utmp *, PERSON *));
43189251SsamPERSON	*find_person __P((char *));
44189251Ssamvoid	 lflag_print __P((void));
45189251Ssamint	 match __P((struct passwd *, char *));
46189251Ssamvoid	 netfinger __P((char *));
47189251SsamPERSON	*palloc __P((void));
48189251Ssamchar	*prphone __P((char *));
49189251Ssamvoid	 sflag_print __P((void));
50189251Ssam