Renesas Stub Generator V.1.00 Technical Information Seite 116

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 144
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 115
Section 8 Application Interface
Rev. 1.01 Mar. 17, 2008 Page 104 of 128
REJ10J1822-0101
8.9 <Config file>_public.h
The following macro definitions are output to <config file>_public.h.
#define RPCSVR_ID_<server name> <server ID>
#define RPCSVR_VERS_<server name> <server version>
<Server name>, <server ID>, and <server version> refer to the server name, server ID, and server
version defined with SVR_NAME, SVR_ID, and SVR_VERSION, respectively.
The position of <config file>_public.h depends on whether SVR_AUTH has been specified or not.
For details, refer to section 5.5.8, SVR_AUTH.
8.10 Local Variables Used in the Source Code Created by RPCGEN
In the source code of the client and server stubs, the names of local variables start with two
underscores ("__"). In the client and server stubs, on the other hand, RPCGEN uses the parameter
names specified in the definitions of server functions. For this reason, the parameter names
specified in the definitions of server functions must not start with two underscores ("__").
Seitenansicht 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 143 144

Kommentare zu diesen Handbüchern

Keine Kommentare