29#if !defined LT__PRIVATE_H
30#define LT__PRIVATE_H 1
32#if defined LT_CONFIG_H
44#if defined HAVE_UNISTD_H
50#include "lt__dirent.h"
57#if defined WITH_DMALLOC
64# if defined __WINDOWS__ || defined __CYGWIN__
65# if defined DLL_EXPORT
66# define LT_GLOBAL_DATA __declspec(dllexport)
69# ifndef LT_GLOBAL_DATA
70# define LT_GLOBAL_DATA
75# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__
76# define __attribute__(x)
81# define LT__UNUSED __attribute__ ((__unused__))
91LT_SCOPE
void lt__alloc_die_callback (
void);
95#define STRNEQ(s1, s2) (strcmp((s1), (s2)) != 0)
96#define STREQ(s1, s2) (strcmp((s1), (s2)) == 0)
104 lt_dlinterface_id key;
113 lt_dlhandle * deplibs;
121 unsigned int try_ext:1;
122 unsigned int is_resident:1;
123 unsigned int is_symglobal:1;
125 unsigned int is_symlocal:1;
127 unsigned int try_preload_only:1;
135#define LT__STRERROR(name) lt__error_string(LT_CONC(LT_ERROR_,name))
137#define LT__GETERROR(lvalue) (lvalue) = lt__get_last_error()
138#define LT__SETERRORSTR(errormsg) lt__set_last_error(errormsg)
139#define LT__SETERROR(errorcode) LT__SETERRORSTR(LT__STRERROR(errorcode))
141LT_SCOPE
const char *lt__error_string (
int errorcode);
142LT_SCOPE
const char *lt__get_last_error (
void);
143LT_SCOPE
const char *lt__set_last_error (
const char *errormsg);
Definition lt__private.h:120
Definition lt__private.h:108
Definition lt_dlloader.h:59
Definition lt__private.h:103