Section 5 Specifications of a Config File
Rev. 1.01 Mar. 17, 2008 Page 25 of 128
REJ10J1822-0101
5.3 File Locations
Use the statements listed below to define paths to the files generated by RPCGEN. If these
definitions are omitted, RPCGEN will generate the source or header files in the current directory.
If a definition is otherwise correct but the defined path does not exist or the directory already
contains read-only files, RPCGEN displays an error message and terminates the processing.
The following definitions of file locations are available.
PUB_INCPATH{…}; Path to <config file>_public.h
CLNT_SOURCEPATH{…}; Path to <config file>_clnt.c
CLNT_INCPATH{…}; Path to <config file>_clnt.h and <config file>_private.h
SVR_SOURCEPATH{…}; Path to <config file>_svr.c
SVR_INCPATH{…}; Path to <config file>_svr.h
5.3.1 PUB_INCPATH
Format:
PUB_INCPATH{"<path>"};
Description:
This statement defines the path under which <config file>_public.h will be generated. When the
PUBI option is used, a definition of PUB_INCPATH is ignored.
Example:
PUB_INCPATH{"public_include"};
<config file>_public.h will be generated in the public_include directory under the current
directory.