2004-01-14 03:42:02 +00:00
|
|
|
/*
|
2004-11-22 01:38:40 +00:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
* All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
* All rights reserved.
|
2004-11-28 20:09:25 +00:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2004-11-22 01:38:40 +00:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
2004-01-14 03:42:02 +00:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
2004-03-26 14:15:20 +00:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
*/
|
2004-03-11 22:02:01 +00:00
|
|
|
#ifndef MCA_PTL_BASE_RECVFRAG_H
|
|
|
|
#define MCA_PTL_BASE_RECVFRAG_H
|
2004-01-14 03:42:02 +00:00
|
|
|
|
2004-03-17 18:45:16 +00:00
|
|
|
#include "mca/ptl/ptl.h"
|
2005-05-09 19:37:10 +00:00
|
|
|
#include "mca/ptl/base/ptl_base_recvreq.h"
|
2004-03-17 18:45:16 +00:00
|
|
|
#include "mca/ptl/base/ptl_base_fragment.h"
|
|
|
|
#include "mca/ptl/base/ptl_base_match.h"
|
2004-01-14 03:42:02 +00:00
|
|
|
|
2004-10-20 22:31:03 +00:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2005-07-03 16:06:07 +00:00
|
|
|
OMPI_DECLSPEC extern opal_class_t mca_ptl_base_recv_frag_t_class;
|
2004-01-14 03:42:02 +00:00
|
|
|
|
2004-03-26 14:15:20 +00:00
|
|
|
/**
|
|
|
|
* Base type for receive fragment descriptors.
|
|
|
|
*/
|
2004-02-03 21:33:29 +00:00
|
|
|
struct mca_ptl_base_recv_frag_t {
|
2004-07-15 18:08:20 +00:00
|
|
|
mca_ptl_base_frag_t frag_base; /**< base fragment descriptor */
|
2005-05-09 19:37:10 +00:00
|
|
|
mca_ptl_base_recv_request_t *frag_request; /**< matched posted receive */
|
2004-03-26 14:15:20 +00:00
|
|
|
bool frag_is_buffered; /**< does fragment need to be unpacked into users buffer */
|
2004-02-03 21:33:29 +00:00
|
|
|
};
|
|
|
|
typedef struct mca_ptl_base_recv_frag_t mca_ptl_base_recv_frag_t;
|
2004-01-14 03:42:02 +00:00
|
|
|
|
2004-10-20 22:31:03 +00:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
2004-08-02 00:24:22 +00:00
|
|
|
|
2004-01-14 03:42:02 +00:00
|
|
|
#endif
|
|
|
|
|