
Section 5 Specifications of a Config File
Rev. 1.01 Mar. 17, 2008 Page 23 of 128
REJ10J1822-0101
Section 5 Specifications of a Config File
A config file contains definitions used for creation of the client and server stubs. Specifically, such
definitions are made by appending keywords for passing to RPCGEN to the API of the server
functions (as described in section 6, Definitions of Server Functions). Read this section carefully
before creating your own config file. The extension for config files is “.x.”
One config file corresponds to the definition of one server. Do not attempt to define multiple
servers within a single config file.
5.1
Definition
Definitions must be written in either of the following formats.
<keyword>{...};
<keyword>;
For certain definitions, two or more items can be entered between the braces {...}.
Example:
GLOBAL_INCFILE { “types.h” “rpc_public.h” };
A config file can include the following definitions.
(1) Locations where the files created by RPCGEN will be stored
•
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
(2) Controlling output of the #include directive to the files created by RPCGEN
•
GLOBAL_INCFILE{…};
Include file common to the client and server stubs
•
CLNT_INCFILE{…};
Include file for the client stub
•
SVR_INCFILE{…};
Include file for the server stub
Содержание Stub Generator REJ10J1822-0101
Страница 4: ......
Страница 6: ......
Страница 12: ...vi ...
Страница 16: ...Section 2 Installation Rev 1 01 Mar 17 2008 Page 4 of 128 REJ10J1822 0101 ...
Страница 34: ...Section 4 Executing RPCGEN Rev 1 01 Mar 17 2008 Page 22 of 128 REJ10J1822 0101 ...
Страница 60: ...Section 5 Specifications of a Config File Rev 1 01 Mar 17 2008 Page 48 of 128 REJ10J1822 0101 ...
Страница 104: ...Section 7 Server Functions Not Supported by RPCGEN Rev 1 01 Mar 17 2008 Page 92 of 128 REJ10J1822 0101 ...
Страница 118: ...Section 9 Notes Rev 1 01 Mar 17 2008 Page 106 of 128 REJ10J1822 0101 ...
Страница 131: ...Section 11 Samples Rev 1 01 Mar 17 2008 Page 119 of 128 REJ10J1822 0101 ...
Страница 140: ...Section 11 Samples Rev 1 01 Mar 17 2008 Page 128 of 128 REJ10J1822 0101 ...
Страница 143: ......
Страница 144: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan Stub Generator V 1 00 REJ10J1822 0101 User s Manual ...