From 4af349337803c7d53c604fde4d2a7922c1745670 Mon Sep 17 00:00:00 2001 From: guenther <> Date: Wed, 29 Oct 2014 04:34:21 +0000 Subject: [PATCH] Add prototypes for xdr_{accepted,rejected}_reply() and svcudp_enablecache() (Both NetBSD and FreeBSD provide these prototypes) ok millert@ --- src/include/rpc/rpc_msg.h | 5 ++++- src/include/rpc/svc.h | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/include/rpc/rpc_msg.h b/src/include/rpc/rpc_msg.h index c766c07d..1e40dbe8 100644 --- a/src/include/rpc/rpc_msg.h +++ b/src/include/rpc/rpc_msg.h @@ -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) diff --git a/src/include/rpc/svc.h b/src/include/rpc/svc.h index 5e8965bb..5d68723e 100644 --- a/src/include/rpc/svc.h +++ b/src/include/rpc/svc.h @@ -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