diff options
author | Aron Xu <aron@debian.org> | 2015-09-21 22:55:55 +0800 |
---|---|---|
committer | Aron Xu <aron@debian.org> | 2015-09-21 22:55:55 +0800 |
commit | e85cf827a804d9abf4cbf48af6394c49331de322 (patch) | |
tree | aab761b5168447ea51ad1a64c9e1594e48f84b12 /os400/dlfcn/dlfcn.h | |
parent | 4b692ee8530176868e4832e30bdc4ba5bc145948 (diff) | |
download | libxml2-e85cf827a804d9abf4cbf48af6394c49331de322.tar.gz |
Revert "Merge tag 'upstream/2.9.1+dfsg1'"
This reverts commit 21ee18bdbc9a9d4500e12a1399d51c593b8b31d4, reversing
changes made to de338c1adfa336ddb5177ceb5c63bcd868a0ebc7.
Diffstat (limited to 'os400/dlfcn/dlfcn.h')
-rw-r--r-- | os400/dlfcn/dlfcn.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/os400/dlfcn/dlfcn.h b/os400/dlfcn/dlfcn.h new file mode 100644 index 0000000..0cf691e --- /dev/null +++ b/os400/dlfcn/dlfcn.h @@ -0,0 +1,32 @@ +/** +*** dlopen(), dlclose() dlsym(), dlerror() emulation for OS/400. +*** +*** See Copyright for the status of this software. +*** +*** Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A. +**/ + +#ifndef _DLFCN_H_ +#define _DLFCN_H_ + + +/** +*** Flags for dlopen(). +*** Ignored for OS400. +**/ + +#define RTLD_LAZY 000 +#define RTLD_NOW 001 +#define RTLD_GLOBAL 010 + + +/** +*** Prototypes. +**/ + +extern void * dlopen(const char * filename, int flag); +extern void * dlsym(void * handle, const char * symbol); +extern const char * dlerror(void); +extern int dlclose(void * handle); + +#endif |