Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xdr(3N) — UTek 3.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 5/12/88                                                 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

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













Printed 5/12/88                                                 2





































































%%index%%
na:240,107;
de:347,2137;2796,1573;
se:4369,314;
%%index%%000000000081

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