summaryrefslogtreecommitdiffstats
path: root/addons/library.xbmc.addon/dlfcn-win32.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2015-03-03 16:53:59 +0100
committermanuel <manuel@mausz.at>2015-03-03 16:53:59 +0100
commitffca21f2743a7b367fa212799c6e2fea6190dd5d (patch)
tree0608ea3a29cf644ec9ab204e2b4bb9bfaae1c381 /addons/library.xbmc.addon/dlfcn-win32.h
downloadkodi-pvr-build-ffca21f2743a7b367fa212799c6e2fea6190dd5d.tar.gz
kodi-pvr-build-ffca21f2743a7b367fa212799c6e2fea6190dd5d.tar.bz2
kodi-pvr-build-ffca21f2743a7b367fa212799c6e2fea6190dd5d.zip
initial commit for kodi master
Diffstat (limited to 'addons/library.xbmc.addon/dlfcn-win32.h')
-rw-r--r--addons/library.xbmc.addon/dlfcn-win32.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/addons/library.xbmc.addon/dlfcn-win32.h b/addons/library.xbmc.addon/dlfcn-win32.h
new file mode 100644
index 0000000..b93a029
--- /dev/null
+++ b/addons/library.xbmc.addon/dlfcn-win32.h
@@ -0,0 +1,46 @@
1#pragma once
2/*
3 * dlfcn-win32
4 * Copyright (c) 2007 Ramiro Polla
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21#ifndef DLFCN_H
22#define DLFCN_H
23
24/* POSIX says these are implementation-defined.
25 * To simplify use with Windows API, we treat them the same way.
26 */
27
28#define RTLD_LAZY 0
29#define RTLD_NOW 0
30
31#define RTLD_GLOBAL (1 << 1)
32#define RTLD_LOCAL (1 << 2)
33
34/* These two were added in The Open Group Base Specifications Issue 6.
35 * Note: All other RTLD_* flags in any dlfcn.h are not standard compliant.
36 */
37
38#define RTLD_DEFAULT 0
39#define RTLD_NEXT 0
40
41void *dlopen ( const char *file, int mode );
42int dlclose( void *handle );
43void *dlsym ( void *handle, const char *name );
44char *dlerror( void );
45
46#endif /* DLFCN-WIN32_H */