/[ascend]/trunk/base/generic/utilities/test/test_ascDynaLoad_shlib.h
ViewVC logotype

Contents of /trunk/base/generic/utilities/test/test_ascDynaLoad_shlib.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 60 - (show annotations) (download) (as text)
Mon Oct 31 03:39:15 2005 UTC (18 years, 7 months ago) by jds
File MIME type: text/x-chdr
File size: 614 byte(s)
- jam build up and limping on Linux (finally).
- fixes to CUnit test suite to compile on Linux (still not operable, though).
1 #ifndef TEST_ASCDYNALOAD_SHLIB_H_SEEN
2 #define TEST_ASCDYNALOAD_SHLIB_H_SEEN
3
4 typedef int valuetype;
5 typedef int (*initFunc)(void);
6 typedef int (*isInitializedFunc)(void);
7 typedef void (*cleanupFunc)(void);
8
9 #ifndef __WIN32__
10 #define DLEXPORT
11 #endif
12
13 /** A public datum. */
14 extern int DLEXPORT value;
15
16 /** Initializes the library. Returns -5. */
17 int DLEXPORT init(void);
18 /** Returns TRUE if library has been initialized, FALSE otherwise. */
19 int DLEXPORT isInitialized(void);
20 /** Cleans up the library. */
21 void DLEXPORT cleanup(void);
22
23 #endif /* TEST_ASCDYNALOAD_SHLIB_H_SEEN */

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22