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) 2008 Cisco Systems, Inc. All rights reserved. 13 * Copyright (c) 2008-2011 University of Houston. All rights reserved. 14 * Copyright (c) 2018 Research Organization for Information Science 15 * and Technology (RIST). All rights reserved. 16 * $COPYRIGHT$ 17 * 18 * Additional copyrights may follow 19 * 20 * $HEADER$ 21 */ 22 23 /** 24 * @file 25 * 26 * MCA fbtl base framework public interface functions. 27 */ 28 29 #ifndef MCA_FBTL_BASE_H 30 #define MCA_FBTL_BASE_H 31 32 #include "ompi_config.h" 33 34 #include "mpi.h" 35 #include "opal/mca/base/base.h" 36 #include "ompi/mca/common/ompio/common_ompio.h" 37 #include "ompi/mca/fbtl/fbtl.h" 38 39 40 BEGIN_C_DECLS 41 42 OMPI_DECLSPEC int mca_fbtl_base_file_select(struct ompio_file_t *file, 43 mca_base_component_t *preferred); 44 45 OMPI_DECLSPEC int mca_fbtl_base_file_unselect(struct ompio_file_t *file); 46 47 OMPI_DECLSPEC int mca_fbtl_base_find_available(bool enable_progress_threads, 48 bool enable_mpi_threads); 49 50 OMPI_DECLSPEC int mca_fbtl_base_init_file (struct ompio_file_t *file); 51 52 OMPI_DECLSPEC int mca_fbtl_base_get_param (struct ompio_file_t *file, int keyval); 53 /* 54 * Globals 55 */ 56 57 OMPI_DECLSPEC extern mca_base_framework_t ompi_fbtl_base_framework; 58 59 END_C_DECLS 60 61 #endif /* MCA_BASE_FBTL_H */