beautypg.com

6 svr_noshutdown – Renesas Stub Generator V.1.00 User Manual

Page 48

background image

Section 5 Specifications of a Config File

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

REJ10J1822-0101

5.5.6

SVR_NOSHUTDOWN

Format:

SVR_NOSHUTDOWN;

Description:

If this statement is present, RPCGEN will not create the server-shutdown function. Use
SVR_NOSHUTDOWN when the server-shutdown function is provided as part of the application.

The server-shutdown function generated by RPCGEN calls rpc_stop_server() to stop the server.
Although rpc_stop_server() generally allows specification of a callback function to be executed at
the time the server is stopped, no callback function is specifiable for the server-shutdown function
generated by RPCGEN. If you wish to use a callback function, specify SVR_NOSHUTDOWN
and implement the server-shutdown function on the user side.

Also refer to section 8.5, Server-Shutdown Function.

Example:

SVR_NOSHUTDOWN;

This manual is related to the following products: