diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-05-30 23:35:54 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-05-30 23:35:54 +0000 |
commit | 030cf7a285790c6c1b54ac5483c44ab26350fd07 (patch) | |
tree | f2d13035890d93d51572f33ab4e2db70a4904859 /usr.bin/finger/extern.h | |
parent | 5d2fd3083777a9edc8321b84f368aff090aa1911 (diff) |
Integrate changed from NetBSD being careful not to step on our important
stuff (like the -M flag and things.)
Diffstat (limited to 'usr.bin/finger/extern.h')
-rw-r--r-- | usr.bin/finger/extern.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/usr.bin/finger/extern.h b/usr.bin/finger/extern.h index d5897be0594..475f9d4f352 100644 --- a/usr.bin/finger/extern.h +++ b/usr.bin/finger/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.2 1996/06/26 05:33:14 deraadt Exp $ */ +/* $OpenBSD: extern.h,v 1.3 1997/05/30 23:35:50 kstailey Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -35,17 +35,31 @@ * @(#)extern.h 8.2 (Berkeley) 4/28/95 */ +extern time_t now; /* Current time. */ extern char tbuf[1024]; /* Temp buffer for anybody. */ extern int entries; /* Number of people. */ -extern DB *db; /* Database. */ +extern int lflag; +extern int oflag; +extern int pplan; +int demi_print __P((char *, int)); void enter_lastlog __P((PERSON *)); PERSON *enter_person __P((struct passwd *)); void enter_where __P((struct utmp *, PERSON *)); +void expandusername __P((char *, char *, char *, int)); PERSON *find_person __P((char *)); +int hash __P((char *)); void lflag_print __P((void)); +void loginlist __P((void)); +void lprint __P((PERSON *)); int match __P((struct passwd *, char *)); void netfinger __P((char *)); PERSON *palloc __P((void)); char *prphone __P((char *)); +int psort __P((const void *, const void *)); void sflag_print __P((void)); +int show_text __P((char *, char *, char *)); +PERSON **sort __P((void)); +void stimeprint __P((WHERE *)); +void userlist __P((int, char **)); +void vputc __P((int)); |