
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
<config file>_clnt.c
Client-stub source file
CLNTS option or
CLNT_SOURCEPATH in the config file
<config file>_clnt.h
Client-stub header file
<config file>_private.h
Internal header file for the
client stub
CLNTI option or CLNT_INCPATH in
the config file
<config file>_svr.c
Server-stub source file
SVRS option or SVR_SOURCEPATH
in the config file
<config file>_svr.h
Server-stub header file
SVRI option or SVR_INCPATH in the
config file
<config file>_public.h
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) <config file>_clnt.c (client-stub source file)
This file contains the client-stub functions, client-initialization function, and client-shutdown
function.
(2) <config file>_clnt.h (client-stub header file)
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.
Содержание Stub Generator REJ10J1822-0101
Страница 4: ......
Страница 6: ......
Страница 12: ...vi ...
Страница 16: ...Section 2 Installation Rev 1 01 Mar 17 2008 Page 4 of 128 REJ10J1822 0101 ...
Страница 34: ...Section 4 Executing RPCGEN Rev 1 01 Mar 17 2008 Page 22 of 128 REJ10J1822 0101 ...
Страница 60: ...Section 5 Specifications of a Config File Rev 1 01 Mar 17 2008 Page 48 of 128 REJ10J1822 0101 ...
Страница 104: ...Section 7 Server Functions Not Supported by RPCGEN Rev 1 01 Mar 17 2008 Page 92 of 128 REJ10J1822 0101 ...
Страница 118: ...Section 9 Notes Rev 1 01 Mar 17 2008 Page 106 of 128 REJ10J1822 0101 ...
Страница 131: ...Section 11 Samples Rev 1 01 Mar 17 2008 Page 119 of 128 REJ10J1822 0101 ...
Страница 140: ...Section 11 Samples Rev 1 01 Mar 17 2008 Page 128 of 128 REJ10J1822 0101 ...
Страница 143: ......
Страница 144: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan Stub Generator V 1 00 REJ10J1822 0101 User s Manual ...