1 
   2 
   3 
   4 #if defined(c_plusplus) || defined(__cplusplus)
   5 extern "C" {
   6 #endif
   7 
   8 #include "ompi_config.h"
   9 
  10 OMPI_DECLSPEC int ompi_mpiext_init(void);
  11 OMPI_DECLSPEC int ompi_mpiext_fini(void);
  12 
  13 typedef int (*ompi_mpiext_init_fn_t)(void);
  14 typedef int (*ompi_mpiext_fini_fn_t)(void);
  15 
  16 struct ompi_mpiext_component_t {
  17     ompi_mpiext_init_fn_t init;
  18     ompi_mpiext_fini_fn_t fini;
  19 };
  20 typedef struct ompi_mpiext_component_t ompi_mpiext_component_t;
  21 
  22 #if defined(c_plusplus) || defined(__cplusplus)
  23 }
  24 #endif