Renesas Stub Generator V.1.00 Informacje Techniczne Strona 122

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 144
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 121
Section 11 Samples
Rev. 1.01 Mar. 17, 2008 Page 110 of 128
REJ10J1822-0101
11.1 Config File (sample.x)
/**********************************************************************
File Header Comment : Sample Config File for RPCGEN
**********************************************************************/
PUB_INCPATH {"include"}; // Output path for xxx_public.h
SVR_SOURCEPATH {"server"}; // Output path xxx_svr.c
SVR_INCPATH {"server"}; // Output path xxx_svr.h
CLNT_SOURCEPATH {"client"}; // Output path xxx_clnt.c
CLNT_INCPATH {"client"}; // Output path xxx_clnt.h and
xxx_private.h
GLOBAL_INCFILE {<stdlib.h> "kernel.h"};
// Include files for xxx_svr.c and xxx_clnt.c
//SVR_INCFILE {"..." "..."}; // Include files for xxx_svr.c
//CLNT_INCFILE {"..." "..."}; // Include files for xxx_clnt.c
SVR_NAME {SMPL}; // Server name
SVR_ID {1}; // Server ID
SVR_VERSION {2}; // Server version
// SVR_AUTH; // How to authenticate
// SVR_NOINIT; // Don't generate server initialize function
// SVR_NOSTUBTBL; // Don't generate server stub function table
// SVR_NOSHUTDOWN; // Don't generate server shutdown function
// SVR_STATIC {size, section}; // Use static server
SVR_SECTION {C_SAMPLE}; // Section name for server stubs
// CLNT_NOINIT; // Don't generate client initialize function
// CLNT_NOSHUTDOWN; // Don't generate server shutdown function
CLNT_CALLCHK; // Save return value of RPC-call
CLNT_SECTION{C_SAMPLE}; // Section name for client stubs
RPC_FUNC // Define server functions
Przeglądanie stron 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 143 144

Komentarze do niniejszej Instrukcji

Brak uwag