Section 5 Specifications of a Config File
Rev. 1.01 Mar. 17, 2008 Page 44 of 128
REJ10J1822-0101
5.6.2 CLNT_NOSHUTDOWN
Format:
CLNT_NOSHUTDOWN;
Description:
RPCGEN creates the following client-shutdown function in <config file>_clnt.c as the standard:
INT32 rpcclnt_<server name>_shutdown(UINT32 __ulRPCServerID, UINT32
__ulRPCServerVersion );
If the CLNT_NOSHUTDOWN statement is present, RPCGEN will not create the client-shutdown
function. Use CLNT_NOSHUTDOWN when the client-shutdown function is provided as part of
the application.
The client-shutdown function generated by RPCGEN calls rpc_disconnect() to disconnect the
client from the server. Although rpc_disconnect() generally allows specification of a callback
function to be executed at the time the client is disconnected from the server, no callback function
is specifiable for the client-shutdown function generated by RPCGEN. If you wish to use a
callback function, specify CLNT_NOSHUTDOWN and implement the client-shutdown function
on the user side.
In the current HI7200/MP specification, a callback function is ignored even if one has been
specified for rpc_disconnect().
Also refer to section 8.7, Client-Shutdown Function.
Example:
CLNT_NOSHUTDOWN;