PLplot: ltdl_win32.h Source File

PLplot 5.15.0

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