
1. header file and source file protections using #ifdef WIN32 2. new files and directories to support windows functionality 3. appropritate linkage symbols added (OMPI_DECLSPEC) for windows 4. some functions are unimplemented on the windows side. this is mostly because there might not be need to implement it in windows land. eg., forking a daemon off 5. Introduced locking mechanisms for windows This commit was SVN r3286.
20 строки
308 B
C
20 строки
308 B
C
#ifndef COMPONENT_H
|
|
#define COMPONENT_H
|
|
|
|
struct component;
|
|
struct module;
|
|
|
|
typedef struct module *(*component_query_fn_t)(int i);
|
|
|
|
struct component {
|
|
component_query_fn_t component_query_fn;
|
|
};
|
|
|
|
typedef void (*module_query_fn_t)(int i);
|
|
|
|
struct module {
|
|
module_query_fn_t module_query_fn;
|
|
};
|
|
|
|
#endif
|