|
|
This appendix describes the RPC library header files. It lists the header files used by the RPC library.
You should include rpc.h, which pulls in all the necessary header files for an RPC application program. If the user wants to interface to the portmapper, pmapclnt.h must be included explicitly.
The header files used by the RPC library are listed below:
| Header File | Description |
| auth.h | Interface to generic authentication routines included by rpc.h automatically. |
| authunix.h | Interface to UNIX type authentication routines included by rpc.h automatically. |
| clnt.h | Interface to routines required by RPC clients included by rpc.h automatically. |
| pmapclnt.h | Interface to portmapper services for clients and servers. |
| pmapprot.h | Describes the portmapper protocol. |
| pmaprmt.h | Interface to portmapper remote call service. |
| rpc.h | Includes the necessary header files for an RPC client or server.
This is the main header file that must be included by user programs. It pulls in these header files: xdrtypes.h auth.h authunix.h svcauth.h inet.h clnt.h rpcmsc.h netdb.h xdr.h rpcmsg.h svc.h |
| rpcget.h | Internal interface file required by routines of the RPC library. / This file is not required by users to interface to the RPC library. |
| rpcmsc.h | Internal interface header file for miscellaneous routines; included by rpc.h automatically. |
| rpcmsg.h | Definition of the RPC message format included by rpc.h automatically. |
| svc.h | Interface required by RPC servers; included by rpc.h automatically (Also see svcrpc.h).
Due to a conflicting include filename for the SAS/C compiler, the file is renamed to svcrpc.h. |
| svcauth.h | Interface to server side RPC authentication included by rpc.h automatically. |
| svccall.h | Internal interface definitions not seen externally by the RPC library. |
| svcrpc.h | Interface required by RPC servers; included by rpc.h automatically.
This file is normally called svc.h. Due to a conflicting include filename for the SAS/C compiler, this include file has been renamed to svcrpc.h. |
| svctcp.h | Internal interface definition for RPC servers using TCP as the transport mechanism. / Not required by users of the RPC library. |
| xrd.h | Interface definition of external data representation serialization routines; included by rpc.h automatically. |
| xdrrst.h | Internal interface definition for record formatting when using a byte stream protocol such as TCP. / Not required to be included by a user's RPC program. |
| xdrtypes.h | Addition types required by the RPC library routines and definitions of RPC error message numbers; included by rpc.h automatically. |
|
|