2 files generated by rpcgen – Renesas Stub Generator V.1.00 User Manual
Page 19
Section 3 Functions and Files Generated by RPCGEN
Rev. 1.01 Mar. 17, 2008 Page 7 of 128
REJ10J1822-0101
3.2
Files Generated by RPCGEN
RPCGEN generates the files listed in table 3.1 in accord with the name of the config file.
Table 3.1
Files Generated by RPCGEN
Filename
Description
Definition of the File Location
Client-stub source file
CLNTS option or
CLNT_SOURCEPATH in the config file
Client-stub header file
Internal header file for the
client stub
CLNTI option or CLNT_INCPATH in
the config file
Server-stub source file
SVRS option or SVR_SOURCEPATH
in the config file
Server-stub header file
SVRI option or SVR_INCPATH in the
config file
Header file for the client and
server stubs
PUBI option or PUB_INCPATH in the
config file
When the config file is “sample.x,” for example, RPCGEN will generate the following files:
sample_clnt.c, sample_clnt.h, sample_svr.c, sample_svr.h, sample_private.h, and sample_public.h.
To temporarily save information during the process of file generation, RPCGEN also generates
intermediate files in the current directory. The names of these intermediate files consist of two
underscores (“__”) appended before the filenames given in the table above.
(1)
This file contains the client-stub functions, client-initialization function, and client-shutdown
function.
(2)
This file contains definitions required for use of the client-stub functions, client-initialization
function, and client-shutdown function. The definitions include prototype declarations of the
client-stub functions, client-initialization function, and client-shutdown function.