Translates between a C language enumeration (enum) and its external representation.
#include <rpc/xdr.h>
xdr_enum ( xdrs, ep)
XDR *xdrs;
enum_t *ep;
The xdr_enum subroutine is a filter primitive that translates between a C language enumeration (enum) and its external representation.
xdrs | Points to the eXternal Data Representation (XDR) stream handle. |
ep | Specifies the address of the enumeration data. |
Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.
This subroutine is part of Base Operating System (BOS) Runtime.
List of XDR Programming References.
eXternal Data Representation (XDR) Overview for Programming and Understanding XDR Library Filter Primitives in AIX 5L Version 5.1 Communications Programming Concepts.