types.h 585 Bytes
Newer Older
Matthieu Dorier's avatar
Matthieu Dorier committed
1 2 3 4 5
#ifndef PARAM_H
#define PARAM_H

#include <mercury.h>
#include <mercury_macros.h>
6 7 8 9
#include <mercury_proc_string.h>
#include <libmobject-store.h>
#include "src/proc-write-actions.h"
#include "src/proc-read-actions.h"
10
#include "src/proc-read-responses.h"
Matthieu Dorier's avatar
Matthieu Dorier committed
11

12 13
MERCURY_GEN_PROC(write_op_in_t,
	((hg_string_t)(object_name))\
14
	((mobject_store_write_op_t)(write_op)))
Matthieu Dorier's avatar
Matthieu Dorier committed
15

16 17 18 19
MERCURY_GEN_PROC(write_op_out_t, ((int32_t)(ret)))

MERCURY_GEN_PROC(read_op_in_t,
	((hg_string_t)(object_name))\
20
	((mobject_store_read_op_t)(read_op)))
21

22
MERCURY_GEN_PROC(read_op_out_t, ((read_response_t)(responses)))
Matthieu Dorier's avatar
Matthieu Dorier committed
23 24

#endif