The XDR library provides a primitive for generic enumerations based on the assumption that a C enumeration value (enum) has the same representation. A special enumeration in XDR, known as the Boolean, provides a value of 0 or 1 represented internally in a binary notation.
The routines for the XDR library enumeration filters are:
Routine