Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 49 of 128
REJ10J1822-0101
Section 6 Definitions of Server Functions
6.1
Format
Server functions must be defined in one of the following formats.
(1) <specification of the return value> <variable to be returned> =
<function name>(<parameter>, ...)[<option>
Δ
...];
(2) <function name> (<parameter>, ...)[<option>
Δ
...];
(3) <directive to extend the return value><specification of the return
value> <variable to be returned> = <function name>(<parameter>, ...)
[<option>
Δ
...];
RPCGEN keywords enclosed by [] are specified in <parameter>, <option>, and <directive to
extend the return value>.
Example 1:
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);
Description
•
Directive to extend the return value:
None
•
Specification of the return value:
int ret =
•
Function
name:
func
•
Parameter
directive:
[IN
DFLT]
•
Parameter specification:
int par
•
Option:
None
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: ......