1
1

More late-night hacking -- add OMPI_EXPORT to the component struct in

every component.

This commit was SVN r2857.
Этот коммит содержится в:
Jeff Squyres 2004-09-24 10:42:55 +00:00
родитель 4d05abcf8e
Коммит 044d5da589
31 изменённых файлов: 31 добавлений и 0 удалений

Просмотреть файл

@ -27,6 +27,7 @@ const char *mca_coll_basic_component_version_string =
* and pointers to our public functions in it * and pointers to our public functions in it
*/ */
OMPI_EXPORT
const mca_coll_base_component_1_0_0_t mca_coll_basic_component = { const mca_coll_base_component_1_0_0_t mca_coll_basic_component = {
/* First, the mca_component_t struct containing meta information /* First, the mca_component_t struct containing meta information

Просмотреть файл

@ -27,6 +27,7 @@ const char *mca_coll_sm_component_version_string =
* and pointers to our public functions in it * and pointers to our public functions in it
*/ */
OMPI_EXPORT
const mca_coll_base_component_1_0_0_t mca_coll_sm_component = { const mca_coll_base_component_1_0_0_t mca_coll_sm_component = {
/* First, the mca_component_t struct containing meta information /* First, the mca_component_t struct containing meta information

Просмотреть файл

@ -29,6 +29,7 @@
/* /*
* Struct of function pointers that need to be initialized * Struct of function pointers that need to be initialized
*/ */
OMPI_EXPORT
mca_gpr_base_component_t mca_gpr_proxy_component = { mca_gpr_base_component_t mca_gpr_proxy_component = {
{ {
MCA_GPR_BASE_VERSION_1_0_0, MCA_GPR_BASE_VERSION_1_0_0,

Просмотреть файл

@ -34,6 +34,7 @@
/* /*
* Struct of function pointers that need to be initialized * Struct of function pointers that need to be initialized
*/ */
OMPI_EXPORT
mca_gpr_base_component_t mca_gpr_replica_component = { mca_gpr_base_component_t mca_gpr_replica_component = {
{ {
MCA_GPR_BASE_VERSION_1_0_0, MCA_GPR_BASE_VERSION_1_0_0,

Просмотреть файл

@ -26,6 +26,7 @@ static int delete_select(char *filename, struct ompi_info_t *info,
struct mca_io_base_delete_t *private_data); struct mca_io_base_delete_t *private_data);
OMPI_EXPORT
mca_io_base_component_1_0_0_t mca_io_romio_component = { mca_io_base_component_1_0_0_t mca_io_romio_component = {
/* First, the mca_base_component_t struct containing meta information /* First, the mca_base_component_t struct containing meta information
about the component itself */ about the component itself */

Просмотреть файл

@ -17,6 +17,7 @@
* Instantiate the public struct with all of our public information * Instantiate the public struct with all of our public information
* and pointers to our public functions in it * and pointers to our public functions in it
*/ */
OMPI_EXPORT
const mca_llm_base_component_1_0_0_t mca_llm_hostfile_component = { const mca_llm_base_component_1_0_0_t mca_llm_hostfile_component = {
/* First, the mca_module_t struct containing meta information /* First, the mca_module_t struct containing meta information

Просмотреть файл

@ -18,6 +18,7 @@ static int mca_mpool_sm_open(void);
static mca_mpool_base_module_t* mca_mpool_sm_init(bool *allow_multi_user_threads); static mca_mpool_base_module_t* mca_mpool_sm_init(bool *allow_multi_user_threads);
OMPI_EXPORT
mca_mpool_sm_component_t mca_mpool_sm_component = { mca_mpool_sm_component_t mca_mpool_sm_component = {
{ {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta

Просмотреть файл

@ -29,6 +29,7 @@
/* /*
* Struct of function pointers that need to be initialized * Struct of function pointers that need to be initialized
*/ */
OMPI_EXPORT
mca_ns_base_component_t mca_ns_proxy_component = { mca_ns_base_component_t mca_ns_proxy_component = {
{ {
MCA_NS_BASE_VERSION_1_0_0, MCA_NS_BASE_VERSION_1_0_0,

Просмотреть файл

@ -31,6 +31,7 @@
/* /*
* Struct of function pointers that need to be initialized * Struct of function pointers that need to be initialized
*/ */
OMPI_EXPORT
mca_ns_base_component_t mca_ns_replica_component = { mca_ns_base_component_t mca_ns_replica_component = {
{ {
MCA_NS_BASE_VERSION_1_0_0, MCA_NS_BASE_VERSION_1_0_0,

Просмотреть файл

@ -23,6 +23,7 @@
/* /*
* Struct of function pointers and all that to let us be initialized * Struct of function pointers and all that to let us be initialized
*/ */
OMPI_EXPORT
mca_oob_base_component_1_0_0_t mca_oob_cofs_component = { mca_oob_base_component_1_0_0_t mca_oob_cofs_component = {
{ {
MCA_OOB_BASE_VERSION_1_0_0, MCA_OOB_BASE_VERSION_1_0_0,

Просмотреть файл

@ -24,6 +24,7 @@
/* /*
* Struct of function pointers and all that to let us be initialized * Struct of function pointers and all that to let us be initialized
*/ */
OMPI_EXPORT
mca_pcm_base_component_1_0_0_t mca_pcm_bproc_component = { mca_pcm_base_component_1_0_0_t mca_pcm_bproc_component = {
{ {
MCA_PCM_BASE_VERSION_1_0_0, MCA_PCM_BASE_VERSION_1_0_0,

Просмотреть файл

@ -23,6 +23,7 @@
/* /*
* Struct of function pointers and all that to let us be initialized * Struct of function pointers and all that to let us be initialized
*/ */
OMPI_EXPORT
mca_pcm_base_component_1_0_0_t mca_pcm_ompid_component = { mca_pcm_base_component_1_0_0_t mca_pcm_ompid_component = {
{ {
MCA_PCM_BASE_VERSION_1_0_0, MCA_PCM_BASE_VERSION_1_0_0,

Просмотреть файл

@ -31,6 +31,7 @@ extern char **environ;
/* /*
* Struct of function pointers and all that to let us be initialized * Struct of function pointers and all that to let us be initialized
*/ */
OMPI_EXPORT
mca_pcm_base_component_1_0_0_t mca_pcm_rms_component = { mca_pcm_base_component_1_0_0_t mca_pcm_rms_component = {
{ {
MCA_PCM_BASE_VERSION_1_0_0, MCA_PCM_BASE_VERSION_1_0_0,

Просмотреть файл

@ -27,6 +27,7 @@
/* /*
* Struct of function pointers and all that to let us be initialized * Struct of function pointers and all that to let us be initialized
*/ */
OMPI_EXPORT
mca_pcm_base_component_1_0_0_t mca_pcm_rsh_component = { mca_pcm_base_component_1_0_0_t mca_pcm_rsh_component = {
{ {
MCA_PCM_BASE_VERSION_1_0_0, MCA_PCM_BASE_VERSION_1_0_0,

Просмотреть файл

@ -24,6 +24,7 @@
/* /*
* Struct of function pointers and all that to let us be initialized * Struct of function pointers and all that to let us be initialized
*/ */
OMPI_EXPORT
mca_pcm_base_component_1_0_0_t mca_pcm_wmi_component = { mca_pcm_base_component_1_0_0_t mca_pcm_wmi_component = {
{ {
MCA_PCM_BASE_VERSION_1_0_0, MCA_PCM_BASE_VERSION_1_0_0,

Просмотреть файл

@ -22,6 +22,7 @@
/* /*
* Struct of function pointers and all that to let us be initialized * Struct of function pointers and all that to let us be initialized
*/ */
OMPI_EXPORT
mca_pcmclient_base_component_1_0_0_t mca_pcmclient_env_component = { mca_pcmclient_base_component_1_0_0_t mca_pcmclient_env_component = {
{ {
MCA_PCMCLIENT_BASE_VERSION_1_0_0, MCA_PCMCLIENT_BASE_VERSION_1_0_0,

Просмотреть файл

@ -22,6 +22,7 @@
/* /*
* Struct of function pointers and all that to let us be initialized * Struct of function pointers and all that to let us be initialized
*/ */
OMPI_EXPORT
mca_pcmclient_base_component_1_0_0_t mca_pcmclient_rms_component = { mca_pcmclient_base_component_1_0_0_t mca_pcmclient_rms_component = {
{ {
MCA_PCMCLIENT_BASE_VERSION_1_0_0, MCA_PCMCLIENT_BASE_VERSION_1_0_0,

Просмотреть файл

@ -22,6 +22,7 @@
/* /*
* Struct of function pointers and all that to let us be initialized * Struct of function pointers and all that to let us be initialized
*/ */
OMPI_EXPORT
mca_pcmclient_base_component_1_0_0_t mca_pcmclient_seed_component = { mca_pcmclient_base_component_1_0_0_t mca_pcmclient_seed_component = {
{ {
MCA_PCMCLIENT_BASE_VERSION_1_0_0, MCA_PCMCLIENT_BASE_VERSION_1_0_0,

Просмотреть файл

@ -22,6 +22,7 @@
/* /*
* Struct of function pointers and all that to let us be initialized * Struct of function pointers and all that to let us be initialized
*/ */
OMPI_EXPORT
mca_pcmclient_base_component_1_0_0_t mca_pcmclient_singleton_component = { mca_pcmclient_base_component_1_0_0_t mca_pcmclient_singleton_component = {
{ {
MCA_PCMCLIENT_BASE_VERSION_1_0_0, MCA_PCMCLIENT_BASE_VERSION_1_0_0,

Просмотреть файл

@ -16,6 +16,7 @@
#include "pml_teg_proc.h" #include "pml_teg_proc.h"
OMPI_EXPORT
mca_pml_base_component_1_0_0_t mca_pml_teg_component = { mca_pml_base_component_1_0_0_t mca_pml_teg_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta

Просмотреть файл

@ -28,6 +28,7 @@
extern ompi_proc_t *ompi_proc_local_proc; extern ompi_proc_t *ompi_proc_local_proc;
OMPI_EXPORT
mca_ptl_elan_component_t mca_ptl_elan_component = { mca_ptl_elan_component_t mca_ptl_elan_component = {
{ {
/* Base module information about itself */ /* Base module information about itself */

Просмотреть файл

@ -26,6 +26,7 @@
#include "ptl_gm_req.h" #include "ptl_gm_req.h"
#include "ptl_gm_priv.h" #include "ptl_gm_priv.h"
OMPI_EXPORT
mca_ptl_gm_component_t mca_ptl_gm_component = { mca_ptl_gm_component_t mca_ptl_gm_component = {
{ {
/* First, the mca_base_component_t struct containing meta information /* First, the mca_base_component_t struct containing meta information

Просмотреть файл

@ -19,6 +19,7 @@
#include "ptl_ib_priv.h" #include "ptl_ib_priv.h"
OMPI_EXPORT
mca_ptl_ib_component_t mca_ptl_ib_component = { mca_ptl_ib_component_t mca_ptl_ib_component = {
{ {
/* First, the mca_base_component_t struct containing meta information /* First, the mca_base_component_t struct containing meta information

Просмотреть файл

@ -31,6 +31,7 @@ static struct mca_ptl_base_module_t** ptl_prof_component_init_fn(
bool *allow_multi_user_threads, bool *have_hidden_threads ); bool *allow_multi_user_threads, bool *have_hidden_threads );
static int ptl_prof_component_control_fn( int param, void* value, size_t size ); static int ptl_prof_component_control_fn( int param, void* value, size_t size );
OMPI_EXPORT
mca_ptl_prof_module_1_0_0_t mca_ptl_prof_component = { mca_ptl_prof_module_1_0_0_t mca_ptl_prof_component = {
{ {
/* First, the mca_base_module_t struct containing meta information /* First, the mca_base_module_t struct containing meta information

Просмотреть файл

@ -24,6 +24,7 @@
#include "mca/base/mca_base_module_exchange.h" #include "mca/base/mca_base_module_exchange.h"
#include "ptl_self.h" #include "ptl_self.h"
OMPI_EXPORT
mca_ptl_self_component_t mca_ptl_self_component = { mca_ptl_self_component_t mca_ptl_self_component = {
{ {
/* First, the mca_base_component_t struct containing meta information /* First, the mca_base_component_t struct containing meta information

Просмотреть файл

@ -41,6 +41,7 @@ static int mca_ptl_sm_component_exchange(void);
* Shared Memory (SM) component instance. * Shared Memory (SM) component instance.
*/ */
OMPI_EXPORT
mca_ptl_sm_component_t mca_ptl_sm_component = { mca_ptl_sm_component_t mca_ptl_sm_component = {
{ /* super is being filled in */ { /* super is being filled in */
/* First, the mca_base_component_t struct containing meta information /* First, the mca_base_component_t struct containing meta information

Просмотреть файл

@ -29,6 +29,7 @@
#include "ptl_tcp_sendreq.h" #include "ptl_tcp_sendreq.h"
OMPI_EXPORT
mca_ptl_tcp_component_t mca_ptl_tcp_component = { mca_ptl_tcp_component_t mca_ptl_tcp_component = {
{ {
/* First, the mca_base_module_t struct containing meta /* First, the mca_base_module_t struct containing meta

Просмотреть файл

@ -1,6 +1,7 @@
#include "svc_exec.h" #include "svc_exec.h"
OMPI_EXPORT
mca_svc_exec_component_t mca_svc_exec_component = { mca_svc_exec_component_t mca_svc_exec_component = {
{ {
/* First, the mca_base_module_t struct containing meta /* First, the mca_base_module_t struct containing meta

Просмотреть файл

@ -2,6 +2,7 @@
#include "util/proc_info.h" #include "util/proc_info.h"
OMPI_EXPORT
mca_svc_sched_component_t mca_svc_sched_component = { mca_svc_sched_component_t mca_svc_sched_component = {
{ {
/* First, the mca_base_module_t struct containing meta /* First, the mca_base_module_t struct containing meta

Просмотреть файл

@ -1,6 +1,7 @@
#include "svc_stdio.h" #include "svc_stdio.h"
OMPI_EXPORT
mca_svc_base_component_t mca_svc_stdio_component = { mca_svc_base_component_t mca_svc_stdio_component = {
/* First, the mca_base_module_t struct containing meta /* First, the mca_base_module_t struct containing meta
information about the module itself */ information about the module itself */

Просмотреть файл

@ -29,6 +29,7 @@ const char *mca_topo_unity_component_version_string =
* and finalize() are called during creation/destruction of a comm * and finalize() are called during creation/destruction of a comm
* ******************************************************************* * *******************************************************************
*/ */
OMPI_EXPORT
const mca_topo_base_component_1_0_0_t mca_topo_unity_component = const mca_topo_base_component_1_0_0_t mca_topo_unity_component =
{ {
{ {