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

/net/hp45/pmw/mware/cmrpc/cmrpc.h File Reference

#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include "atl.h"
#include "gen_thread.h"
#include "cm.h"

Go to the source code of this file.

Data Structures

struct  CMrpc_options

Defines

#define CMrpc_set_option(X, OPT)   ((X)->flags |= (OPT))
#define CMrpc_clear_option(X, OPT)   ((X)->flags &= ~(OPT))
#define CMrpc_call_cleanup_function   (0x1)
#define CMrpc_async_call   (0x1)

Typedefs

typedef void(* CMrpc_HandlerFunc )(void *in_param_msg, void *out_param_msg, CMrpc_options options)
typedef void(* CMrpc_OnewayHandlerFunc )(void *in_param_msg, CMrpc_options options)
typedef void(* CMrpc_HandlerCleanupFunc )(CManager cm, void *out_msg)
typedef _CMrpc_ticket_struct * CMrpc_ticket

Functions

int CMrpc_register_rpc_handler (CManager cm, const char *rpc_name, CMrpc_HandlerFunc func, CMrpc_OnewayHandlerFunc oneway_func, CMrpc_HandlerCleanupFunc cleanup_func)
int CMrpc_unregister_rpc (const char *rpc_name)
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 ()
CMrpc_ticket CMrpc_call_rpc (CManager cm, const char *rpc_name, attr_list contact_info, void *in_data, void *out_data, unsigned long flags)
void CMrpc_call_rpc_oneway (CManager cm, const char *rpc_name, attr_list contact_info, void *in_data, unsigned long flags)
int CMrpc_register_rpc_contact_info (CManager cm, const char *rpc_name, attr_list contact_info)
CMrpc_ticket CMrpc_call_anon_rpc (CManager cm, const char *rpc_name, attr_list target_spec, IOContext anon_in_context, void *in_data, IOContext anon_out_context, void *out_data, unsigned long flags)
int CMrpc_redeem_ticket (CManager cm, CMrpc_ticket ticket, void *out_data, int wait)

Variables

typedef CMrpc_options_t
int CMrpc_errno


Detailed Description


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