read-op-impl.h 732 Bytes
Newer Older
1 2 3 4 5 6 7 8
/*
 * (C) 2017 The University of Chicago
 * 
 * See COPYRIGHT in top-level directory.
 */
#ifndef __MOBJECT_READ_OP_H
#define __MOBJECT_READ_OP_H

9
#include <margo.h>
10
#include "mobject-store-config.h"
11
#include "libmobject-store.h"
12 13
#include "read-actions.h"

14 15 16 17 18 19 20 21
/**
 * This object represents a handler for a list of actions
 * to perform on a particular object.
 * "ready" indicates that the object is ready to be
 * sent to be used for bulk transfers: all pointers
 * have been converted into an offset in a bulk handle.
 * It can therefore be sent to a server and processed.
 */
22
struct mobject_store_read_op {
23
	int              ready;
24 25
	hg_bulk_t        bulk_handle;
	size_t           num_actions;
26 27 28 29
	rd_action_base_t actions;
};

#endif