Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 76 of 128
REJ10J1822-0101
Example 6
Specification of a server function
int func(struct INF *inf, struct ST *ptr, int *p_count);
ptr points to an array for output and inf indicates other input information. It has a type-int
member count, which indicates the number of elements in the array pointed to by ptr. func
outputs the return parameter *p_count as the number of elements.
Definition of the server function
int ret = func([IN PTR]struct INF *inf, [OUT ARY]struct ST *ptr,
[
COUNT
]inf->count, [
COUNT
]*p_count, [OUT PTR]int *p_count);
Example 7
Specification of a server function
int func(struct INF *inf, struct ST *ptr);
ptr points to an array for output and inf indicates other input information. It has a type-int
member count, which indicates the number of elements in the array pointed to by ptr. func
outputs all inf -> count elements.
Definition of the server function
int ret = func([IN PTR]struct INF *inf, [OUT ARY]struct ST *ptr,
[
COUNT
]inf->count, [
COUNT
]inf->count );
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: ......