]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/ldso/include/dlfcn.h
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / ldso / include / dlfcn.h
1 /* vi: set sw=4 ts=4: */
2 /*
3  * Copyright (C) 2000-2005 by Erik Andersen <andersen@codepoet.org>
4  *
5  * GNU Lesser General Public License version 2.1 or later.
6  */
7
8 /* User functions for run-time dynamic loading.  libdl version */
9 #ifndef _DLFCN_H
10 #define _DLFCN_H 1
11
12 #include <features.h>
13 #include <bits/dlfcn.h>
14
15 #define RTLD_NEXT       ((void *) -1l)
16 #define RTLD_DEFAULT    ((void *) 0)
17
18 /* Structure containing information about object searched using
19    `dladdr'.  */
20 typedef struct
21 {
22         __const char *dli_fname;  /* File name of defining object.  */
23         void *dli_fbase;          /* Load address of that object.  */
24         __const char *dli_sname;  /* Name of nearest symbol.  */
25         void *dli_saddr;          /* Exact value of nearest symbol.  */
26 } Dl_info;
27
28 #endif  /* _DLFCN_H */