diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-12 20:28:17 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:21 +0200 |
commit | 2e55f3df3531a33d84a065979508a809e2bec742 (patch) | |
tree | 9454dfa196408e4c90de18cc2553acd39d6720e3 /include/rpc/rpc_msg.h | |
parent | 2072ce3b2e052a82452f2c67768468f76465d32c (diff) |
rpc_msg.h: move xdr_accepted_reply and xdr_received_reply from rpc.h
glibc does not provide these prototypes
libtirpc provides them in rpc_msg.h, copied comments from there
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/rpc/rpc_msg.h')
-rw-r--r-- | include/rpc/rpc_msg.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/rpc/rpc_msg.h b/include/rpc/rpc_msg.h index c848b39c2..1137dadd2 100644 --- a/include/rpc/rpc_msg.h +++ b/include/rpc/rpc_msg.h @@ -201,6 +201,26 @@ extern void _seterr_reply (struct rpc_msg *__msg, struct rpc_err *__error) __THROW; libc_hidden_proto(_seterr_reply) +#ifdef __UCLIBC__ +/* + * XDR routine to handle an accepted rpc reply. + * xdr_accepted_reply(xdrs, rej) + * XDR *xdrs; + * struct accepted_reply *rej; + */ +extern bool_t xdr_accepted_reply(XDR *__xdrs, struct accepted_reply *__ar); +libc_hidden_proto(xdr_accepted_reply) + +/* + * XDR routine to handle a rejected rpc reply. + * xdr_rejected_reply(xdrs, rej) + * XDR *xdrs; + * struct rejected_reply *rej; + */ +extern bool_t xdr_rejected_reply(XDR *__xdrs, struct rejected_reply *__rr); +libc_hidden_proto(xdr_rejected_reply) +#endif + __END_DECLS #endif /* rpc/rpc_msg.h */ |