Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
bake
Commits
d5199990
Commit
d5199990
authored
May 07, 2016
by
Philip Carns
Browse files
in/out structs for write rpc
parent
6e1956f2
Changes
1
Show whitespace changes
Inline
Side-by-side
src/bake-bulk-rpc.h
View file @
d5199990
...
@@ -26,10 +26,18 @@ MERCURY_GEN_PROC(bake_bulk_create_out_t,
...
@@ -26,10 +26,18 @@ MERCURY_GEN_PROC(bake_bulk_create_out_t,
((
bake_bulk_region_id_t
)(
rid
)))
((
bake_bulk_region_id_t
)(
rid
)))
DECLARE_MARGO_RPC_HANDLER
(
bake_bulk_create_ult
)
DECLARE_MARGO_RPC_HANDLER
(
bake_bulk_create_ult
)
/* TODO: where should these live? Not in bake-bulk-rpc.c because we don't
/* bulk write */
* really need the rpc handlers to be linked into clients...
MERCURY_GEN_PROC
(
bake_bulk_write_in_t
,
*/
((
bake_target_id_t
)(
bti
))
\
((
bake_bulk_region_id_t
)(
rid
))
\
((
uint64_t
)(
region_offset
))
\
((
hg_bulk_t
)(
bulk_handle
)))
MERCURY_GEN_PROC
(
bake_bulk_write_out_t
,
((
int32_t
)(
ret
)))
/* TODO: where should the encoder defs live? Not in bake-bulk-rpc.c because
* we don't really need the rpc handlers to be linked into clients...
*/
static
inline
hg_return_t
hg_proc_bake_bulk_region_id_t
(
hg_proc_t
proc
,
bake_bulk_region_id_t
*
rid
)
static
inline
hg_return_t
hg_proc_bake_bulk_region_id_t
(
hg_proc_t
proc
,
bake_bulk_region_id_t
*
rid
)
{
{
/* TODO: update later depending on final region_id_t type */
/* TODO: update later depending on final region_id_t type */
...
...
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