[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Communications Programming Concepts

List of XDR Programming References

The list of eXternal Data Representation (XDR) programming references includes:

XDR Library Filter Primitives

xdr_array Translates between variable-length arrays and their corresponding external representations.
xdr_bool Translates between Booleans and their external representations.
xdr_bytes Translates between internal counted byte string arrays and their external representations.
xdr_char Translates between C language characters and their external representations.
xdr_double Translates between C language double-precision numbers and their external representations.
xdr_enum Translates between C language enumerations and their external representations.
xdr_float Translates between C language floats and their external representations.
xdr_int Translates between C language integers and their external representations.
xdr_long Translates between C language long integers and their external representations.
xdr_opaque Translates between opaque data and its external representation.
xdr_reference Provides pointer chasing within structures.
xdr_short Translates between C language short integers and their external representations.
xdr_string Translates between C language strings and their external representations.
xdr_u_char Translates between unsigned C language characters and their external representations.
xdr_u_int Translates between C language unsigned integers and their external representations.
xdr_u_long Translates between C language unsigned long integers and their external representations.
xdr_u_short Translates between C language unsigned short integers and their external representations.
xdr_union Translates between discriminated unions and their external representations.
xdr_vector Translates between fixed-length arrays and their corresponding external representations.
xdr_void Supplies an XDR subroutine to the Remote Procedure Call (RPC) system without transmitting data.
xdr_wrapstring Calls the xdr_string subroutine.

XDR Library Non-Filter Primitives

xdr_destroy Destroys the XDR stream pointed to by the xdrs parameter.
xdr_free Deallocates or frees memory.
xdr_getpos Returns an unsigned integer that describes the current position in the data stream.
xdr_inline Returns a pointer to an internal piece of the buffer of a stream, pointed to by the xdrs parameter.
xdr_pointer Provides pointer chasing within structures and serializes null pointers.
xdr_setpos Changes the current position in the XDR stream.
xdrmem_create Initializes in local memory the XDR stream pointed to by the xdrs parameter.
xdrrec_create Provides an XDR stream that can contain long sequences of records.
xdrrec_endofrecord Causes the current outgoing data to be marked as a record.
xdrrec_eof Checks the buffer for an input stream.
xdrrec_skiprecord Causes the position of an input stream to move to the beginning of the next record.
xdrstdio_create Initializes the XDR data stream pointed to by the xdrs parameter.

Examples

Passing Linked Lists Using XDR Example

Using an XDR Data Description Example

Showing the Justification for Using XDR Example

Using XDR Example

Using XDR Array Examples

Using an XDR Discriminated Union Example

Showing the Use of Pointers in XDR Example


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]