forked from ocaml/flexdll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flexdll.h
42 lines (30 loc) · 824 Bytes
/
flexdll.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*****************************************************************
FlexDLL
Alain Frisch
Copyright 2007 Institut National de Recherche en Informatique et
en Automatique.
******************************************************************/
/* Header for the runtime support library */
#ifndef FLEXDLL_H
#define FLEXDLL_H
#include <wchar.h>
#define FLEXDLL_RTLD_GLOBAL 0x0001
#define FLEXDLL_RTLD_LOCAL 0x0000
#define FLEXDLL_RTLD_NOEXEC 0x0002
#ifdef __cplusplus
extern "C"
{
#endif
void *flexdll_dlopen(const char *, int);
#ifndef CYGWIN
void *flexdll_wdlopen(const wchar_t *, int);
#endif
void *flexdll_dlsym(void *, const char *);
void flexdll_dlclose(void *);
char *flexdll_dlerror(void);
void flexdll_dump_exports(void *);
void flexdll_dump_relocations(void *);
#ifdef __cplusplus
}
#endif
#endif