Renesas V.1.00 Computer Hardware User Manual


 
Section 5 Specifications of a Config File
Rev. 1.01 Mar. 17, 2008 Page 38 of 128
REJ10J1822-0101
5.5.8 SVR_AUTH
Format:
SVR_AUTH;
Description:
There are two ways to assign the server ID and server version.
(1) Model 1
Model 1 applies when SVR_AUTH has not been specified.
In this model, the application does not recognize the server ID or server version. The server ID
and server version are determined within the client and server stubs generated by RPCGEN.
Each of the client-stub functions has the same API as the original server function. Server IDs and
server version information passed to the following functions will be ignored.
Server-initialization function
Server-shutdown function
Client-initialization function
Client-shutdown function
RPCGEN outputs the definitions of the server ID and server version to <config file>_public.h.
Since the client-stub functions and server- and client- initialization and shutdown functions
generated by RPCGEN have include statements for <config file>_public.h, the server ID and
server version information is passed to the RPC library.
If RPCGEN-generated files for the client and server are from different generations, the RPC
library treats any RPC call as an error.