Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xdr(3N) — UTek 4.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



XDR(3N)                 COMMAND REFERENCE                 XDR(3N)



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_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_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_reference()     Chase pointers within structures

     xdr_setpos()        Change current position in XDR stream

     xdr_short()         Translate short integers to/from
                         external representation




Printed 3/13/89                                                 1





XDR(3N)                 COMMAND REFERENCE                 XDR(3N)



     xdr_string()        Translate null-terminated strings
                         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 discriminated unions 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

REFERENCES
     External Data Representation Protocol, in The Network File
     System, Tektronix part number
     070-6628-00.













Printed 3/13/89                                                 2





































































%%index%%
na:240,107;
de:347,2137;2796,1573;
re:4369,346;
%%index%%000000000081

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