X7ROOT File Manager
Current Path:
/usr/include
usr
/
include
/
📁
..
📄
FlexLexer.h
(6.73 KB)
📄
GeoIP.h
(17.42 KB)
📄
GeoIPCity.h
(2.24 KB)
📄
a.out.h
(4.25 KB)
📄
aio.h
(7.56 KB)
📄
aliases.h
(1.98 KB)
📄
alloca.h
(1.17 KB)
📄
ar.h
(1.69 KB)
📄
argp.h
(24.95 KB)
📄
argz.h
(5.91 KB)
📁
arpa
📁
asm
📁
asm-generic
📄
assert.h
(4.46 KB)
📁
bits
📁
bsock
📄
byteswap.h
(1.42 KB)
📁
c++
📄
com_err.h
(2.07 KB)
📄
complex.h
(7.95 KB)
📄
cpio.h
(2.21 KB)
📄
cpuidle.h
(931 B)
📁
criu
📄
crypt.h
(10.9 KB)
📄
ctype.h
(10.71 KB)
📁
curl
📄
dirent.h
(12.32 KB)
📄
dlfcn.h
(8.38 KB)
📁
drm
📄
elf.h
(178.26 KB)
📄
endian.h
(2.25 KB)
📄
envz.h
(2.8 KB)
📄
err.h
(2.29 KB)
📄
errno.h
(1.64 KB)
📄
error.h
(2.36 KB)
📁
et
📄
execinfo.h
(1.49 KB)
📄
fcntl.h
(11.17 KB)
📄
features-time64.h
(1.37 KB)
📄
features.h
(17.69 KB)
📄
fenv.h
(5.65 KB)
📁
finclude
📄
fmtmsg.h
(3.16 KB)
📄
fnmatch.h
(2.24 KB)
📄
fpu_control.h
(3.5 KB)
📄
fstab.h
(3.04 KB)
📄
fts.h
(9.35 KB)
📄
ftw.h
(6.19 KB)
📁
fwctl
📄
gconv.h
(4.11 KB)
📁
gdb
📄
gelf.h
(11.14 KB)
📄
getopt.h
(1.43 KB)
📄
glob.h
(7.13 KB)
📁
gnu
📄
gnu-versions.h
(2.29 KB)
📄
gnumake.h
(2.84 KB)
📄
grp.h
(6.53 KB)
📄
gshadow.h
(4.42 KB)
📁
gssapi
📄
gssapi.h
(181 B)
📁
gssrpc
📄
iconv.h
(1.81 KB)
📄
idn2.h
(13.57 KB)
📄
ieee754.h
(4.8 KB)
📄
ifaddrs.h
(2.77 KB)
📄
inttypes.h
(8.14 KB)
📁
kadm5
📄
kdb.h
(62.83 KB)
📄
keyutils.h
(11.52 KB)
📄
krad.h
(8.72 KB)
📁
krb5
📄
krb5.h
(402 B)
📄
langinfo.h
(17.43 KB)
📄
lastlog.h
(126 B)
📄
lauxlib.h
(9.1 KB)
📄
lber.h
(15.12 KB)
📄
lber_types.h
(1.43 KB)
📄
ldap.h
(72.36 KB)
📄
ldap_cdefs.h
(9.24 KB)
📄
ldap_features.h
(1.55 KB)
📄
ldap_schema.h
(9.23 KB)
📄
ldap_utf8.h
(3.39 KB)
📄
ldif.h
(4.68 KB)
📄
libelf.h
(20.31 KB)
📄
libgen.h
(1.35 KB)
📄
libintl.h
(4.47 KB)
📄
liblsapi-sha1.h
(569 B)
📄
libpsl.h
(5.66 KB)
📄
libssh2.h
(59.24 KB)
📄
libssh2_publickey.h
(4.83 KB)
📄
libssh2_sftp.h
(16.96 KB)
📁
libxml2
📄
limits.h
(5.57 KB)
📄
link.h
(7.62 KB)
📁
linux
📄
locale.h
(7.5 KB)
📄
lsapidef.h
(4.85 KB)
📄
lscapi.h
(25.36 KB)
📄
lscapi_config.h
(599 B)
📄
lua.h
(15.45 KB)
📄
lua.hpp
(191 B)
📄
luaconf-x86_64.h
(21.01 KB)
📄
luaconf.h
(1.62 KB)
📄
lualib.h
(1.09 KB)
📁
lzma
📄
lzma.h
(9.63 KB)
📄
malloc.h
(5.77 KB)
📄
math.h
(47.63 KB)
📄
mcheck.h
(2.38 KB)
📄
memory.h
(956 B)
📁
misc
📄
mntent.h
(3.28 KB)
📄
monetary.h
(1.92 KB)
📄
mqueue.h
(4.5 KB)
📁
mtd
📁
mysql
📁
net
📁
netash
📁
netatalk
📁
netax25
📄
netdb.h
(27.79 KB)
📁
neteconet
📁
netinet
📁
netipx
📁
netiucv
📁
netpacket
📁
netrom
📁
netrose
📁
nfs
📁
nghttp2
📄
nl_types.h
(1.71 KB)
📄
nlist.h
(1.56 KB)
📄
nss.h
(14.07 KB)
📄
obstack.h
(20.81 KB)
📁
offload
📄
openldap.h
(964 B)
📁
openssl
📄
paths.h
(2.91 KB)
📁
pcp
📄
pcre2.h
(46.15 KB)
📄
pcre2posix.h
(6.52 KB)
📄
poll.h
(22 B)
📄
powercap.h
(1.62 KB)
📄
printf.h
(6.71 KB)
📄
proc_service.h
(3.4 KB)
📄
profile.h
(11.87 KB)
📁
protocols
📄
pthread.h
(47.39 KB)
📄
pty.h
(1.53 KB)
📄
pwd.h
(6.17 KB)
📁
python3.9
📁
rdma
📄
re_comp.h
(963 B)
📄
regex.h
(25.3 KB)
📄
regexp.h
(1.41 KB)
📄
resolv.h
(12.1 KB)
📁
rpc
📁
sasl
📄
sched.h
(4.92 KB)
📁
scsi
📄
search.h
(5.32 KB)
📁
selinux
📄
semaphore.h
(3.38 KB)
📁
sepol
📄
setjmp.h
(3.12 KB)
📄
sgtty.h
(1.31 KB)
📄
shadow.h
(5.34 KB)
📄
signal.h
(12.73 KB)
📄
slapi-plugin.h
(37.45 KB)
📁
sound
📄
spawn.h
(8.1 KB)
📄
stab.h
(264 B)
📄
stdc-predef.h
(2.24 KB)
📄
stdint.h
(8.28 KB)
📄
stdio.h
(30.67 KB)
📄
stdio_ext.h
(2.73 KB)
📄
stdlib.h
(35.46 KB)
📄
string.h
(19 KB)
📄
strings.h
(4.64 KB)
📁
sys
📄
syscall.h
(25 B)
📄
sysexits.h
(5.11 KB)
📄
syslog.h
(24 B)
📄
tar.h
(3.7 KB)
📄
termio.h
(214 B)
📄
termios.h
(3.51 KB)
📄
tgmath.h
(39.24 KB)
📄
thread_db.h
(15.65 KB)
📄
threads.h
(7.51 KB)
📄
time.h
(14.5 KB)
📄
ttyent.h
(2.44 KB)
📄
uchar.h
(1.96 KB)
📄
ucontext.h
(1.99 KB)
📄
ulimit.h
(1.55 KB)
📄
unistd.h
(43.45 KB)
📄
utime.h
(1.86 KB)
📄
utmp.h
(3.15 KB)
📄
utmpx.h
(4 KB)
📄
values.h
(1.91 KB)
📄
verto-module.h
(6.48 KB)
📄
verto.h
(18.98 KB)
📁
video
📄
wait.h
(22 B)
📄
wchar.h
(31.39 KB)
📄
wctype.h
(5.42 KB)
📄
wordexp.h
(2.44 KB)
📁
xen
📄
zconf.h
(15.88 KB)
📄
zdict.h
(25.81 KB)
📄
zlib.h
(94 KB)
📄
zstd.h
(167.36 KB)
📄
zstd_errors.h
(4.43 KB)
Editing: ldap_cdefs.h
/* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 1998-2024 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 */
Upload File
Create Folder