comparison src/sysdll.h @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 8efd647ea9ca
children de805c49cfc1
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with XEmacs; see the file COPYING. If not, write to the Free 18 along with XEmacs; see the file COPYING. If not, write to the Free
19 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 19 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA. */ 20 02111-1307, USA. */
21 21
22 #ifndef _SYSDLL_H 22 #ifndef INCLUDED_sysdll_h_
23 #define _SYSDLL_H 23 #define INCLUDED_sysdll_h_
24 24
25 #ifdef __cplusplus 25 #ifdef __cplusplus
26 extern "C" { 26 extern "C" {
27 #endif 27 #endif
28 28
36 36
37 typedef void * dll_handle; 37 typedef void * dll_handle;
38 typedef void * dll_func; 38 typedef void * dll_func;
39 typedef void * dll_var; 39 typedef void * dll_var;
40 40
41 int dll_init(CONST char *); 41 int dll_init(const char *);
42 int dll_shutdown(void); 42 int dll_shutdown(void);
43 dll_handle dll_open(CONST char *); 43 dll_handle dll_open(const char *);
44 int dll_close(dll_handle); 44 int dll_close(dll_handle);
45 dll_func dll_function(dll_handle,CONST char *); 45 dll_func dll_function(dll_handle,const char *);
46 dll_var dll_variable(dll_handle,CONST char *); 46 dll_var dll_variable(dll_handle,const char *);
47 CONST char *dll_error(dll_handle); 47 const char *dll_error(dll_handle);
48 48
49 #ifdef __cplusplus 49 #ifdef __cplusplus
50 } 50 }
51 #endif 51 #endif
52 52
53 #endif /* _SYSDLL_H */ 53 #endif /* INCLUDED_sysdll_h_ */