Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 57 of 128
REJ10J1822-0101
6.5
Keywords for Input/Output
The following three keywords are available for setting the input/output attributes of parameters.
•
IN:
Input
•
OUT: Output
•
INOUT:
Input and output
The following optional keywords can also be attached to the keywords listed above (note,
however, that REF and DESC cannot be used at the same time).
•
REF:
Passing by reference
•
DESC:
The parameter is not passed from the client to the server
Each of these keywords, specified with one of the data-type keywords listed in section 6.6, works
as a declaration of the subsequent parameter specification.
6.5.1
IN (Input)
Description:
This keyword defines a parameter as an input to the server function. The parameter is transferred
from the client to the server and is then passed to the server function.
Example:
Specification of a server function
int func(int par);
The function takes par as an input and returns a value of type int.
Definition of the server function
int ret = func([
IN
DFLT]int par);
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: ......