1 /*
2 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3 * University Research and Technology
4 * Corporation. All rights reserved.
5 * Copyright (c) 2004-2006 The University of Tennessee and The University
6 * of Tennessee Research Foundation. All rights
7 * reserved.
8 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9 * University of Stuttgart. All rights reserved.
10 * Copyright (c) 2004-2006 The Regents of the University of California.
11 * All rights reserved.
12 * $COPYRIGHT$
13 *
14 * Additional copyrights may follow
15 *
16 * $HEADER$
17 */
18
19 #include "ompi_config.h"
20
21 #include "pml_cm.h"
22 #include "pml_cm_request.h"
23
24
25 static void mca_pml_cm_request_construct( mca_pml_cm_request_t* req) {
26 OBJ_CONSTRUCT(&req->req_convertor, opal_convertor_t);
27 req->req_ompi.req_type = OMPI_REQUEST_PML;
28 }
29
30 static void mca_pml_cm_request_destruct( mca_pml_cm_request_t* req) {
31 OBJ_DESTRUCT(&req->req_convertor);
32 }
33
34 OBJ_CLASS_INSTANCE(mca_pml_cm_request_t,
35 ompi_request_t,
36 mca_pml_cm_request_construct,
37 mca_pml_cm_request_destruct);