Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xprt_register(3)

xdr_int(3)

xdr_bytes(3)

xdr_getpos(3)

xdr_pointer(3)

xdrrec_create(3)

xdr_array(3)

xdr_destroy(3)

xdr_free(3)

xdr_inline(3)

xdrmem_create(3)

xdr_opaque(3)

xdr_union(3)

xdr_vector(3)

xdr_void(3)



  xprt_register(3)                    CLIX                    xprt_register(3)



  NAME

    xprt_register, xprt_unregister - Library functions for remote procedure
    calls

  LIBRARY

    Berkeley Software Distribution Library (libbsd.a)

  SYNOPSIS

    #include <sys/xdr.h>

    void xprt_register(
      SVCXPRT *xprt );

    void xprt_unregister(
      SVCXPRT *xprt );

  PARAMETERS

    xprt   Specifies the address of the RPC service transport handle.

  DESCRIPTION

    The xprt_register() and xprt_unregister() functions allow C programs to
    make procedure calls on other machines across the network.  First, the
    client calls a procedure to send a data packet to the server.  Upon
    receipt of the packet, the server calls a dispatch routine to perform the
    requested service, and then sends back a reply.  Finally, the procedure
    call returns to the client.

    After RPC service transport handles are created, they should register
    themselves with the RPC service package.  The xprt_register() function
    modifies the global variable svc_fds.

    Before an RPC service transport handle is destroyed, it should unregister
    itself with the RPC service package.  The xprt_unregister() function
    modifies the global variable svc_fds.

  NOTES

    Service implementors usually do not need either xprt_register() or
    xprt_unregister().

  RETURN VALUES

    These functions return void.

  RELATED INFORMATION




  2/94 - Intergraph Corporation                                              1






  xprt_register(3)                    CLIX                    xprt_register(3)



    Functions:  xdr_int(3), xdr_bytes(3), xdr_getpos(3), xdr_pointer(3),
    xdrrec_create(3), xdr_array(3), xdr_destroy(3), xdr_free(3),
    xdr_inline(3), xdrmem_create(3), xdr_opaque(3), xdr_union(3),
    xdr_vector(3), xdr_void(3)

    CLIX Programming Guide
















































  2                                              Intergraph Corporation - 2/94




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