beautypg.com

3 clntstub (client stub) – Renesas Stub Generator V.1.00 User Manual

Page 98

background image

Section 6 Definitions of Server Functions

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

REJ10J1822-0101

6.7.3

CLNTSTUB (Client Stub)

Format:

[CLNTSTUB]

Description:

A client stub provided by the user is to be used, so RPCGEN does not create a client stub.

Example:

Specification of a server function

int func(int par);

The function takes par as an input and returns a value of type int. RPCGEN will not create a
client stub for func because the user will provide this client stub.

Definition of the server function

int ret = func([IN DFLT]int par)[CLNTSTUB];

This manual is related to the following products: