Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 63 of 128
REJ10J1822-0101
6.6
Keywords for Data Types
Select one of the following four available keywords.
•
DFLT: Default
•
PTR:
Pointer
•
STR:
String
•
ARY: Array
When ARY is selected, the parameter for COUNT must also be specified.
6.6.1
DFLT (Default)
Input/Output Keywords Available for Use in Combination with DFLT:
IN
Description:
The parameter itself is transferred between the client and server. DFLT is only specifiable when
the parameter has any of the following types.
•
Integer (signed short, unsigned short, signed long, unsigned long, signed int, or unsigned int)
•
Character (signed char or unsigned char)
•
Real number (float or double)
•
Structure-type or union-type object that is not an array
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: ......