my-rpc.h 439 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
/*
 * (C) 2015 The University of Chicago
 * 
 * See COPYRIGHT in top-level directory.
 */

#ifndef __MY_RPC
#define __MY_RPC

10
#include <margo.h>
11 12 13 14 15 16 17

/* visible API for example RPC operation */

MERCURY_GEN_PROC(my_rpc_out_t, ((int32_t)(ret)))
MERCURY_GEN_PROC(my_rpc_in_t,
    ((int32_t)(input_val))\
    ((hg_bulk_t)(bulk_handle)))
18
DECLARE_MARGO_RPC_HANDLER(my_rpc_ult)
19

20 21
DECLARE_MARGO_RPC_HANDLER(my_rpc_shutdown_ult)

22
#endif /* __MY_RPC */