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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 592 - (hide annotations) (download) (as text)
Fri May 12 09:50:57 2006 UTC (14 years, 10 months ago) by johnpye
File MIME type: text/x-chdr
File size: 1387 byte(s)
Working on adding some more export symbols, for purpose of getting Jerry's test suite to work with SCons build.
1 johnpye 485 /* ASCEND modelling environment
2     Copyright (C) 2006 Carnegie Mellon University
3 jds 59
4 johnpye 485 This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation; either version 2, or (at your option)
7     any later version.
8    
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12     GNU General Public License for more details.
13    
14     You should have received a copy of the GNU General Public License
15     along with this program; if not, write to the Free Software
16     Foundation, Inc., 59 Temple Place - Suite 330,
17     Boston, MA 02111-1307, USA.
18     */
19    
20     #ifndef TEST_ASCDYNALOAD_SHLIB_H
21     #define TEST_ASCDYNALOAD_SHLIB_H
22    
23     #include <utilities/ascConfig.h>
24    
25 jds 59 typedef int valuetype;
26     typedef int (*initFunc)(void);
27     typedef int (*isInitializedFunc)(void);
28     typedef void (*cleanupFunc)(void);
29    
30     /** A public datum. */
31 johnpye 490 ASC_DLLSPEC(int) value;
32 jds 59
33     /** Initializes the library. Returns -5. */
34 johnpye 592 ASC_DLLSPEC(int) init(void);
35 jds 59 /** Returns TRUE if library has been initialized, FALSE otherwise. */
36 johnpye 592 ASC_DLLSPEC(int) isInitialized(void);
37 jds 59 /** Cleans up the library. */
38 johnpye 592 ASC_DLLSPEC(void) cleanup(void);
39 jds 59
40 johnpye 485 #endif /* TEST_ASCDYNALOAD_SHLIB_H */

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