Manuale UtenteSommarioCover1Notes regarding these materials3Preface5Contents7Section 1 Overview111.1 Overview111.2 Operating Environment12Section 2 Installation132.1 Downloading132.2 Installing RPCGEN13Section 3 Functions and Files Generated by RPCGEN153.1 Functions Generated by RPCGEN153.1.1 Client163.1.2 Server163.2 Files Generated by RPCGEN17Section 4 Executing RPCGEN194.1 Executing RPCGEN194.2 Options204.2.1 PUBI204.2.2 CLNTS204.2.3 CLNTI204.2.4 SVRS214.2.5 SVRI214.3 Executing RPCGEN as a Build Phase in the High-performance Embedded Workshop22Section 5 Specifications of a Config File335.1 Definition335.2 Comments345.3 File Locations355.3.1 PUB_INCPATH355.3.2 CLNT_SOURCEPATH365.3.3 CLNT_INCPATH365.3.4 SVR_SOURCEPATH375.3.5 SVR_INCPATH375.4 Controlling the Output of #include Directives385.4.1 Order of #Include Directives395.4.2 GLOBAL_INCFILE405.4.3 CLNT_INCFILE405.4.4 SVR_INCFILE415.5 Server Information425.5.1 SVR_NAME425.5.2 SVR_ID435.5.3 SVR_VERSION445.5.4 SVR_NOINIT445.5.5 SVR_NOSTUBTBL455.5.6 SVR_NOSHUTDOWN465.5.7 SVR_STATIC475.5.8 SVR_AUTH485.5.9 SVR_SECTION525.6 Client Information535.6.1 CLNT_NOINIT535.6.2 CLNT_NOSHUTDOWN545.6.3 CLNT_CALLCHK555.6.4 CLNT_SECTION565.7 Server Functions575.7.1 RPC_FUNC57Section 6 Definitions of Server Functions596.1 Format596.2 Function-Type Directives626.2.1 Function with a Return Value626.2.2 Function without a Return Value636.2.3 When the Return Value is not Representable as a 4-Byte Integer646.3 Function Names656.4 Parameters666.5 Keywords for Input/Output676.5.1 IN (Input)676.5.2 OUT (Output)686.5.3 INOUT (Input and Output)696.5.4 REF (Passing by Reference)706.5.5 DESC (Specified Parameter is not Passed from the Client to the Server)726.6 Keywords for Data Types736.6.1 DFLT (Default)736.6.2 STR (String)746.6.3 PTR (Pointer)756.6.4 ARY (Array)766.6.5 COUNT (Number of Elements in an Array)776.7 Optional Keywords936.7.1 SVRSTUB (Server Stub)946.7.2 SVRFUNC (Server Function Name)956.7.3 CLNTSTUB (Client Stub)966.7.4 UNACK (Asynchronous Call)976.7.5 CLNTCOPYCBK (RPC Call by rpc_call_copycbk())98Section 7 Server Functions Not Supported by RPCGEN997.1 Parameter997.2 Return Value101Section 8 Application Interface1038.1 Client-Stub Functions Generated by RPCGEN1038.2 Server-Stub Functions Generated by RPCGEN1058.3 Server-Initialization Function1068.4 Server-Stub Function Table1078.5 Server-Shutdown Function1098.6 Client-Initialization Function1108.7 Client-Shutdown Function1118.8 rpc_retval_adr()1128.9 <Config file>_public.h1148.10 Local Variables Used in the Source Code Created by RPCGEN114Section 9 Notes115Section 10 Error Messages11710.1 Format11710.2 General11810.3 Definition Errors (other than RPC_FUNC)11810.4 Definition Errors (RPC_FUNC)118Section 11 Samples11911.1 Config File (sample.x)12011.2 sample_clnt.h12211.3 sample_private.h12311.4 sample_clnt.c12411.5 sample_svr.h13011.6 sample_svr.c13211.7 sample_public.h137Colophon139Dimensioni: 1000 KBPagine: 142Language: EnglishApri il manuale