beautypg.com

3 svr_version, 4 svr_noinit – Renesas Stub Generator V.1.00 User Manual

Page 46

background image

Section 5 Specifications of a Config File

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

REJ10J1822-0101

5.5.3

SVR_VERSION

Format:

SVR_VERSION {};

Description:

This statement defines the server version. The server version can only be specified as a 4-byte
integer constant that can be represented as UINT32 or a C-language macro name to be replaced by
such a 4-byte integer constant. If a C-language macro is used, this macro must have been defined
in a file specified by GLOBAL_INCFILE.

The server version is output to _public.h in the following format.

#define RPCSVR_VERS_

SVR_VERSION cannot be omitted if SVR_AUTH has been omitted. Also refer to section 5.5.8,
SVR_AUTH.

Example:

SVR_VERSION{1UL};

5.5.4

SVR_NOINIT

Format:

SVR_NOINIT;

Description:

If this statement is present, RPCGEN will not create the server-initialization function. Use
SVR_NOINIT when the server-initialization function is provided as part of the application. Also
refer to sections 8.3, Server-Initialization Function, and 8.4, Server-Stub Function Table.

Example:

SVR_NOINIT;

This manual is related to the following products: