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:
- Macro definitions
- Data type definitions
- Structure definitions
- Function prototypes
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:
|
You can display a header file in QSYSINC by using one of the following methods:
- Using your editor. For example, to display the netconfig.h
header file using the Source Entry Utility editor, enter the following command:
STRSEU SRCFILE(QSYSINC/H) SRCMBR(NETCONFIG) OPTION(5)
- Using the Display Physical File Member command. For example, to display the
rpc/rpc.h header file, enter the following command:
DSPPFM FILE(QSYSINC/RPC) MBR(RPC)
You can print a header file in QSYSINC by using one of the following methods:
- Using your editor. For example, to print the netdir.h
header file using the Source Entry Utility editor, enter the following command:
STRSEU SRCFILE(QSYSINC/H) SRCMBR(netdir) OPTION(6)
- Using the Copy File command. For example, to print the
rpc/rpc.h header file, enter the following command:
CPYF FROMFILE(QSYSINC/RPC) TOFILE(*PRINT) FROMMBR(RPC)
[ Back to top | Remote Procedure Call (RPC) APIs | APIs by category ]