iv
5.4.3 CLNT_INCFILE................................................................................................. 30
5.4.4 SVR_INCFILE ................................................................................................... 31
5.5 Server Information..............................................................................................................32
5.5.1 SVR_NAME....................................................................................................... 32
5.5.2 SVR_ID .............................................................................................................. 33
5.5.3 SVR_VERSION ................................................................................................. 34
5.5.4 SVR_NOINIT..................................................................................................... 34
5.5.5 SVR_NOSTUBTBL ........................................................................................... 35
5.5.6 SVR_NOSHUTDOWN ...................................................................................... 36
5.5.7 SVR_STATIC..................................................................................................... 37
5.5.8 SVR_AUTH ....................................................................................................... 38
5.5.9 SVR_SECTION.................................................................................................. 42
5.6 Client Information ..............................................................................................................43
5.6.1 CLNT_NOINIT .................................................................................................. 43
5.6.2 CLNT_NOSHUTDOWN ................................................................................... 44
5.6.3 CLNT_CALLCHK ............................................................................................. 45
5.6.4 CLNT_SECTION ............................................................................................... 46
5.7 Server Functions ................................................................................................................. 47
5.7.1 RPC_FUNC ........................................................................................................ 47
Section 6 Definitions of Server Functions.............................................................49
6.1 Format................................................................................................................................. 49
6.2 Function-Type Directives ................................................................................................... 52
6.2.1 Function with a Return Value............................................................................. 52
6.2.2 Function without a Return Value........................................................................ 53
6.2.3 When the Return Value is not Representable as a 4-Byte Integer ...................... 54
6.3 Function Names..................................................................................................................55
6.4 Parameters........................................................................................................................... 56
6.5 Keywords for Input/Output................................................................................................. 57
6.5.1 IN (Input)............................................................................................................ 57
6.5.2 OUT (Output) ..................................................................................................... 58
6.5.3 INOUT (Input and Output)................................................................................. 59
6.5.4 REF (Passing by Reference)............................................................................... 60
6.5.5 DESC (Specified Parameter is not Passed from the Client to the Server) .......... 62
6.6 Keywords for Data Types................................................................................................... 63
6.6.1 DFLT (Default)................................................................................................... 63
6.6.2 STR (String)........................................................................................................ 64
6.6.3 PTR (Pointer)...................................................................................................... 65
6.6.4 ARY (Array)....................................................................................................... 66
6.6.5 COUNT (Number of Elements in an Array)....................................................... 67