Renesas V.1.00 Computer Hardware User Manual


 
Section 8 Application Interface
Rev. 1.01 Mar. 17, 2008 Page 104 of 128
REJ10J1822-0101
8.9 <Config file>_public.h
The following macro definitions are output to <config file>_public.h.
#define RPCSVR_ID_<server name> <server ID>
#define RPCSVR_VERS_<server name> <server version>
<Server name>, <server ID>, and <server version> refer to the server name, server ID, and server
version defined with SVR_NAME, SVR_ID, and SVR_VERSION, respectively.
The position of <config file>_public.h depends on whether SVR_AUTH has been specified or not.
For details, refer to section 5.5.8, SVR_AUTH.
8.10 Local Variables Used in the Source Code Created by RPCGEN
In the source code of the client and server stubs, the names of local variables start with two
underscores ("__"). In the client and server stubs, on the other hand, RPCGEN uses the parameter
names specified in the definitions of server functions. For this reason, the parameter names
specified in the definitions of server functions must not start with two underscores ("__").