Renesas V.1.00 Manuale Utente

Pagina di 142
Section 7   Server Functions Not Supported by RPCGEN 
Rev. 1.01  Mar. 17, 2008  Page 90 of 128 
REJ10J1822-0101 
 
(2) Multiple-level pointers 
RPCGEN only recognizes the first level of multiple-level pointers. 
Example: 
Specification of a server function 
int func(int **ptr); 
 
The function takes ptr, a pointer to a pointer to int-type data, as an input. 
Definition of the server function 
int ret = func([IN PTR] int **ptr); 
 
In this case, RPCGEN creates code to transfer *ptr from the client to the server. *ptr is a pointer 
to the target int-type data, but this data (**ptr) will not be transferred. 
(3) Function pointer 
RPCGEN does not support server functions whose parameters are pointers to functions.