Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
xdr_enum() z/OS Communications Server: IP Programmer's Guide and Reference SC27-3659-02 |
|
Format
Parameters
UsageThe xdr_enum() call translates between
C-enumerated groups and their external representation. When calling
the procedures callrpc() and registerrpc(), a stub procedure must
be created for both the server and the client before the procedure
of the application program using xdr_enum(). This procedure should
look like the following:
The xdr_enum_t procedure is used as the inproc
and outproc in both the client and server RPCs. For example:
Return codesThe value 1 indicates success; the value 0 indicates an error. Context
|
Copyright IBM Corporation 1990, 2014
|