Browse Source

Add prototypes for xdr_{accepted,rejected}_reply() and svcudp_enablecache()

(Both NetBSD and FreeBSD provide these prototypes)
ok millert@
OPENBSD_5_7
guenther 10 years ago
parent
commit
4af3493378
2 changed files with 6 additions and 2 deletions
  1. +4
    -1
      src/include/rpc/rpc_msg.h
  2. +2
    -1
      src/include/rpc/svc.h

+ 4
- 1
src/include/rpc/rpc_msg.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: rpc_msg.h,v 1.6 2010/09/01 14:43:34 millert Exp $ */
/* $OpenBSD: rpc_msg.h,v 1.7 2014/10/29 04:34:21 guenther Exp $ */
/* $NetBSD: rpc_msg.h,v 1.5 1995/04/29 05:28:00 cgd Exp $ */
/*
@ -185,6 +185,9 @@ extern bool_t xdr_callhdr(XDR *, struct rpc_msg *);
*/
extern bool_t xdr_replymsg(XDR *, struct rpc_msg *);
extern bool_t xdr_accepted_reply(XDR *, struct accepted_reply *);
extern bool_t xdr_rejected_reply(XDR *, struct rejected_reply *);
/*
* Fills in the error part of a reply message.
* _seterr_reply(msg, error)


+ 2
- 1
src/include/rpc/svc.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: svc.h,v 1.12 2010/09/01 14:43:34 millert Exp $ */
/* $OpenBSD: svc.h,v 1.13 2014/10/29 04:34:21 guenther Exp $ */
/* $NetBSD: svc.h,v 1.9 1995/04/29 05:28:01 cgd Exp $ */
/*
@ -305,6 +305,7 @@ __END_DECLS
__BEGIN_DECLS
extern SVCXPRT *svcudp_create(int);
extern SVCXPRT *svcudp_bufcreate(int, unsigned int, unsigned int);
extern int svcudp_enablecache(SVCXPRT *, u_long);
__END_DECLS


Loading…
Cancel
Save