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: libpsl.h
/* * Copyright(c) 2014-2018 Tim Ruehsen * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. * * This file is part of libpsl. * * Header file for libpsl library routines * * Changelog * 20.03.2014 Tim Ruehsen created * */ #ifndef LIBPSL_LIBPSL_H #define LIBPSL_LIBPSL_H #include <stdio.h> #include <time.h> #define PSL_VERSION "0.21.1" #define PSL_VERSION_MAJOR 0 #define PSL_VERSION_MINOR 21 #define PSL_VERSION_PATCH 1 #define PSL_VERSION_NUMBER 0x001501 /* support clang's __has_declspec_attribute attribute */ #ifndef __has_declspec_attribute # define __has_declspec_attribute(x) 0 #endif #ifndef PSL_API #if defined BUILDING_PSL && HAVE_VISIBILITY # define PSL_API __attribute__ ((__visibility__("default"))) #elif defined BUILDING_PSL && (defined _MSC_VER || __has_declspec_attribute(dllexport)) && !defined PSL_STATIC # define PSL_API __declspec(dllexport) #elif (defined _MSC_VER || __has_declspec_attribute(dllimport)) && !defined PSL_STATIC # define PSL_API __declspec(dllimport) #else # define PSL_API #endif #endif #ifdef __cplusplus extern "C" { #endif /* types for psl_is_public_suffix2() */ #define PSL_TYPE_ICANN (1<<0) #define PSL_TYPE_PRIVATE (1<<1) #define PSL_TYPE_NO_STAR_RULE (1<<2) #define PSL_TYPE_ANY (PSL_TYPE_ICANN | PSL_TYPE_PRIVATE) /** * psl_error_t: * @PSL_SUCCESS: Successful return. * @PSL_ERR_INVALID_ARG: Invalid argument. * @PSL_ERR_CONVERTER: Failed to open libicu utf-16 converter. * @PSL_ERR_TO_UTF16: Failed to convert to utf-16. * @PSL_ERR_TO_LOWER: Failed to convert utf-16 to lowercase. * @PSL_ERR_TO_UTF8: Failed to convert utf-16 to utf-8. * @PSL_ERR_NO_MEM: Failed to allocate memory. * * Return codes for PSL functions. * Negative return codes mean failure. * Positive values are reserved for non-error return codes. */ typedef enum { PSL_SUCCESS = 0, PSL_ERR_INVALID_ARG = -1, PSL_ERR_CONVERTER = -2, /* failed to open libicu utf-16 converter */ PSL_ERR_TO_UTF16 = -3, /* failed to convert to utf-16 */ PSL_ERR_TO_LOWER = -4, /* failed to convert utf-16 to lowercase */ PSL_ERR_TO_UTF8 = -5, /* failed to convert utf-16 to utf-8 */ PSL_ERR_NO_MEM = -6 /* failed to allocate memory */ } psl_error_t; typedef struct psl_ctx_st psl_ctx_t; /* frees PSL context */ PSL_API void psl_free(psl_ctx_t *psl); /* frees memory allocated by libpsl routines */ PSL_API void psl_free_string(char *str); /* loads PSL data from file */ PSL_API psl_ctx_t * psl_load_file(const char *fname); /* loads PSL data from FILE pointer */ PSL_API psl_ctx_t * psl_load_fp(FILE *fp); /* retrieves builtin PSL data */ PSL_API const psl_ctx_t * psl_builtin(void); /* retrieves most recent PSL data */ PSL_API psl_ctx_t * psl_latest(const char *fname); /* checks whether domain is a public suffix or not */ PSL_API int psl_is_public_suffix(const psl_ctx_t *psl, const char *domain); /* checks whether domain is a public suffix regarding the type or not */ PSL_API int psl_is_public_suffix2(const psl_ctx_t *psl, const char *domain, int type); /* checks whether cookie_domain is acceptable for domain or not */ PSL_API int psl_is_cookie_domain_acceptable(const psl_ctx_t *psl, const char *hostname, const char *cookie_domain); /* returns the longest not registrable domain within 'domain' or NULL if none found */ PSL_API const char * psl_unregistrable_domain(const psl_ctx_t *psl, const char *domain); /* returns the shortest possible registrable domain part or NULL if domain is not registrable at all */ PSL_API const char * psl_registrable_domain(const psl_ctx_t *psl, const char *domain); /* convert a string into lowercase UTF-8 */ PSL_API psl_error_t psl_str_to_utf8lower(const char *str, const char *encoding, const char *locale, char **lower); /* does not include exceptions */ PSL_API int psl_suffix_count(const psl_ctx_t *psl); /* just counts exceptions */ PSL_API int psl_suffix_exception_count(const psl_ctx_t *psl); /* just counts wildcards */ PSL_API int psl_suffix_wildcard_count(const psl_ctx_t *psl); /* returns mtime of PSL source file */ PSL_API time_t psl_builtin_file_time(void); /* returns SHA1 checksum (hex-encoded, lowercase) of PSL source file */ PSL_API const char * psl_builtin_sha1sum(void); /* returns file name of PSL source file */ PSL_API const char * psl_builtin_filename(void); /* returns name of distribution PSL data file */ PSL_API const char * psl_dist_filename(void); /* returns library version string */ PSL_API const char * psl_get_version(void); /* checks library version number */ PSL_API int psl_check_version_number(int version); /* returns whether the built-in data is outdated or not */ PSL_API int psl_builtin_outdated(void); #ifdef __cplusplus } #endif #endif /* LIBPSL_LIBPSL_H */
Upload File
Create Folder