31 #if !defined(LT__PRIVATE_H)
32 #define LT__PRIVATE_H 1
34 #if defined(LT_CONFIG_H)
46 #if defined(HAVE_UNISTD_H)
51 #include "lt__alloc.h"
52 #include "lt__dirent.h"
54 #include "lt__glibc.h"
59 #if defined(WITH_DMALLOC)
65 #ifndef LT_GLOBAL_DATA
66 # if defined(__WINDOWS__) || defined(__CYGWIN__)
67 # if defined(DLL_EXPORT)
68 # define LT_GLOBAL_DATA __declspec(dllexport)
71 # ifndef LT_GLOBAL_DATA
72 # define LT_GLOBAL_DATA
77 # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__
78 # define __attribute__(x)
83 # define LT__UNUSED __attribute__ ((__unused__))
93 LT_SCOPE
void lt__alloc_die_callback (
void);
97 #define strneq(s1, s2) (strcmp((s1), (s2)) != 0)
98 #define streq(s1, s2) (!strcmp((s1), (s2)))
106 lt_dlinterface_id key;
115 lt_dlhandle * deplibs;
123 unsigned int try_ext:1;
124 unsigned int is_resident:1;
125 unsigned int is_symglobal:1;
127 unsigned int is_symlocal:1;
129 unsigned int try_preload_only:1;
137 #define LT__STRERROR(name) lt__error_string(LT_CONC(LT_ERROR_,name))
139 #define LT__GETERROR(lvalue) (lvalue) = lt__get_last_error()
140 #define LT__SETERRORSTR(errormsg) lt__set_last_error(errormsg)
141 #define LT__SETERROR(errorcode) LT__SETERRORSTR(LT__STRERROR(errorcode))
143 LT_SCOPE
const char *lt__error_string (
int errorcode);
144 LT_SCOPE
const char *lt__get_last_error (
void);
145 LT_SCOPE
const char *lt__set_last_error (
const char *errormsg);
Definition: lt_dlloader.h:61
Definition: lt__private.h:122
Definition: lt__private.h:105
Definition: lt__private.h:110