Main Page | Modules | Data Structures | File List | Globals | Examples

Format-handling and other common items


Functions

int CMrpc_register_rpc_format (CManager cm, const char *rpc_name, IOFieldList in_field_list, CMFormatList in_subformats, IOFieldList out_field_list, CMFormatList out_subformats)
void CMrpc_shutdown ()

Variables

int CMrpc_errno

Function Documentation

int CMrpc_register_rpc_format CManager  cm,
const char *  rpc_name,
IOFieldList  in_field_list,
CMFormatList  in_subformats,
IOFieldList  out_field_list,
CMFormatList  out_subformats
 

Input and output message formats are registered using this function. Used from both client and server sides.

Parameters:
cm The CManager in use.
rpc_name The RPC for which this format is to be registered.
in_field_list An IOFieldList for the RPC input format.
in_subformats A CMFormatList for the RPC input format.
out_field_list An IOFieldList for the RPC output format.
out_subformats A CMFormatList for the RPC output format.
Returns:
Returns 1 if successful, -1 if not (and sets CMrpc_errno).
See also:
CM (CMFormatList), PBIO (IOFieldList) documentation.
Examples:
ts.c.

void CMrpc_shutdown  ) 
 

Used to terminate RPC services and release all resources.

Examples:
ts.c.


Variable Documentation

int CMrpc_errno
 

The CMrpc errno. Contains a CMrpc-specific error code from errno.h.


Generated on Thu Oct 14 18:34:49 2004 for CMrpc by  doxygen 1.3.9.1