Renesas V.1.00 Manuale Utente

Pagina di 142
Section 8   Application Interface 
Rev. 1.01  Mar. 17, 2008  Page 98 of 128 
REJ10J1822-0101 
 
(3) With SVR_NOSTUBTBL and without SVR_NOINIT 
RPCGEN does not generate the server-stub function table but does generate the server-
initialization function. RPCGEN assumes that the server-stub function table shown below is 
provided in the application and outputs the server-initialization function, which externally refers to 
the table, to <config file>_svr.c.  
UINT32 (* const __rpcsvr_<server name>_StubTable[]) 
(rpc_server_stub_info *) = 
<server-stub function name>, 
<server-stub function name>, 
}; 
 
<Server name> refers to the server name defined with SVR_NAME. 
(4) With SVR_NOSTUBTBL and SVR_NOINIT 
RPCGEN generates neither a server-initialization function nor a server-stub function table, so they 
must be provided in the application.