Renesas Stub Generator V.1.00 Informations techniques Page 97

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 144
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 96
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 85 of 128
REJ10J1822-0101
6.7.2 SVRFUNC (Server Function Name)
Format:
[SVRFUNC]<replacement server function name>
Description:
RPCGEN replaces the name of the server function to be called by the server stub with a specific
name. Use SVRFUNC when the name of a function as called by the client does not match the
name of the function as called by the server.
SVRFUNC cannot be used with SVRSTUB.
Example:
Specification of a server function
int func(int par);
The function takes par as an input and returns a value of type int. func on the server, however, is
named func_main.
Definition of the server function
int ret = func([IN DFLT]int par)[SVRFUNC]func_main;
Vue de la page 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 143 144

Commentaires sur ces manuels

Pas de commentaire