Add missing prototypes for: get_myaddress, bindresvport, registerrpc,

callrpc, getrpcport
This commit is contained in:
christos 1997-07-13 18:15:46 +00:00
parent 7e34a0b230
commit 5fce2becd3

View File

@ -1,4 +1,4 @@
/* $NetBSD: rpc.h,v 1.5 1994/12/04 01:15:30 cgd Exp $ */ /* $NetBSD: rpc.h,v 1.6 1997/07/13 18:15:46 christos Exp $ */
/* /*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@ -87,6 +87,13 @@ extern struct rpcent *getrpcbynumber __P((int));
extern struct rpcent *getrpcent __P((void)); extern struct rpcent *getrpcent __P((void));
extern void setrpcent __P((int)); extern void setrpcent __P((int));
extern void endrpcent __P((void)); extern void endrpcent __P((void));
extern int get_myaddress __P((struct sockaddr_in *));
extern int bindresvport __P((int, struct sockaddr_in *));
extern int registerrpc __P((int, int, int, char *(*) __P((char [UDPMSGSIZE])),
xdrproc_t, xdrproc_t));
extern int callrpc __P((char *, int, int, int, xdrproc_t, char *,
xdrproc_t , char *));
extern int getrpcport __P((char *, int, int, int));
__END_DECLS __END_DECLS
#endif /* !_RPC_RPC_H */ #endif /* !_RPC_RPC_H */