Serializes and deserializes a message-accepted indication in an RPC reply message. Format #include <tcpip$rpcxdr.h> bool_t xdr_accepted_reply(XDR *xdrs, struct accepted_reply *arp);
1 – Arguments
xdrs A pointer to an XDR stream handle created by one of the XDR stream-handle creation routines. arp A pointer to a buffer to which the message-accepted indication is written.
2 – Description
Used for encoding reply messages. This routine encodes the status of the RPC call and, in the case of success, the call results as well. This routine is useful for users who want to generate messages without using the ONC RPC package. It returns the message-accepted variant of a reply message union in the arp argument. The xdr_replymsg routine calls this routine.
3 – Return Values
TRUE Indicates success. FALSE Indicates failure to encode the message.