Linux host2.healingcodesinfo.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Apache
Server IP : 69.167.168.125 & Your IP : 216.73.216.208
Domains : 126 Domain
User : christia
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
Delete
Unzip
Name
Size
Permission
Date
Action
GL
[ DIR ]
drwxr-xr-x
2021-01-13 19:43
X11
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
apache2
[ DIR ]
drwxr-xr-x
2026-03-19 21:41
arpa
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
asm
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
asm-generic
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
bind9
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
bits
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
c++
[ DIR ]
drwxr-xr-x
2021-01-13 19:43
db4.7.25
[ DIR ]
drwxr-xr-x
2021-01-13 19:36
drm
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
e2p
[ DIR ]
drwxr-xr-x
2021-01-13 19:44
et
[ DIR ]
drwxr-xr-x
2021-01-13 19:43
ext2fs
[ DIR ]
drwxr-xr-x
2021-01-13 19:44
fontconfig
[ DIR ]
drwxr-xr-x
2021-01-13 19:44
freetype2
[ DIR ]
drwxr-xr-x
2021-01-13 19:43
gdbm
[ DIR ]
drwxr-xr-x
2021-01-13 19:42
gnu
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
gssapi
[ DIR ]
drwxr-xr-x
2022-12-01 22:41
gssrpc
[ DIR ]
drwxr-xr-x
2022-12-01 22:41
kadm5
[ DIR ]
drwxr-xr-x
2022-12-01 22:41
krb5
[ DIR ]
drwxr-xr-x
2022-12-01 22:41
libdb
[ DIR ]
drwxr-xr-x
2021-01-13 19:42
libexslt
[ DIR ]
drwxr-xr-x
2021-01-13 19:44
libltdl
[ DIR ]
drwxr-xr-x
2021-01-13 19:44
libpng15
[ DIR ]
drwxr-xr-x
2021-01-13 19:43
libxml2
[ DIR ]
drwxr-xr-x
2021-10-21 16:15
libxslt
[ DIR ]
drwxr-xr-x
2021-01-13 19:44
linux
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
lzma
[ DIR ]
drwxr-xr-x
2022-06-16 21:41
misc
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
mtd
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
mysql
[ DIR ]
drwxr-xr-x
2023-10-24 21:41
ncurses
[ DIR ]
drwxr-xr-x
2021-01-13 19:44
ncursesw
[ DIR ]
drwxr-xr-x
2021-01-13 19:44
net
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
netash
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
netatalk
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
netax25
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
neteconet
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
netinet
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
netipx
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
netiucv
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
netpacket
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
netpbm
[ DIR ]
drwxr-xr-x
2021-01-13 19:45
netrom
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
netrose
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
nfs
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
openssl
[ DIR ]
drwxr-xr-x
2023-03-22 21:41
protocols
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
python2.7
[ DIR ]
drwxr-xr-x
2024-04-03 21:42
python3.6m
[ DIR ]
drwxr-xr-x
2024-04-03 21:41
quota
[ DIR ]
drwxr-xr-x
2021-01-13 19:44
rdma
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
rpc
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
rpcsvc
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
sasl
[ DIR ]
drwxr-xr-x
2022-02-25 22:41
scsi
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
security
[ DIR ]
drwxr-xr-x
2021-01-13 19:36
selinux
[ DIR ]
drwxr-xr-x
2021-01-13 19:44
sepol
[ DIR ]
drwxr-xr-x
2021-01-13 19:44
sound
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
sys
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
uapi
[ DIR ]
drwxr-xr-x
2024-06-04 14:55
uuid
[ DIR ]
drwxr-xr-x
2021-02-04 22:41
video
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
xcb
[ DIR ]
drwxr-xr-x
2021-01-13 19:43
xen
[ DIR ]
drwxr-xr-x
2024-07-06 04:35
FlexLexer.h
6.07
KB
-rw-r--r--
2018-10-30 20:30
_G_config.h
1.26
KB
-rw-r--r--
2024-06-04 14:43
a.out.h
4.25
KB
-rw-r--r--
2024-06-04 14:43
aio.h
7.27
KB
-rw-r--r--
2024-06-04 14:43
aliases.h
2
KB
-rw-r--r--
2024-06-04 14:43
alloca.h
1.19
KB
-rw-r--r--
2024-06-04 14:43
ar.h
1.68
KB
-rw-r--r--
2024-06-04 14:43
argp.h
24.75
KB
-rw-r--r--
2024-06-04 14:43
argz.h
6.96
KB
-rw-r--r--
2024-06-04 14:43
assert.h
3.52
KB
-rw-r--r--
2024-06-04 14:43
autosprintf.h
2.33
KB
-rw-r--r--
2020-04-01 02:42
byteswap.h
1.41
KB
-rw-r--r--
2024-06-04 14:43
com_err.h
2.07
KB
-rw-r--r--
2012-07-06 13:37
complex.h
3.62
KB
-rw-r--r--
2024-06-04 14:43
cpio.h
2.21
KB
-rw-r--r--
2024-06-04 14:43
cpufreq.h
5.8
KB
-rw-r--r--
2024-06-04 14:55
crypt.h
2.22
KB
-rw-r--r--
2024-06-04 14:43
ctype.h
11.52
KB
-rw-r--r--
2024-06-04 14:43
curses.h
93.19
KB
-rw-r--r--
2017-09-06 22:08
cursesapp.h
6.62
KB
-rw-r--r--
2017-09-06 22:08
cursesf.h
27.05
KB
-rw-r--r--
2017-09-06 22:08
cursesm.h
19.09
KB
-rw-r--r--
2017-09-06 22:08
cursesp.h
8.3
KB
-rw-r--r--
2017-09-06 22:08
cursesw.h
48.24
KB
-rw-r--r--
2017-09-06 22:08
cursslk.h
7.13
KB
-rw-r--r--
2017-09-06 22:08
db.h
120.21
KB
-r--r--r--
2019-08-09 00:16
db_185.h
5.84
KB
-r--r--r--
2019-08-09 00:16
dbm.h
1.37
KB
-rw-r--r--
2014-06-09 21:39
dirent.h
12.34
KB
-rw-r--r--
2024-06-04 14:43
dlfcn.h
6.88
KB
-rw-r--r--
2024-06-04 14:43
elf.h
141.01
KB
-rw-r--r--
2024-06-04 14:43
endian.h
2.95
KB
-rw-r--r--
2024-06-04 14:43
entities.h
4.56
KB
-rw-r--r--
2007-03-31 17:24
envz.h
2.82
KB
-rw-r--r--
2024-06-04 14:43
err.h
2.18
KB
-rw-r--r--
2024-06-04 14:43
errno.h
2.33
KB
-rw-r--r--
2024-06-04 14:43
error.h
2.01
KB
-rw-r--r--
2024-06-04 14:43
eti.h
2.82
KB
-rw-r--r--
2017-09-06 22:08
etip.h
9.04
KB
-rw-r--r--
2017-09-06 22:08
execinfo.h
1.5
KB
-rw-r--r--
2024-06-04 14:43
expat.h
40.77
KB
-rw-r--r--
2022-10-06 12:52
expat_external.h
3.29
KB
-rw-r--r--
2022-10-06 12:52
fcntl.h
9.89
KB
-rw-r--r--
2024-06-04 14:43
features.h
12.87
KB
-rw-r--r--
2024-06-04 14:43
fenv.h
4.5
KB
-rw-r--r--
2024-06-04 14:43
fmtmsg.h
3.18
KB
-rw-r--r--
2024-06-04 14:43
fnmatch.h
2.27
KB
-rw-r--r--
2024-06-04 14:43
form.h
17.56
KB
-rw-r--r--
2017-09-06 22:08
fpu_control.h
3.5
KB
-rw-r--r--
2024-06-04 14:43
fstab.h
3.04
KB
-rw-r--r--
2024-06-04 14:43
fts.h
5.17
KB
-rw-r--r--
2024-06-04 14:43
ftw.h
5.15
KB
-rw-r--r--
2024-06-04 14:43
gconv.h
5.16
KB
-rw-r--r--
2024-06-04 14:43
gcrypt-module.h
7.18
KB
-rw-r--r--
2017-08-02 15:54
gcrypt.h
76.51
KB
-rw-r--r--
2017-08-02 15:54
gd.h
32.02
KB
-rw-r--r--
2007-05-06 20:38
gd_io.h
1.13
KB
-rw-r--r--
2007-01-03 21:50
gdbm.h
5.75
KB
-rw-r--r--
2014-06-09 21:39
gdcache.h
2.75
KB
-rw-r--r--
2006-04-05 15:54
gdfontg.h
623
B
-rw-r--r--
2006-04-05 15:54
gdfontl.h
621
B
-rw-r--r--
2006-04-05 15:54
gdfontmb.h
590
B
-rw-r--r--
2006-04-05 15:54
gdfonts.h
585
B
-rw-r--r--
2006-04-05 15:54
gdfontt.h
617
B
-rw-r--r--
2006-04-05 15:54
gdfx.h
2.34
KB
-rw-r--r--
2006-04-05 15:54
getopt.h
6.53
KB
-rw-r--r--
2024-06-04 14:43
gettext-po.h
15.17
KB
-rw-r--r--
2020-04-01 02:42
glob.h
6.51
KB
-rw-r--r--
2024-06-04 14:43
gnu-versions.h
2.29
KB
-rw-r--r--
2024-06-04 14:43
gpg-error.h
23.66
KB
-rw-r--r--
2014-06-10 08:46
grp.h
6.75
KB
-rw-r--r--
2024-06-04 14:43
gshadow.h
4.43
KB
-rw-r--r--
2024-06-04 14:43
gssapi.h
181
B
-rw-r--r--
2022-11-30 19:01
iconv.h
1.83
KB
-rw-r--r--
2024-06-04 14:43
idn-free.h
2.41
KB
-rw-r--r--
2015-11-21 17:00
idn-int.h
20
B
-rw-r--r--
2015-11-21 17:00
idna.h
3.48
KB
-rw-r--r--
2015-11-21 17:00
ieee754.h
4.81
KB
-rw-r--r--
2024-06-04 14:43
ifaddrs.h
2.77
KB
-rw-r--r--
2024-06-04 14:43
inttypes.h
11.61
KB
-rw-r--r--
2024-06-04 14:43
jconfig.h
1.7
KB
-rw-r--r--
2019-08-09 00:23
jerror.h
14.4
KB
-rw-r--r--
2019-08-09 00:23
jmorecfg.h
13.5
KB
-rw-r--r--
2019-08-09 00:23
jpeglib.h
49.12
KB
-rw-r--r--
2019-08-09 00:23
kdb.h
60.12
KB
-rw-r--r--
2022-11-30 19:01
keyutils.h
7.08
KB
-rw-r--r--
2014-06-10 02:17
krad.h
8.72
KB
-rw-r--r--
2022-11-30 19:01
krb5.h
402
B
-rw-r--r--
2022-11-30 19:01
langinfo.h
15.57
KB
-rw-r--r--
2024-06-04 14:43
lastlog.h
126
B
-rw-r--r--
2024-06-04 14:43
lber.h
14.95
KB
-rw-r--r--
2022-02-23 17:11
lber_types.h
1.43
KB
-rw-r--r--
2022-02-23 17:11
ldap.h
63.46
KB
-rw-r--r--
2022-02-23 17:11
ldap_cdefs.h
9.24
KB
-rw-r--r--
2022-02-23 17:11
ldap_features.h
1.77
KB
-rw-r--r--
2022-02-23 17:11
ldap_schema.h
9.23
KB
-rw-r--r--
2022-02-23 17:11
ldap_utf8.h
3.39
KB
-rw-r--r--
2022-02-23 17:11
ldif.h
4.58
KB
-rw-r--r--
2022-02-23 17:11
libaio.h
7.8
KB
-rw-r--r--
2015-11-20 06:37
libgen.h
1.37
KB
-rw-r--r--
2024-06-04 14:43
libintl.h
4.49
KB
-rw-r--r--
2024-06-04 14:43
libio.h
16.87
KB
-rw-r--r--
2024-06-04 14:43
limits.h
4.42
KB
-rw-r--r--
2024-06-04 14:43
link.h
6.99
KB
-rw-r--r--
2024-06-04 14:43
locale.h
7.78
KB
-rw-r--r--
2024-06-04 14:43
ltdl.h
5.58
KB
-rw-r--r--
2017-04-12 18:57
lzma.h
9.51
KB
-rw-r--r--
2015-09-29 10:57
malloc.h
6.44
KB
-rw-r--r--
2024-06-04 14:43
math.h
15.7
KB
-rw-r--r--
2024-06-04 14:43
mcheck.h
2.4
KB
-rw-r--r--
2024-06-04 14:43
memory.h
962
B
-rw-r--r--
2024-06-04 14:43
menu.h
11.67
KB
-rw-r--r--
2017-09-06 22:08
mntent.h
3.3
KB
-rw-r--r--
2024-06-04 14:43
monetary.h
1.73
KB
-rw-r--r--
2024-06-04 14:43
mqueue.h
3.7
KB
-rw-r--r--
2024-06-04 14:43
nc_tparm.h
4.05
KB
-rw-r--r--
2017-09-06 22:08
ncurses.h
93.19
KB
-rw-r--r--
2017-09-06 22:08
ncurses_dll.h
3.83
KB
-rw-r--r--
2017-09-06 22:08
ndbm.h
2.39
KB
-rw-r--r--
2014-06-09 21:39
netdb.h
27.46
KB
-rw-r--r--
2024-06-04 14:43
nl_types.h
1.73
KB
-rw-r--r--
2024-06-04 14:43
nss.h
1.85
KB
-rw-r--r--
2024-06-04 14:43
obstack.h
18.84
KB
-rw-r--r--
2024-06-04 14:43
panel.h
3.97
KB
-rw-r--r--
2017-09-06 22:08
paths.h
2.91
KB
-rw-r--r--
2024-06-04 14:43
pcre.h
29.73
KB
-rw-r--r--
2017-08-02 03:07
pcre_scanner.h
6.45
KB
-rw-r--r--
2017-08-02 03:07
pcre_stringpiece.h
6.11
KB
-rw-r--r--
2017-08-02 03:07
pcrecpp.h
25.91
KB
-rw-r--r--
2017-08-02 03:07
pcrecpparg.h
6.62
KB
-rw-r--r--
2017-08-02 03:07
pcreposix.h
5.32
KB
-rw-r--r--
2017-08-02 03:07
png.h
113.36
KB
-rw-r--r--
2020-10-13 15:52
pngconf.h
20.94
KB
-rw-r--r--
2020-10-13 15:52
pnglibconf.h
6.3
KB
-rw-r--r--
2020-10-13 15:52
poll.h
22
B
-rw-r--r--
2024-06-04 14:43
pr29.h
2.07
KB
-rw-r--r--
2015-11-21 17:00
printf.h
6.56
KB
-rw-r--r--
2024-06-04 14:43
profile.h
11.87
KB
-rw-r--r--
2022-11-30 19:01
pthread.h
39.95
KB
-rw-r--r--
2024-06-04 14:43
pty.h
1.51
KB
-rw-r--r--
2024-06-04 14:43
punycode.h
9.36
KB
-rw-r--r--
2015-11-21 17:00
pwd.h
5.87
KB
-rw-r--r--
2024-06-04 14:43
re_comp.h
957
B
-rw-r--r--
2024-06-04 14:43
regex.h
21.58
KB
-rw-r--r--
2024-06-04 14:43
regexp.h
6.89
KB
-rw-r--r--
2024-06-04 14:43
resolv.h
14.67
KB
-rw-r--r--
2024-06-04 14:43
sched.h
4.55
KB
-rw-r--r--
2024-06-04 14:43
search.h
5.11
KB
-rw-r--r--
2024-06-04 14:43
semaphore.h
2.36
KB
-rw-r--r--
2024-06-04 14:43
setjmp.h
3.97
KB
-rw-r--r--
2024-06-04 14:43
sgtty.h
1.33
KB
-rw-r--r--
2024-06-04 14:43
shadow.h
5.1
KB
-rw-r--r--
2024-06-04 14:43
signal.h
13.3
KB
-rw-r--r--
2024-06-04 14:43
slapi-plugin.h
37.45
KB
-rw-r--r--
2022-02-23 17:11
spawn.h
6.53
KB
-rw-r--r--
2024-06-04 14:43
stab.h
264
B
-rw-r--r--
2024-06-04 14:43
stdc-predef.h
1.59
KB
-rw-r--r--
2024-06-04 14:43
stdint.h
7.94
KB
-rw-r--r--
2024-06-04 14:43
stdio.h
30.9
KB
-rw-r--r--
2024-06-04 14:43
stdio_ext.h
2.74
KB
-rw-r--r--
2024-06-04 14:43
stdlib.h
33.23
KB
-rw-r--r--
2024-06-04 14:43
string.h
21.75
KB
-rw-r--r--
2024-06-04 14:43
stringprep.h
8
KB
-rw-r--r--
2015-11-21 17:00
strings.h
4.55
KB
-rw-r--r--
2024-06-04 14:43
syscall.h
25
B
-rw-r--r--
2024-06-04 14:43
sysexits.h
5.11
KB
-rw-r--r--
2024-06-04 14:43
syslog.h
24
B
-rw-r--r--
2024-06-04 14:43
tar.h
3.67
KB
-rw-r--r--
2024-06-04 14:43
tcpd.h
11.48
KB
-rw-r--r--
2014-06-10 04:41
term.h
38.63
KB
-rw-r--r--
2017-09-06 22:08
term_entry.h
7.91
KB
-rw-r--r--
2017-09-06 22:08
termcap.h
3.4
KB
-rw-r--r--
2017-09-06 22:08
termio.h
214
B
-rw-r--r--
2024-06-04 14:43
termios.h
3.52
KB
-rw-r--r--
2024-06-04 14:43
tgmath.h
18.11
KB
-rw-r--r--
2024-06-04 14:43
thread_db.h
15.65
KB
-rw-r--r--
2024-06-04 14:43
tic.h
12.35
KB
-rw-r--r--
2017-09-06 22:08
tiff.h
34.95
KB
-rw-r--r--
2020-10-13 15:55
tiffconf-64.h
3.35
KB
-rw-r--r--
2020-10-13 15:55
tiffconf.h
250
B
-rw-r--r--
2020-10-13 15:55
tiffio.h
22.52
KB
-rw-r--r--
2020-10-13 15:55
tiffio.hxx
1.66
KB
-rw-r--r--
2020-10-13 15:55
tiffvers.h
410
B
-rw-r--r--
2020-10-13 15:55
time.h
13.4
KB
-rw-r--r--
2024-06-04 14:43
tld.h
4.54
KB
-rw-r--r--
2015-11-21 17:00
ttyent.h
2.44
KB
-rw-r--r--
2024-06-04 14:43
uchar.h
2.42
KB
-rw-r--r--
2024-06-04 14:43
ucontext.h
1.92
KB
-rw-r--r--
2024-06-04 14:43
ulimit.h
1.55
KB
-rw-r--r--
2024-06-04 14:43
unctrl.h
3.03
KB
-rw-r--r--
2017-09-06 22:08
unistd.h
41.78
KB
-rw-r--r--
2024-06-04 14:43
ustat.h
23
B
-rw-r--r--
2024-06-04 14:43
utime.h
1.5
KB
-rw-r--r--
2024-06-04 14:43
utmp.h
3.16
KB
-rw-r--r--
2024-06-04 14:43
utmpx.h
4.02
KB
-rw-r--r--
2024-06-04 14:43
values.h
1.92
KB
-rw-r--r--
2024-06-04 14:43
verto-module.h
6.48
KB
-rw-r--r--
2014-06-10 07:44
verto.h
18.57
KB
-rw-r--r--
2014-06-10 07:44
wait.h
22
B
-rw-r--r--
2024-06-04 14:43
wchar.h
31.37
KB
-rw-r--r--
2024-06-04 14:43
wctype.h
10.89
KB
-rw-r--r--
2024-06-04 14:43
wordexp.h
2.47
KB
-rw-r--r--
2024-06-04 14:43
xlocale.h
1.66
KB
-rw-r--r--
2024-06-04 14:43
zconf.h
14.92
KB
-rw-r--r--
2023-03-07 14:49
zlib.h
84.68
KB
-rw-r--r--
2023-03-07 14:49
Save
Rename
/* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 1998-2016 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted only as authorized by the OpenLDAP * Public License. * * A copy of this license is available in file LICENSE in the * top-level directory of the distribution or, alternatively, at * <http://www.OpenLDAP.org/license.html>. */ /* LDAP C Defines */ #ifndef _LDAP_CDEFS_H #define _LDAP_CDEFS_H #if defined(__cplusplus) || defined(c_plusplus) # define LDAP_BEGIN_DECL extern "C" { # define LDAP_END_DECL } #else # define LDAP_BEGIN_DECL /* begin declarations */ # define LDAP_END_DECL /* end declarations */ #endif #if !defined(LDAP_NO_PROTOTYPES) && ( defined(LDAP_NEEDS_PROTOTYPES) || \ defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus) ) /* ANSI C or C++ */ # define LDAP_P(protos) protos # define LDAP_CONCAT1(x,y) x ## y # define LDAP_CONCAT(x,y) LDAP_CONCAT1(x,y) # define LDAP_STRING(x) #x /* stringify without expanding x */ # define LDAP_XSTRING(x) LDAP_STRING(x) /* expand x, then stringify */ #ifndef LDAP_CONST # define LDAP_CONST const #endif #else /* no prototypes */ /* traditional C */ # define LDAP_P(protos) () # define LDAP_CONCAT(x,y) x/**/y # define LDAP_STRING(x) "x" #ifndef LDAP_CONST # define LDAP_CONST /* no const */ #endif #endif /* no prototypes */ #if (__GNUC__) * 1000 + (__GNUC_MINOR__) >= 2006 # define LDAP_GCCATTR(attrs) __attribute__(attrs) #else # define LDAP_GCCATTR(attrs) #endif /* * Support for Windows DLLs. * * When external source code includes header files for dynamic libraries, * the external source code is "importing" DLL symbols into its resulting * object code. On Windows, symbols imported from DLLs must be explicitly * indicated in header files with the __declspec(dllimport) directive. * This is not totally necessary for functions because the compiler * (gcc or MSVC) will generate stubs when this directive is absent. * However, this is required for imported variables. * * The LDAP libraries, i.e. liblber and libldap, can be built as * static or shared, based on configuration. Just about all other source * code in OpenLDAP use these libraries. If the LDAP libraries * are configured as shared, 'configure' defines the LDAP_LIBS_DYNAMIC * macro. When other source files include LDAP library headers, the * LDAP library symbols will automatically be marked as imported. When * the actual LDAP libraries are being built, the symbols will not * be marked as imported because the LBER_LIBRARY or LDAP_LIBRARY macros * will be respectively defined. * * Any project outside of OpenLDAP with source code wanting to use * LDAP dynamic libraries should explicitly define LDAP_LIBS_DYNAMIC. * This will ensure that external source code appropriately marks symbols * that will be imported. * * The slapd executable, itself, can be used as a dynamic library. * For example, if a backend module is compiled as shared, it will * import symbols from slapd. When this happens, the slapd symbols * must be marked as imported in header files that the backend module * includes. Remember that slapd links with various static libraries. * If the LDAP libraries were configured as static, their object * code is also part of the monolithic slapd executable. Thus, when * a backend module imports symbols from slapd, it imports symbols from * all of the static libraries in slapd as well. Thus, the SLAP_IMPORT * macro, when defined, will appropriately mark symbols as imported. * This macro should be used by shared backend modules as well as any * other external source code that imports symbols from the slapd * executable as if it were a DLL. * * Note that we don't actually have to worry about using the * __declspec(dllexport) directive anywhere. This is because both * MSVC and Mingw provide alternate (more effective) methods for exporting * symbols out of binaries, i.e. the use of a DEF file. * * NOTE ABOUT BACKENDS: Backends can be configured as static or dynamic. * When a backend is configured as dynamic, slapd will load the backend * explicitly and populate function pointer structures by calling * the backend's well-known initialization function. Because of this * procedure, slapd never implicitly imports symbols from dynamic backends. * This makes it unnecessary to tag various backend functions with the * __declspec(dllimport) directive. This is because neither slapd nor * any other external binary should ever be implicitly loading a backend * dynamic module. * * Backends are supposed to be self-contained. However, it appears that * back-meta DOES implicitly import symbols from back-ldap. This means * that the __declspec(dllimport) directive should be marked on back-ldap * functions (in its header files) if and only if we're compiling for * windows AND back-ldap has been configured as dynamic AND back-meta * is the client of back-ldap. When client is slapd, there is no effect * since slapd does not implicitly import symbols. * * TODO(?): Currently, back-meta nor back-ldap is supported for Mingw32. * Thus, there's no need to worry about this right now. This is something that * may or may not have to be addressed in the future. */ /* LBER library */ #if defined(_WIN32) && \ ((defined(LDAP_LIBS_DYNAMIC) && !defined(LBER_LIBRARY)) || \ (!defined(LDAP_LIBS_DYNAMIC) && defined(SLAPD_IMPORT))) # define LBER_F(type) extern __declspec(dllimport) type # define LBER_V(type) extern __declspec(dllimport) type #else # define LBER_F(type) extern type # define LBER_V(type) extern type #endif /* LDAP library */ #if defined(_WIN32) && \ ((defined(LDAP_LIBS_DYNAMIC) && !defined(LDAP_LIBRARY)) || \ (!defined(LDAP_LIBS_DYNAMIC) && defined(SLAPD_IMPORT))) # define LDAP_F(type) extern __declspec(dllimport) type # define LDAP_V(type) extern __declspec(dllimport) type #else # define LDAP_F(type) extern type # define LDAP_V(type) extern type #endif /* AVL library */ #if defined(_WIN32) && defined(SLAPD_IMPORT) # define LDAP_AVL_F(type) extern __declspec(dllimport) type # define LDAP_AVL_V(type) extern __declspec(dllimport) type #else # define LDAP_AVL_F(type) extern type # define LDAP_AVL_V(type) extern type #endif /* LDIF library */ #if defined(_WIN32) && defined(SLAPD_IMPORT) # define LDAP_LDIF_F(type) extern __declspec(dllimport) type # define LDAP_LDIF_V(type) extern __declspec(dllimport) type #else # define LDAP_LDIF_F(type) extern type # define LDAP_LDIF_V(type) extern type #endif /* LUNICODE library */ #if defined(_WIN32) && defined(SLAPD_IMPORT) # define LDAP_LUNICODE_F(type) extern __declspec(dllimport) type # define LDAP_LUNICODE_V(type) extern __declspec(dllimport) type #else # define LDAP_LUNICODE_F(type) extern type # define LDAP_LUNICODE_V(type) extern type #endif /* LUTIL library */ #if defined(_WIN32) && defined(SLAPD_IMPORT) # define LDAP_LUTIL_F(type) extern __declspec(dllimport) type # define LDAP_LUTIL_V(type) extern __declspec(dllimport) type #else # define LDAP_LUTIL_F(type) extern type # define LDAP_LUTIL_V(type) extern type #endif /* REWRITE library */ #if defined(_WIN32) && defined(SLAPD_IMPORT) # define LDAP_REWRITE_F(type) extern __declspec(dllimport) type # define LDAP_REWRITE_V(type) extern __declspec(dllimport) type #else # define LDAP_REWRITE_F(type) extern type # define LDAP_REWRITE_V(type) extern type #endif /* SLAPD (as a dynamic library exporting symbols) */ #if defined(_WIN32) && defined(SLAPD_IMPORT) # define LDAP_SLAPD_F(type) extern __declspec(dllimport) type # define LDAP_SLAPD_V(type) extern __declspec(dllimport) type #else # define LDAP_SLAPD_F(type) extern type # define LDAP_SLAPD_V(type) extern type #endif /* SLAPD (as a dynamic library exporting symbols) */ #if defined(_WIN32) && defined(SLAPD_IMPORT) # define LDAP_SLAPI_F(type) extern __declspec(dllimport) type # define LDAP_SLAPI_V(type) extern __declspec(dllimport) type #else # define LDAP_SLAPI_F(type) extern type # define LDAP_SLAPI_V(type) extern type #endif /* SLAPD (as a dynamic library exporting symbols) */ #if defined(_WIN32) && defined(SLAPD_IMPORT) # define SLAPI_F(type) extern __declspec(dllimport) type # define SLAPI_V(type) extern __declspec(dllimport) type #else # define SLAPI_F(type) extern type # define SLAPI_V(type) extern type #endif /* * C library. Mingw32 links with the dynamic C run-time library by default, * so the explicit definition of CSTATIC will keep dllimport from * being defined, if desired. * * MSVC defines the _DLL macro when the compiler is invoked with /MD or /MDd, * which means the resulting object code will be linked with the dynamic * C run-time library. * * Technically, it shouldn't be necessary to redefine any functions that * the headers for the C library should already contain. Nevertheless, this * is here as a safe-guard. * * TODO: Determine if these macros ever get expanded for Windows. If not, * the declspec expansion can probably be removed. */ #if (defined(__MINGW32__) && !defined(CSTATIC)) || \ (defined(_MSC_VER) && defined(_DLL)) # define LDAP_LIBC_F(type) extern __declspec(dllimport) type # define LDAP_LIBC_V(type) extern __declspec(dllimport) type #else # define LDAP_LIBC_F(type) extern type # define LDAP_LIBC_V(type) extern type #endif #endif /* _LDAP_CDEFS_H */