Section 5 Specifications of a Config File
Rev. 1.01 Mar. 17, 2008 Page 43 of 128
REJ10J1822-0101
5.6 Client Information
The following definitions of client information are available.
• CLNT_NOINIT; The client-initialization function is not to be created.
• CLNT_NOSHUTDOWN; The client-shutdown function is not to be created.
• CLNT_CALLCHK; Facilitates saving the return value in RPC calls
• CLNT_SECTION{…}; Section name to be given to the client stub
5.6.1 CLNT_NOINIT
Format:
CLNT_NOINIT;
Description:
RPCGEN creates the following client-initialization function in <config file>_clnt.c as the
standard:
INT32 rpcclnt_<server name>_init(UINT32 __ulRPCServerID, UINT32
__ulRPCServerVersion );
If the CLNT_NOINIT statement is present, RPCGEN will not create the client-initialization
function. Use CLNT_NOINIT when the client-initialization function is provided as part of the
application. Also refer to section 8.6, Client-Initialization Function.
Example:
CLNT_NOINIT;