Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
sds-keyval
Commits
2e12be36
Commit
2e12be36
authored
Oct 10, 2017
by
David Rich
Committed by
Rob Latham
Nov 22, 2017
Browse files
Fix typo garbage.
parent
a5c19eb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sds-keyval.h
View file @
2e12be36
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment