/* * 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. * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ /** * @file */ #ifndef MCA_BMI_BASE_H #define MCA_BMI_BASE_H #include "ompi_config.h" #include "class/ompi_list.h" #include "mca/mca.h" #include "mca/bmi/bmi.h" #if defined(c_plusplus) || defined(__cplusplus) extern "C" { #endif struct mca_bmi_base_selected_module_t { ompi_list_item_t super; mca_bmi_base_component_t *bmi_component; mca_bmi_base_module_t *bmi_module; }; typedef struct mca_bmi_base_selected_module_t mca_bmi_base_selected_module_t; OBJ_CLASS_DECLARATION(mca_bmi_base_selected_module_t); /* * Global functions for MCA: overall BMI open and close */ OMPI_DECLSPEC int mca_bmi_base_open(void); OMPI_DECLSPEC int mca_bmi_base_select(bool enable_progress_threads, bool enable_mpi_threads); OMPI_DECLSPEC int mca_bmi_base_close(void); /* * Globals */ OMPI_DECLSPEC extern int mca_bmi_base_output; OMPI_DECLSPEC extern char* mca_bmi_base_include; OMPI_DECLSPEC extern char* mca_bmi_base_exclude; OMPI_DECLSPEC extern ompi_list_t mca_bmi_base_components_opened; OMPI_DECLSPEC extern ompi_list_t mca_bmi_base_modules_initialized; #if defined(c_plusplus) || defined(__cplusplus) } #endif #endif /* MCA_BMI_BASE_H */