30 HG_Version_get(
unsigned int *major,
unsigned int *minor,
unsigned int *patch);
105 void *in_struct,
void *out_struct,
hg_request_t *request);
132 unsigned int timeout,
hg_status_t array_of_statuses[]);
153 HG_EXPORT
const char *
HG_EXPORT hg_return_t HG_Wait(hg_request_t request, unsigned int timeout, hg_status_t *status)
Wait for an operation request to complete.
HG_EXPORT hg_return_t HG_Wait_all(int count, hg_request_t array_of_requests[], unsigned int timeout, hg_status_t array_of_statuses[])
Wait for all operations in array_of_requests to complete.
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.
HG_EXPORT hg_return_t HG_Request_free(hg_request_t request)
Free request and resources allocated when decoding the output.
HG_EXPORT hg_return_t HG_Init(na_class_t *na_class)
Initialize the Mercury layer.
HG_EXPORT hg_return_t HG_Initialized(hg_bool_t *flag, na_class_t **na_class)
Indicate whether HG_Init has been called and return associated network class.
HG_EXPORT hg_return_t HG_Version_get(unsigned int *major, unsigned int *minor, unsigned int *patch)
Get Mercury version number.
HG_EXPORT hg_return_t HG_Registered(const char *func_name, hg_bool_t *flag, hg_id_t *id)
Indicate whether HG_Register has been called and return associated ID.
hg_return_t(* hg_rpc_cb_t)(hg_handle_t handle)
HG_EXPORT hg_return_t HG_Forward(na_addr_t addr, hg_id_t id, void *in_struct, void *out_struct, hg_request_t *request)
Forward a call to a remote server.
enum hg_return hg_return_t
HG_EXPORT const char * HG_Error_to_string(hg_return_t errnum)
Convert error return code to string (null terminated).
HG_EXPORT hg_return_t HG_Finalize(void)
Finalize the Mercury layer.
hg_return_t(* hg_proc_cb_t)(hg_proc_t proc, void *in_struct)