C.2. RPC Definitions

graphics/cfig02.gif

C.2.1 Program-Definition

graphics/cfig03.gif

C.2.1.1 Version

graphics/cfig04.gif

C.2.1.2 Procedure

graphics/cfig05.gif

C.2.2 Const-Definition

graphics/cfig06.gif

C.2.3 Enum-Definition

graphics/cfig07.gif

C.2.3.1 Enum-Value-List

graphics/cfig08.gif

C.2.3.2 Enum value

graphics/cfig09.gif

C.2.4 Typedef-Definition

graphics/cfig10.gif

C.2.4.1 Declaration [2]

[2] These are type declarations, not variable declarations (e.g., int my_number ), which are unsupported by rpcgen .

graphics/cfig11.gif

C.2.4.2 Simple Declaration

graphics/cfig12.gif

C.2.4.3 Fixed-Array Declaration

graphics/cfig13.gif

C.2.4.4 Variable-Array Declaration [3]

[3] The integer value in angle brackets indicates a maximum size or, if empty, an array of any size .

graphics/cfig14.gif

C.2.4.5 Pointer Declaration [4]

[4] Not actually an address. Technically called optional-data; often used for references to linked structures.

graphics/cfig15.gif

C.2.5 Structure-Definition

graphics/cfig16.gif

C.2.6 Union-Definition [5]

[5] In RPC, unions are closer in syntax (and spirit) to variant records in Pascal are than standard C/C++ unions.

graphics/cfig17.gif

C.2.6.1 Case-List

graphics/cfig18.gif

Programs and Processes

Processing Environment

Using Processes

Primitive Communications

Pipes

Message Queues

Semaphores

Shared Memory

Remote Procedure Calls

Sockets

Threads

Appendix A. Using Linux Manual Pages

Appendix B. UNIX Error Messages

Appendix C. RPC Syntax Diagrams

Appendix D. Profiling Programs



Interprocess Communication in Linux
Interprocess Communications in Linux: The Nooks and Crannies
ISBN: 0130460427
EAN: 2147483647
Year: 2001
Pages: 136

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net