beautypg.com

9 _public.h – Renesas Stub Generator V.1.00 User Manual

Page 116

background image

Section 8 Application Interface

Rev. 1.01 Mar. 17, 2008 Page 104 of 128

REJ10J1822-0101

8.9

_public.h

The following macro definitions are output to _public.h.

#define RPCSVR_ID_

#define RPCSVR_VERS_

, , and refer to the server name, server ID, and server
version defined with SVR_NAME, SVR_ID, and SVR_VERSION, respectively.

The position of _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 ("__").

This manual is related to the following products: