diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-06 21:57:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-06 21:57:28 +0000 |
commit | 05a9b00ba2dad2a103b0550d1ff770c9dea41c67 (patch) | |
tree | 39c6d68bb6da2388105cf221b6df680d79d26329 /libexec/rpc.rusersd/rusers_proc.c | |
parent | f5d8fe7463b9acf36c91d3674cf770c40cd09452 (diff) |
bring protos into scope
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; |