~ubuntu-branches/ubuntu/saucy/emscripten/saucy-proposed

« back to all changes in this revision

Viewing changes to system/include/dlfcn.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _DLFCN_H_INCLUDED
 
2
#define _DLFCN_H_INCLUDED
 
3
 
 
4
#ifdef __cplusplus
 
5
extern "C" {
 
6
#endif
 
7
 
 
8
#define RTLD_DEFAULT 0
 
9
#define RTLD_LAZY    1
 
10
#define RTLD_NOW     2
 
11
#define RTLD_GLOBAL  4
 
12
#define RTLD_LOCAL   8
 
13
 
 
14
typedef struct {
 
15
  const char *dli_fname;
 
16
  void       *dli_fbase;
 
17
  const char *dli_sname;
 
18
  void       *dli_saddr;
 
19
} Dl_info;
 
20
 
 
21
void  *dlopen(const char *, int);
 
22
void  *dlsym(void *, const char *);
 
23
int    dlclose(void *);
 
24
char  *dlerror(void);
 
25
int    dladdr(void *addr, Dl_info *info);
 
26
 
 
27
#ifdef __cplusplus
 
28
}
 
29
#endif
 
30
 
 
31
#endif