root/ompi/mca/io/base/io_base_request.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. io_base_request_constructor

   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-2005 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-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * Copyright (c) 2006      Cisco Systems, Inc.  All rights reserved.
  13  * Copyright (c) 2008      Sun Microsystems, Inc.  All rights reserved.
  14  * $COPYRIGHT$
  15  *
  16  * Additional copyrights may follow
  17  *
  18  * $HEADER$
  19  */
  20 
  21 #include "ompi_config.h"
  22 
  23 #ifdef HAVE_SYS_TIME_H
  24 #include <sys/time.h>
  25 #endif
  26 #ifdef HAVE_UNISTD_H
  27 #include <unistd.h>
  28 #endif
  29 
  30 #include "opal/class/opal_object.h"
  31 #include "ompi/file/file.h"
  32 #include "opal/mca/base/base.h"
  33 #include "ompi/mca/io/base/base.h"
  34 #include "ompi/mca/io/base/io_base_request.h"
  35 
  36 
  37 /*
  38  * Private functions
  39  */
  40 static void io_base_request_constructor(mca_io_base_request_t *req)
  41 {
  42     req->super.req_type = OMPI_REQUEST_IO;
  43     req->free_called = false;
  44 }
  45 
  46 OBJ_CLASS_INSTANCE(mca_io_base_request_t,
  47                    ompi_request_t,
  48                    io_base_request_constructor,
  49                    NULL);

/* [<][>][^][v][top][bottom][index][help] */