Header Files for Remote Procedure Call APIs

Programs using the Remote Procedure Call (RPC) APIs must include <rpc/rpc.h> and one or more additional header files that contain information needed by the functions, such as:

The header files are provided in the QSYSINC library, which is optionally installable. Make sure QSYSINC is on your system before compiling programs that use these header files. For information about installing the QSYSINC library, see Include files and the QSYSINC library.

The table below shows the file and member name in the QSYSINC library for each header file used by the TI-RPC APIs in the Information Center.

Name of Header File Name of File
in QSYSINC
Name of Member
netconfig.h 1 H NETCONFIG
netdir.h 2 H NETDIR
tirpccom.h H TIRPCCOM
rpc/auth.h RPC AUTH
rpc/auth_sys.h RPC AUTH_SYS
rpc/auth_unix.h RPC AUTH_UNIX
rpc/clnt.h RPC CLNT
rpc/rpc.h RPC RPC
rpc/rpc_com.h RPC RPC_COM
rpc/rpc_msg.h RPC RPC_MSG
rpc/rpcb_clnt.h RPC RPCB_CLNT
rpc/rpcb_prot.h RPC RPCB_PROT
rpc/types.h RPC TYPES
rpc/svc.h RPC SVC
rpc/svc_auth.h RPC SVC_AUTH
rpc/xdr.h RPC XDR
Note:
  1. The member netconfig.h in the H file in the QSYSINC library is used by the Network Selection functions.

  2. The member netdir.h in the H file in the QSYSINC library is used by the Name-to-Address Translation functions.

You can display a header file in QSYSINC by using one of the following methods:

You can print a header file in QSYSINC by using one of the following methods:


[ Back to top | Remote Procedure Call (RPC) APIs | APIs by category ]