1 order of #include directives – Renesas Stub Generator V.1.00 User Manual

Page 41

Advertising
background image

Section 5 Specifications of a Config File

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

REJ10J1822-0101

5.4.1

Order of #Include Directives

RPCGEN outputs #include directives to files in the following order.

(1) <config file>_clnt.c

1. Default include files (in the order given in table 5.1)

2. File(s) defined with GLOBAL_INCFILE (in the order of file definition)

3. File(s) defined with CLNT_INCFILE (in the order of file definition)

4. <config file>_public.h generated by RPCGEN (only if SVR_AUTH has not been defined)

5. <config file>_clnt.h generated by RPCGEN

6. <config file>_private.h generated by RPCGEN

(2) <config file>_svr.c

1. Default include files (in the order given in table 5.1)

2. File(s) defined with GLOBAL_INCFILE (in the order of file definition)

3. File(s) defined with SVR_INCFILE (in the order of file definition)

4. <config file>_public.h generated by RPCGEN (only if SVR_AUTH has not been defined)

5. <config file>_svr.h generated by RPCGEN

Advertising
This manual is related to the following products: