1
1
openmpi/ompi/mpiext/mpiext.h
Brian Barrett 6ae9790d19 * Add option of init/fini hooks for MPI extensions to be called at the end of
MPI_INIT and start of MPI_FINALIZE.
* Clean up MPI Extensions build system to acknowledge that OMPI's the only
  project with extensions, as well as remove some build artifacts necessary
  for more general components.

This commit was SVN r23616.
2010-08-17 04:44:22 +00:00

23 строки
484 B
C

/*
* $HEADER$
*/
#if defined(c_plusplus) || defined(__cplusplus)
extern "C" {
#endif
OMPI_DECLSPEC int ompi_mpiext_init(void);
OMPI_DECLSPEC int ompi_mpiext_fini(void);
typedef int (*ompi_mpiext_init_fn_t)(void);
typedef int (*ompi_mpiext_fini_fn_t)(void);
struct ompi_mpiext_component_t {
ompi_mpiext_init_fn_t init;
ompi_mpiext_fini_fn_t fini;
};
typedef struct ompi_mpiext_component_t ompi_mpiext_component_t;
#if defined(c_plusplus) || defined(__cplusplus)
}
#endif