diff options
Diffstat (limited to 'libexec/rpc.rusersd/rusers_proc.c')
-rw-r--r-- | libexec/rpc.rusersd/rusers_proc.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/libexec/rpc.rusersd/rusers_proc.c b/libexec/rpc.rusersd/rusers_proc.c index 53718e72686..477d2a6d95c 100644 --- a/libexec/rpc.rusersd/rusers_proc.c +++ b/libexec/rpc.rusersd/rusers_proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rusers_proc.c,v 1.17 2002/06/30 00:21:12 deraadt Exp $ */ +/* $OpenBSD: rusers_proc.c,v 1.18 2003/07/06 21:57:27 deraadt Exp $ */ /*- * Copyright (c) 1993 John Brezak @@ -29,7 +29,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: rusers_proc.c,v 1.17 2002/06/30 00:21:12 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: rusers_proc.c,v 1.18 2003/07/06 21:57:27 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -62,6 +62,13 @@ ut_line_t line[MAXUSERS]; ut_name_t name[MAXUSERS]; ut_host_t host[MAXUSERS]; +int *rusers_num_svc(void *, struct svc_req *); +struct utmpidlearr *rusersproc_names_2_svc(void *, struct svc_req *); +struct utmpidlearr *rusersproc_allnames_2_svc(void *, struct svc_req *); +struct utmparr *rusersproc_names_1_svc(void *, struct svc_req *); +struct utmparr *rusersproc_allnames_1_svc(void *, struct svc_req *); +void rusers_service(struct svc_req *, SVCXPRT *); + extern int from_inetd; FILE *ufp; |