Section 5 Specifications of a Config File
Rev. 1.01 Mar. 17, 2008 Page 45 of 128
REJ10J1822-0101
5.6.3
CLNT_CALLCHK
Format:
CLNT_CALLCHK;
Description:
RPCGEN creates the following code in <config file>_clnt.c to facilitate saving of the return values
of RPC calls (rpc_call() or rpc_call_copycbk()) and outputs the API of *rpc_retval_adr() in
<config file>_clnt.h.
*rpc_retval_adr() = rpc_call(...);
rpc_retval_adr() must be implemented by the user. If this definition is omitted, the following code,
which discards the return value of an RPC call, will be created.
rpc_call(...);
For how to implement rpc_retval_adr(), refer to section 8.8, rpc_retval_adr().
Example:
CLNT_CALLCHK;
Summary of Contents for Stub Generator REJ10J1822-0101
Page 4: ......
Page 6: ......
Page 12: ...vi ...
Page 16: ...Section 2 Installation Rev 1 01 Mar 17 2008 Page 4 of 128 REJ10J1822 0101 ...
Page 34: ...Section 4 Executing RPCGEN Rev 1 01 Mar 17 2008 Page 22 of 128 REJ10J1822 0101 ...
Page 60: ...Section 5 Specifications of a Config File Rev 1 01 Mar 17 2008 Page 48 of 128 REJ10J1822 0101 ...
Page 118: ...Section 9 Notes Rev 1 01 Mar 17 2008 Page 106 of 128 REJ10J1822 0101 ...
Page 131: ...Section 11 Samples Rev 1 01 Mar 17 2008 Page 119 of 128 REJ10J1822 0101 ...
Page 140: ...Section 11 Samples Rev 1 01 Mar 17 2008 Page 128 of 128 REJ10J1822 0101 ...
Page 143: ......