00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00018 #ifndef LIBCWD_BFD_H
00019 #define LIBCWD_BFD_H
00020
00021 #ifndef LIBCWD_CONFIG_H
00022 #include <libcwd/config.h>
00023 #endif
00024 #ifndef LIBCWD_CLASS_LOCATION_H
00025 #include <libcwd/class_location.h>
00026 #endif
00027 #ifndef LIBCWD_PC_MANGLED_FUNCTION_NAME_H
00028 #include <libcwd/pc_mangled_function_name.h>
00029 #endif
00030
00031 #ifdef LIBCWD_DLOPEN_DEFINED
00032 #include <dlfcn.h>
00033 #define dlopen __libcwd_dlopen
00034 #define dlclose __libcwd_dlclose
00035 extern "C" void* dlopen(char const*, int);
00036 extern "C" int dlclose(void*);
00037 #endif // LIBCWD_DLOPEN_DEFINED
00038
00039 #if CWDEBUG_ALLOC
00040 namespace libcwd {
00041 namespace _private_ {
00042 struct exit_function_list
00043 {
00044 struct exit_function_list* next;
00045
00046 };
00047 extern struct exit_function_list** __exit_funcs_ptr;
00048 }
00049 }
00050 #endif
00051
00052 #endif // LIBCWD_BFD_H