prepare-read-op.h 642 Bytes
Newer Older
Matthieu Dorier's avatar
Matthieu Dorier committed
1 2 3 4 5 6 7 8 9 10 11
/*
 * (C) 2017 The University of Chicago
 * 
 * See COPYRIGHT in top-level directory.
 */
#ifndef __MOBJECT_PREPARE_READ_OP_H
#define __MOBJECT_PREPARE_READ_OP_H

#include <margo.h>
#include "libmobject-store.h"

12 13 14 15 16 17 18
/**
 * This function takes a read_op that was created by the client
 * and prepares it to be sent to a server. This means creating a bulk
 * handle that stiches together all the buffers that the user wants to use
 * as a destination, and replacing all pointers in the chain of actions
 * by offsets within the resulting hg_bultk_t object.
 */
Matthieu Dorier's avatar
Matthieu Dorier committed
19 20 21
void prepare_read_op(margo_instance_id mid, mobject_store_read_op_t read_op);

#endif