Next: Interface declaration by example
Up: Interface declarations in the
Previous: Interface declarations in the
A powerRPC IDL files may contain the following components,
- C preprocessor pseudo-ops, such as #include.
powerRPC will pass the IDL file through CPP before
performing its own parsing. It also defines a macro
POWERRPC_COMPILE by itself when invoking CPP.
- type declarations, as described in chapter 1.
- A single interface declaration which specifies the RPC functions.
This must appear after all type declarations.
- copy-out statements. These are arbitrary text followed by a
leading %. They are copied AS IS to the header file generated by
powerRPC. Those appear before the interface declaration are
prepended to the header file, and those appear after are appended
to the header file.
Interface declaration...
Copyright (C) Netbula LLC, 1996