write-op.h 557 Bytes
Newer Older
Matthieu Dorier's avatar
Matthieu Dorier committed
1 2 3 4 5 6 7 8 9 10 11 12
#ifndef __RPC_TYPE_WRITE_OP_H
#define __RPC_TYPE_WRITE_OP_H

#include <mercury.h>
#include <mercury_macros.h>
#include <mercury_proc_string.h>
#include <libmobject-store.h>
#include "src/io-chain/proc-write-actions.h"
#include "src/io-chain/proc-read-actions.h"
#include "src/io-chain/proc-read-responses.h"

MERCURY_GEN_PROC(write_op_in_t,
Matthieu Dorier's avatar
Matthieu Dorier committed
13 14
    ((hg_const_string_t)(client_addr))\
    ((hg_const_string_t)(pool_name))\
15
	((hg_const_string_t)(object_name))\
Matthieu Dorier's avatar
Matthieu Dorier committed
16 17 18 19 20
	((mobject_store_write_op_t)(write_op)))

MERCURY_GEN_PROC(write_op_out_t, ((int32_t)(ret)))

#endif