beautypg.com

Renesas Stub Generator V.1.00 User Manual

Page 82

background image

Section 6 Definitions of Server Functions

Rev. 1.01 Mar. 17, 2008 Page 70 of 128

REJ10J1822-0101

Example 5

Specification of a server function

int func(struct INF *inf, struct ST *ptr);

ptr points to an array to be given to the server function 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.

Definition of the server function

int ret = func([IN PTR]struct INF *inf, [IN ARY]struct ST *ptr,

[COUNT]inf->count);

This manual is related to the following products: