Commit 2e12be36 authored by David Rich's avatar David Rich Committed by Rob Latham
Browse files

Fix typo garbage.

parent a5c19eb5
......@@ -63,33 +63,25 @@ typedef struct kv_context_s {
MERCURY_GEN_PROC(put_in_t,
((int32_t)(key))\
((int32_t)(value)) )
MERCURY_GEN_PROC(put_out_t, ((int32_t)(ret)) )
DECLARE_MARGO_RPC_HANDLER(put_handler)
MERCURY_GEN_PROC(get_in_t,
((int32_t)(key)) )
MERCURY_GEN_PROC(get_out_t,
((int32_t)(value)) ((int32_t)(ret)) )
DECLARE_MARGO_RPC_HANDLER(get_handler)
MERCURY_GEN_PROC(open_in_t,
((hg_string_t)(name)) \
((uint32_t) (keytype)) \
((uint32_t) (valtype)))
MERCURY_GEN_PROC(open_out_t, ((int32_t)(ret)))
KV_ALLOWDUP=0x010,
DECLARE_MARGO_RPC_HANDLER(open_handler)
MERCURY_GEN_PROC(close_in_t,
((int32_t)(x)) \
((int32_t)(y)) )
MERCURY_GEN_PROC(close_out_t, ((int32_t)(ret)) )
DECLARE_MARGO_RPC_HANDLER(close_handler)
......@@ -128,11 +120,14 @@ MERCURY_GEN_PROC(bulk_get_out_t,
((int32_t)(ret)))
DECLARE_MARGO_RPC_HANDLER(bulk_get_handler)
kv_context *kv_client_register(const char *addr_str=0);
kv_context * kv_server_register(margo_instance_id mid);
DECLARE_MARGO_RPC_HANDLER(shutdown_handler)
DECLARE_MARGO_RPC_HANDLER(shutdown_handler)
/* both the same: should probably move to common */
hg_return_t kv_client_deregister(kv_context *context);
hg_return_t kv_server_deregister(kv_context *context);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment