
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 85 of 128
REJ10J1822-0101
6.7.2
SVRFUNC (Server Function Name)
Format:
[SVRFUNC]<replacement server function name>
Description:
RPCGEN replaces the name of the server function to be called by the server stub with a specific
name. Use SVRFUNC when the name of a function as called by the client does not match the
name of the function as called by the server.
SVRFUNC cannot be used with SVRSTUB.
Example:
Specification of a server function
int func(int par);
The function takes par as an input and returns a value of type int. func on the server, however, is
named func_main.
Definition of the server function
int ret = func([IN DFLT]int par)
[SVRFUNC]func_main
;
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: ......