PLplot: ltdl_win32.h Source File

PLplot 5.10.0

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
ltdl_win32.h
Go to the documentation of this file.
1 // $Id: ltdl_win32.h 11970 2011-10-14 08:30:19Z airwin $
2 //
3 // Contains all prototypes for driver functions.
4 //
5 // Copyright (C) 2008 Werner Smekal
6 //
7 // This file is part of PLplot.
8 //
9 // PLplot is free software; you can redistribute it and/or modify
10 // it under the terms of the GNU Library General Public License as published
11 // by the Free Software Foundation; either version 2 of the License, or
12 // (at your option) any later version.
13 //
14 // PLplot is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU Library General Public License for more details.
18 //
19 // You should have received a copy of the GNU Library General Public License
20 // along with PLplot; if not, write to the Free Software
21 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 //
23 //
24
25 #ifndef __LTDL_WIN32_H__
26 #define __LTDL_WIN32_H__
27
28 #include <windows.h>
29 #include "pldll.h"
30
31 struct __dlhandle
32 {
33 HINSTANCE hinstLib;
34 struct __dlhandle* previousHandle;
35 };
36 typedef struct __dlhandle* lt_dlhandle;
37 typedef void lt_ptr;
38
39 PLDLLIMPEXP void lt_dlinit( void );
40
41 PLDLLIMPEXP void lt_dlexit( void );
42
43 PLDLLIMPEXP lt_dlhandle lt_dlopenext( char* dllname );
44
45 PLDLLIMPEXP const char* lt_dlerror();
46
47 PLDLLIMPEXP void* lt_dlsym( lt_dlhandle dlhandle, const char* symbol );
48
49 PLDLLIMPEXP int lt_dlmakeresident( lt_dlhandle handle );
50
51 #endif // __LTDL_WIN32_H__