version 1.2, 1996/06/26 05:33:14 |
version 1.3, 1997/05/30 23:35:50 |
|
|
* @(#)extern.h 8.2 (Berkeley) 4/28/95 |
* @(#)extern.h 8.2 (Berkeley) 4/28/95 |
*/ |
*/ |
|
|
|
extern time_t now; /* Current time. */ |
extern char tbuf[1024]; /* Temp buffer for anybody. */ |
extern char tbuf[1024]; /* Temp buffer for anybody. */ |
extern int entries; /* Number of people. */ |
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 *)); |
void enter_lastlog __P((PERSON *)); |
PERSON *enter_person __P((struct passwd *)); |
PERSON *enter_person __P((struct passwd *)); |
void enter_where __P((struct utmp *, PERSON *)); |
void enter_where __P((struct utmp *, PERSON *)); |
|
void expandusername __P((char *, char *, char *, int)); |
PERSON *find_person __P((char *)); |
PERSON *find_person __P((char *)); |
|
int hash __P((char *)); |
void lflag_print __P((void)); |
void lflag_print __P((void)); |
|
void loginlist __P((void)); |
|
void lprint __P((PERSON *)); |
int match __P((struct passwd *, char *)); |
int match __P((struct passwd *, char *)); |
void netfinger __P((char *)); |
void netfinger __P((char *)); |
PERSON *palloc __P((void)); |
PERSON *palloc __P((void)); |
char *prphone __P((char *)); |
char *prphone __P((char *)); |
|
int psort __P((const void *, const void *)); |
void sflag_print __P((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)); |