Mercury
Macros
mercury_macros.h File Reference
#include "mercury.h"
#include "mercury_handler.h"
#include "mercury_proc.h"
Include dependency graph for mercury_macros.h:

Go to the source code of this file.

Macros

#define MERCURY_REGISTER(func_name, in_struct_type_name, out_struct_type_name, rpc_cb)
 
#define hg_proc_void   NULL
 

Macro Definition Documentation

#define MERCURY_REGISTER (   func_name,
  in_struct_type_name,
  out_struct_type_name,
  rpc_cb 
)
Value:
HG_Register(func_name, hg_proc_ ## in_struct_type_name, \
hg_proc_ ## out_struct_type_name, rpc_cb)
HG_EXPORT hg_id_t HG_Register(const char *func_name, hg_proc_cb_t in_proc_cb, hg_proc_cb_t out_proc_cb, hg_rpc_cb_t rpc_cb)
Register a function name that can be sent using the RPC layer.

Definition at line 555 of file mercury_macros.h.

#define hg_proc_void   NULL

Definition at line 565 of file mercury_macros.h.