DragonFly BSD
DragonFly submit List (threaded) for 2006-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

rpc.h missing


From: Alexey Slynko <slynko@xxxxxxxxx>
Date: Wed, 18 Jan 2006 20:34:45 +0300

Hi,

1) Add missing prototypes, that was described in man page
Index: /usr/src1/sys/../include/rpc/rpc.h
===================================================================
RCS file: /mnt/share/dragonfly-cvs/src/include/rpc/rpc.h,v
retrieving revision 1.4
diff -u -r1.4 rpc.h
--- /usr/src1/sys/../include/rpc/rpc.h	26 Feb 2004 13:58:26 -0000	1.4
+++ /usr/src1/sys/../include/rpc/rpc.h	15 Jan 2006 23:16:39 -0000
@@ -80,6 +80,8 @@
 };
 
 __BEGIN_DECLS
+int		 callrpc(char *, int, int, int, xdrproc_t, char *, xdrproc_t,
+			char *);
 struct rpcent 	*getrpcbyname(char *);
 struct rpcent 	*getrpcbynumber(int);
 struct rpcent 	*getrpcent(void);
@@ -90,6 +92,9 @@
 int		 bindresvport(int, struct sockaddr_in *);
 int		 bindresvport_sa(int, struct sockaddr *);
 int		 get_myaddress(struct sockaddr_in *);
+int		 registerrpc(int, int, int, char *(*progname)(void), xdrproc_t, xdrproc_t);
+bool_t		 xdr_accepted_reply(XDR *, struct accepted_reply *);
+bool_t		 xdr_rejected_reply(XDR *, struct rejected_reply *);
 __END_DECLS
 
 #endif /* !_RPC_RPC_H */


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]