write-op.h 473 Bytes
Newer Older
Matthieu Dorier's avatar
Matthieu Dorier committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#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,
	((hg_string_t)(object_name))\
	((mobject_store_write_op_t)(write_op)))

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

#endif