Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xdr(3C) — HP-UX 8.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

xdr(3C)

Requires Optional NFS Services Software

NAME

xdr − library routines for external data representation

DESCRIPTION

These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion.  Data for remote procedure calls are transmitted using these routines. 

Functions

xdr_array() translate arrays to/from external representation

xdr_bool() translate Booleans to/from external representation

xdr_bytes() translate counted byte strings to/from external representation

xdr_char() translate characters to/from external representation

xdr_destroy() destroy XDR stream and free associated memory

xdr_double() translate double precision to/from external representation

xdr_enum() translate enumerations to/from external representation

xdr_float() translate floating point to/from external representation

xdr_getpos() return current position in XDR stream

xdr_free() free the memory allocated to create XDR data structures

xdr_inline() invoke the in-line routines associated with XDR stream

xdr_int() translate integers to/from external representation

xdr_long() translate long integers to/from external representation

xdr_opaque() translate fixed-size opaque data to/from external representation

xdr_pointer() similar to xdr_reference() except it is able to follow recursive data structures such as a binary tree

xdr_reference() chase pointers within structures

xdr_setpos() change current position in XDR stream

xdr_short() translate short integers to/from external representation

xdr_string() translate null-terminated strings to/from external representation

xdr_u_char() translate unsigned characters to/from external representation

xdr_u_int() translate unsigned integers to/from external representation

xdr_u_long() translate unsigned long integers to/from external representation

xdr_u_short() translate unsigned short integers to/from external representation

xdr_union() translate descriminated unions to/from external representation

xdr_vector() translate fixed-length arrays to/from external representation

xdr_void() always return one (1)

xdr_wrapstring() package RPC routine for XDR routine, or vice-versa

xdrmem_create() initialize an XDR stream

xdrrec_create() initialize an XDR stream with record boundaries

xdrrec_endofrecord() mark XDR record stream with an end-of-record

xdrrec_eof() mark XDR record stream with an end-of-file

xdrrec_skiprecord() skip remaining record in XDR record stream

xdrstdio_create() initialize an XDR stream as standard I/O FILE stream

AUTHOR

xdr was developed by Sun Microsystems, Inc. 

SEE ALSO

Programming and Protocols for NFS Services.

INTERNATIONAL SUPPORT

8-bit data, 16-bit data, messages

Hewlett-Packard Company  —  HP-UX Release 8.05: June 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026