1 |
/* ASCEND modelling environment |
2 |
Copyright (C) 2006 Carnegie Mellon University |
3 |
|
4 |
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 |
typedef int valuetype; |
26 |
typedef int (*initFunc)(void); |
27 |
typedef int (*isInitializedFunc)(void); |
28 |
typedef void (*cleanupFunc)(void); |
29 |
|
30 |
/** A public datum. */ |
31 |
ASC_DLLSPEC int value; |
32 |
|
33 |
/** Initializes the library. Returns -5. */ |
34 |
ASC_DLLSPEC int init(void); |
35 |
/** Returns TRUE if library has been initialized, FALSE otherwise. */ |
36 |
ASC_DLLSPEC int isInitialized(void); |
37 |
/** Cleans up the library. */ |
38 |
ASC_DLLSPEC void cleanup(void); |
39 |
|
40 |
#endif /* TEST_ASCDYNALOAD_SHLIB_H */ |