root/ompi/mca/fbtl/pvfs2/fbtl_pvfs2.h

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

INCLUDED FROM


   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-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * Copyright (c) 2008-2014 University of Houston. All rights reserved.
  13  * Copyright (c) 2018      Research Organization for Information Science
  14  *                         and Technology (RIST). All rights reserved.
  15  * $COPYRIGHT$
  16  *
  17  * Additional copyrights may follow
  18  *
  19  * $HEADER$
  20  */
  21 
  22 #ifndef MCA_FBTL_PVFS2_H
  23 #define MCA_FBTL_PVFS2_H
  24 
  25 #include "ompi_config.h"
  26 #include "ompi/mca/mca.h"
  27 #include "ompi/mca/fbtl/fbtl.h"
  28 #include "ompi/mca/common/ompio/common_ompio.h"
  29 #include "ompi/mca/fs/pvfs2/fs_pvfs2.h"
  30 #include "pvfs2.h"
  31 #include "pvfs2-compat.h"
  32 
  33 /*
  34 #ifdef HAVE_PVFS2_H
  35 #include "pvfs2.h"
  36 #endif
  37 
  38 #ifdef PVFS2_VERSION_MAJOR
  39 #include "pvfs2-compat.h"
  40 #endif
  41 */
  42 extern int mca_fbtl_pvfs2_priority;
  43 
  44 BEGIN_C_DECLS
  45 
  46 int mca_fbtl_pvfs2_component_init_query(bool enable_progress_threads,
  47                                         bool enable_mpi_threads);
  48 struct mca_fbtl_base_module_1_0_0_t *
  49 mca_fbtl_pvfs2_component_file_query (ompio_file_t *file, int *priority);
  50 int mca_fbtl_pvfs2_component_file_unquery (ompio_file_t *file);
  51 
  52 int mca_fbtl_pvfs2_module_init (ompio_file_t *file);
  53 int mca_fbtl_pvfs2_module_finalize (ompio_file_t *file);
  54 
  55 OMPI_MODULE_DECLSPEC extern mca_fbtl_base_component_2_0_0_t mca_fbtl_pvfs2_component;
  56 /*
  57  * ******************************************************************
  58  * ********* functions which are implemented in this module *********
  59  * ******************************************************************
  60  */
  61 
  62 ssize_t mca_fbtl_pvfs2_preadv (ompio_file_t *file);
  63 ssize_t mca_fbtl_pvfs2_pwritev (ompio_file_t *file);
  64 ssize_t mca_fbtl_pvfs2_ipreadv (ompio_file_t *file,
  65                                ompi_request_t **request);
  66 ssize_t mca_fbtl_pvfs2_ipwritev (ompio_file_t *file,
  67                                ompi_request_t **request);
  68 
  69 /*
  70  * ******************************************************************
  71  * ************ functions implemented in this module end ************
  72  * ******************************************************************
  73  */
  74 
  75 END_C_DECLS
  76 
  77 #endif /* MCA_FBTL_PVFS2_H */

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