diff options
author | kevlo <kevlo@FreeBSD.org> | 2007-11-07 10:53:41 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2007-11-07 10:53:41 +0000 |
commit | fa3791e1a7df72dae386c39862c6dad9fb7a5304 (patch) | |
tree | 368b0b244e9ff1e4d1d1e563ee72dc5168999272 /usr.sbin/rpcbind/rpcbind.h | |
parent | 350f518402f17e189d71fde9dc889b50554369e6 (diff) | |
download | FreeBSD-src-fa3791e1a7df72dae386c39862c6dad9fb7a5304.zip FreeBSD-src-fa3791e1a7df72dae386c39862c6dad9fb7a5304.tar.gz |
Cleanup of userland __P use
Diffstat (limited to 'usr.sbin/rpcbind/rpcbind.h')
-rw-r--r-- | usr.sbin/rpcbind/rpcbind.h | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/usr.sbin/rpcbind/rpcbind.h b/usr.sbin/rpcbind/rpcbind.h index 2d52be3..5537ce4 100644 --- a/usr.sbin/rpcbind/rpcbind.h +++ b/usr.sbin/rpcbind/rpcbind.h @@ -80,62 +80,62 @@ extern char *udp_uaddr; /* Universal UDP address */ extern char *tcp_uaddr; /* Universal TCP address */ #endif -int add_bndlist __P((struct netconfig *, struct netbuf *)); -bool_t is_bound __P((char *, char *)); -char *mergeaddr __P((SVCXPRT *, char *, char *, char *)); -struct netconfig *rpcbind_get_conf __P((char *)); - -void rpcbs_init __P((void)); -void rpcbs_procinfo __P((rpcvers_t, rpcproc_t)); -void rpcbs_set __P((rpcvers_t, bool_t)); -void rpcbs_unset __P((rpcvers_t, bool_t)); -void rpcbs_getaddr __P((rpcvers_t, rpcprog_t, rpcvers_t, char *, char *)); -void rpcbs_rmtcall __P((rpcvers_t, rpcproc_t, rpcprog_t, rpcvers_t, rpcproc_t, - char *, rpcblist_ptr)); -void *rpcbproc_getstat __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t)); - -void rpcb_service_3 __P((struct svc_req *, SVCXPRT *)); -void rpcb_service_4 __P((struct svc_req *, SVCXPRT *)); +int add_bndlist(struct netconfig *, struct netbuf *); +bool_t is_bound(char *, char *); +char *mergeaddr(SVCXPRT *, char *, char *, char *); +struct netconfig *rpcbind_get_conf(char *); + +void rpcbs_init(void); +void rpcbs_procinfo(rpcvers_t, rpcproc_t); +void rpcbs_set(rpcvers_t, bool_t); +void rpcbs_unset(rpcvers_t, bool_t); +void rpcbs_getaddr(rpcvers_t, rpcprog_t, rpcvers_t, char *, char *); +void rpcbs_rmtcall(rpcvers_t, rpcproc_t, rpcprog_t, rpcvers_t, rpcproc_t, + char *, rpcblist_ptr); +void *rpcbproc_getstat(void *, struct svc_req *, SVCXPRT *, rpcvers_t); + +void rpcb_service_3(struct svc_req *, SVCXPRT *); +void rpcb_service_4(struct svc_req *, SVCXPRT *); /* Common functions shared between versions */ -void *rpcbproc_set_com __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t)); -void *rpcbproc_unset_com __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t)); -bool_t map_set __P((RPCB *, char *)); -bool_t map_unset __P((RPCB *, char *)); -void delete_prog __P((unsigned int)); -void *rpcbproc_getaddr_com __P((RPCB *, struct svc_req *, SVCXPRT *, rpcvers_t, - rpcvers_t)); -void *rpcbproc_gettime_com __P((void *, struct svc_req *, SVCXPRT *, - rpcvers_t)); -void *rpcbproc_uaddr2taddr_com __P((void *, struct svc_req *, - SVCXPRT *, rpcvers_t)); -void *rpcbproc_taddr2uaddr_com __P((void *, struct svc_req *, SVCXPRT *, - rpcvers_t)); -int create_rmtcall_fd __P((struct netconfig *)); -void rpcbproc_callit_com __P((struct svc_req *, SVCXPRT *, rpcvers_t, - rpcvers_t)); -void my_svc_run __P((void)); - -void rpcbind_abort __P((void)); -void reap __P((int)); -void toggle_verboselog __P((int)); - -int check_access __P((SVCXPRT *, rpcproc_t, void *, unsigned int)); -int check_callit __P((SVCXPRT *, struct r_rmtcall_args *, int)); -void logit __P((int, struct sockaddr *, rpcproc_t, rpcprog_t, const char *)); -int is_loopback __P((struct netbuf *)); +void *rpcbproc_set_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t); +void *rpcbproc_unset_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t); +bool_t map_set(RPCB *, char *); +bool_t map_unset(RPCB *, char *); +void delete_prog(unsigned int); +void *rpcbproc_getaddr_com(RPCB *, struct svc_req *, SVCXPRT *, rpcvers_t, + rpcvers_t); +void *rpcbproc_gettime_com(void *, struct svc_req *, SVCXPRT *, + rpcvers_t); +void *rpcbproc_uaddr2taddr_com(void *, struct svc_req *, + SVCXPRT *, rpcvers_t); +void *rpcbproc_taddr2uaddr_com(void *, struct svc_req *, SVCXPRT *, + rpcvers_t); +int create_rmtcall_fd(struct netconfig *); +void rpcbproc_callit_com(struct svc_req *, SVCXPRT *, rpcvers_t, + rpcvers_t); +void my_svc_run(void); + +void rpcbind_abort(void); +void reap(int); +void toggle_verboselog(int); + +int check_access(SVCXPRT *, rpcproc_t, void *, unsigned int); +int check_callit(SVCXPRT *, struct r_rmtcall_args *, int); +void logit(int, struct sockaddr *, rpcproc_t, rpcprog_t, const char *); +int is_loopback(struct netbuf *); #ifdef PORTMAP -extern void pmap_service __P((struct svc_req *, SVCXPRT *)); +extern void pmap_service(struct svc_req *, SVCXPRT *); #endif -void write_warmstart __P((void)); -void read_warmstart __P((void)); +void write_warmstart(void); +void read_warmstart(void); -char *addrmerge __P((struct netbuf *caller, char *serv_uaddr, char *clnt_uaddr, - char *netid)); -void network_init __P((void)); -struct sockaddr *local_sa __P((int)); +char *addrmerge(struct netbuf *caller, char *serv_uaddr, char *clnt_uaddr, + char *netid); +void network_init(void); +struct sockaddr *local_sa(int); /* For different getaddr semantics */ #define RPCB_ALLVERS 0 |