Serializes and deserializes enumerations.
Format
#include <tcpip$rpcxdr.h>
bool_t xdr_enum(XDR *xdrs, enum_t *ep);
1 – Arguments
xdrs
A pointer to an XDR stream handle created by one of the XDR
stream-handle creation routines.
ep
A pointer to the enumeration data.
2 – Description
A filter primitive that translates between enumerations (actually
integers) and their external representations.
3 – Return Values
TRUE Indicates success.
FALSE Indicates failure.