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