Linux taon.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
LiteSpeed
Server IP : 109.234.166.246 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : mhxr7844
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
2022-11-13 19:37
X11
[ DIR ]
drwxr-xr-x
2024-09-27 06:01
arpa
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
asm
[ DIR ]
drwxr-xr-x
2026-07-21 06:04
asm-generic
[ DIR ]
drwxr-xr-x
2026-07-21 06:04
bind9
[ DIR ]
drwxr-xr-x
2026-06-09 06:14
bits
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
bsock
[ DIR ]
drwxr-xr-x
2022-11-28 11:00
c++
[ DIR ]
drwxr-xr-x
2025-08-26 11:44
criu-lve
[ DIR ]
drwxr-xr-x
2026-07-08 23:58
drm
[ DIR ]
drwxr-xr-x
2026-07-21 06:04
e2p
[ DIR ]
drwxr-xr-x
2025-10-10 06:05
et
[ DIR ]
drwxr-xr-x
2025-10-10 06:05
event2
[ DIR ]
drwxr-xr-x
2024-10-29 06:11
ext2fs
[ DIR ]
drwxr-xr-x
2025-10-10 06:05
finclude
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
fontconfig
[ DIR ]
drwxr-xr-x
2022-11-13 19:37
freetype2
[ DIR ]
drwxr-xr-x
2025-04-02 06:02
fstrm
[ DIR ]
drwxr-xr-x
2022-11-13 19:37
gdbm
[ DIR ]
drwxr-xr-x
2022-11-13 19:37
gnu
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
google
[ DIR ]
drwxr-xr-x
2023-10-14 23:21
gssapi
[ DIR ]
drwxr-xr-x
2026-05-14 06:10
gssrpc
[ DIR ]
drwxr-xr-x
2026-05-14 06:10
json-c
[ DIR ]
drwxr-xr-x
2022-11-13 19:37
kadm5
[ DIR ]
drwxr-xr-x
2026-05-14 06:10
krb5
[ DIR ]
drwxr-xr-x
2026-05-14 06:10
libexslt
[ DIR ]
drwxr-xr-x
2026-06-18 06:00
libltdl
[ DIR ]
drwxr-xr-x
2022-11-13 19:37
libpng16
[ DIR ]
drwxr-xr-x
2026-06-27 06:00
libpq
[ DIR ]
drwxr-xr-x
2026-06-23 06:00
libxml2
[ DIR ]
drwxr-xr-x
2026-07-08 17:05
libxslt
[ DIR ]
drwxr-xr-x
2026-06-18 06:00
linux
[ DIR ]
drwxr-xr-x
2026-07-21 06:04
lua-5.1
[ DIR ]
drwxr-xr-x
2024-07-23 06:02
lve
[ DIR ]
drwxr-xr-x
2026-07-14 06:02
lzma
[ DIR ]
drwxr-xr-x
2022-11-13 19:37
misc
[ DIR ]
drwxr-xr-x
2026-07-21 06:04
mtd
[ DIR ]
drwxr-xr-x
2026-07-21 06:04
mysql
[ DIR ]
drwxr-xr-x
2026-05-29 06:15
ncurses
[ DIR ]
drwxr-xr-x
2024-01-11 13:48
ncursesw
[ DIR ]
drwxr-xr-x
2024-01-11 13:48
net
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
netash
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
netatalk
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
netax25
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
neteconet
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
netinet
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
netipx
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
netiucv
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
netpacket
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
netrom
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
netrose
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
nfs
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
openssl
[ DIR ]
drwxr-xr-x
2026-07-15 06:05
perf
[ DIR ]
drwxr-xr-x
2026-07-21 06:04
pgsql
[ DIR ]
drwxr-xr-x
2026-06-22 08:23
protobuf-c
[ DIR ]
drwxr-xr-x
2024-01-11 13:44
protocols
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
python2.7
[ DIR ]
drwxr-xr-x
2024-06-13 06:04
python3.12
[ DIR ]
drwxr-xr-x
2026-07-17 06:00
python3.6m
[ DIR ]
drwxr-xr-x
2026-07-16 06:00
python3.8
[ DIR ]
drwxr-xr-x
2024-10-15 11:15
rdma
[ DIR ]
drwxr-xr-x
2026-07-21 06:04
rpc
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
scsi
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
security
[ DIR ]
drwxr-xr-x
2025-12-23 06:02
selinux
[ DIR ]
drwxr-xr-x
2026-02-12 06:00
sepol
[ DIR ]
drwxr-xr-x
2022-11-13 19:31
sound
[ DIR ]
drwxr-xr-x
2026-07-21 06:04
sys
[ DIR ]
drwxr-xr-x
2026-07-23 06:01
uuid
[ DIR ]
drwxr-xr-x
2026-02-07 06:13
video
[ DIR ]
drwxr-xr-x
2026-07-21 06:04
webp
[ DIR ]
drwxr-xr-x
2025-06-04 06:03
xcb
[ DIR ]
drwxr-xr-x
2022-11-13 19:37
xen
[ DIR ]
drwxr-xr-x
2026-07-21 06:04
FlexLexer.h
6.73
KB
-rw-r--r--
2019-10-12 14:33
a.out.h
4.25
KB
-rw-r--r--
2026-07-21 16:46
aio.h
7.28
KB
-rw-r--r--
2026-07-21 16:46
aliases.h
1.98
KB
-rw-r--r--
2026-07-21 16:46
alloca.h
1.17
KB
-rw-r--r--
2026-07-21 16:46
ar.h
1.69
KB
-rw-r--r--
2026-07-21 16:46
argp.h
24.82
KB
-rw-r--r--
2026-07-21 16:46
argz.h
5.91
KB
-rw-r--r--
2026-07-21 16:46
assert.h
4.45
KB
-rw-r--r--
2026-07-21 16:46
autosprintf.h
2.33
KB
-rw-r--r--
2019-11-18 18:16
byteswap.h
1.37
KB
-rw-r--r--
2026-07-21 16:46
bzlib.h
6.1
KB
-rw-r--r--
2010-09-11 01:08
com_err.h
2.07
KB
-rw-r--r--
2020-03-21 05:24
complex.h
7
KB
-rw-r--r--
2026-07-21 16:46
cpio.h
2.21
KB
-rw-r--r--
2026-07-21 16:46
cpuidle.h
844
B
-rw-r--r--
2026-07-08 18:23
crypt.h
8.9
KB
-rw-r--r--
2021-10-09 06:04
ctype.h
10.71
KB
-rw-r--r--
2026-07-21 16:46
curses.h
97.29
KB
-rw-r--r--
2023-10-14 20:54
cursesapp.h
6.62
KB
-rw-r--r--
2023-10-14 20:54
cursesf.h
27.2
KB
-rw-r--r--
2023-10-14 20:54
cursesm.h
19.22
KB
-rw-r--r--
2023-10-14 20:54
cursesp.h
8.4
KB
-rw-r--r--
2023-10-14 20:54
cursesw.h
48.55
KB
-rw-r--r--
2023-10-14 20:54
cursslk.h
7.13
KB
-rw-r--r--
2023-10-14 20:54
dbm.h
1.38
KB
-rw-r--r--
2022-10-08 15:22
dirent.h
12.19
KB
-rw-r--r--
2026-07-21 16:46
dlfcn.h
7.07
KB
-rw-r--r--
2026-07-21 16:46
elf.h
170.73
KB
-rw-r--r--
2026-07-21 16:46
endian.h
3.11
KB
-rw-r--r--
2026-07-21 16:46
entities.h
4.81
KB
-rw-r--r--
2017-08-30 13:05
envz.h
2.8
KB
-rw-r--r--
2026-07-21 16:46
err.h
2.16
KB
-rw-r--r--
2026-07-21 16:46
errno.h
1.64
KB
-rw-r--r--
2026-07-21 16:46
error.h
1.99
KB
-rw-r--r--
2026-07-21 16:46
eti.h
2.82
KB
-rw-r--r--
2023-10-14 20:54
etip.h
9.47
KB
-rw-r--r--
2023-10-14 20:54
evdns.h
1.97
KB
-rw-r--r--
2019-10-12 02:29
event.h
2.68
KB
-rw-r--r--
2019-10-12 02:29
evhttp.h
1.99
KB
-rw-r--r--
2019-10-12 02:29
evrpc.h
1.97
KB
-rw-r--r--
2019-10-12 02:29
evutil.h
1.74
KB
-rw-r--r--
2019-10-12 02:29
execinfo.h
1.49
KB
-rw-r--r--
2026-07-21 16:46
expat.h
43.24
KB
-rw-r--r--
2026-06-03 13:35
expat_config.h
3.82
KB
-rw-r--r--
2026-06-03 13:35
expat_external.h
5.89
KB
-rw-r--r--
2026-06-03 13:35
fcntl.h
10.7
KB
-rw-r--r--
2026-07-21 16:46
features.h
15.69
KB
-rw-r--r--
2026-07-21 16:46
fenv.h
5.72
KB
-rw-r--r--
2026-07-21 16:46
fmtmsg.h
3.16
KB
-rw-r--r--
2026-07-21 16:46
fnmatch.h
2.24
KB
-rw-r--r--
2026-07-21 16:46
form.h
18.17
KB
-rw-r--r--
2023-10-14 20:54
fpu_control.h
3.5
KB
-rw-r--r--
2026-07-21 16:46
fstab.h
3.04
KB
-rw-r--r--
2026-07-21 16:46
fstrm.h
12.71
KB
-rw-r--r--
2019-03-11 21:58
fts.h
8.18
KB
-rw-r--r--
2026-07-21 16:46
ftw.h
5.13
KB
-rw-r--r--
2026-07-21 16:46
gconv.h
3.99
KB
-rw-r--r--
2026-07-21 16:46
gcrypt.h
68.71
KB
-rw-r--r--
2022-06-28 13:54
gd.h
56.42
KB
-rw-r--r--
2017-08-30 13:05
gd_color_map.h
478
B
-rw-r--r--
2017-08-30 13:05
gd_errors.h
1.47
KB
-rw-r--r--
2017-08-30 13:05
gd_io.h
3.05
KB
-rw-r--r--
2017-08-30 13:05
gdbm.h
10.1
KB
-rw-r--r--
2022-10-08 15:22
gdcache.h
2.83
KB
-rw-r--r--
2017-08-30 13:05
gdfontg.h
553
B
-rw-r--r--
2017-08-30 13:05
gdfontl.h
551
B
-rw-r--r--
2017-08-30 13:05
gdfontmb.h
519
B
-rw-r--r--
2017-08-30 13:05
gdfonts.h
515
B
-rw-r--r--
2017-08-30 13:05
gdfontt.h
546
B
-rw-r--r--
2017-08-30 13:05
gdfx.h
497
B
-rw-r--r--
2017-08-30 13:05
gdpp.h
50.94
KB
-rw-r--r--
2017-08-30 13:05
getopt.h
1.43
KB
-rw-r--r--
2026-07-21 16:46
gettext-po.h
15.17
KB
-rw-r--r--
2019-11-18 18:17
glob.h
6.46
KB
-rw-r--r--
2026-07-21 16:46
gnu-versions.h
2.29
KB
-rw-r--r--
2026-07-21 16:46
gnumake.h
2.84
KB
-rw-r--r--
2022-04-18 18:38
gpg-error.h
66.29
KB
-rw-r--r--
2019-10-12 14:20
gpgrt.h
66.29
KB
-rw-r--r--
2019-10-12 14:20
grp.h
6.53
KB
-rw-r--r--
2026-07-21 16:46
gshadow.h
4.42
KB
-rw-r--r--
2026-07-21 16:46
gssapi.h
181
B
-rw-r--r--
2026-05-13 08:34
iconv.h
1.81
KB
-rw-r--r--
2026-07-21 16:46
idn-free.h
2.41
KB
-rw-r--r--
2019-10-13 18:55
idn-int.h
20
B
-rw-r--r--
2019-10-13 18:55
idna.h
3.48
KB
-rw-r--r--
2019-10-13 18:55
ieee754.h
4.79
KB
-rw-r--r--
2026-07-21 16:46
ifaddrs.h
2.77
KB
-rw-r--r--
2026-07-21 16:46
inttypes.h
11.61
KB
-rw-r--r--
2026-07-21 16:46
jconfig-64.h
2.17
KB
-rw-r--r--
2025-05-14 14:43
jconfig.h
246
B
-rw-r--r--
2025-05-14 14:43
jerror.h
14.73
KB
-rw-r--r--
2025-05-14 14:43
jmorecfg.h
14.7
KB
-rw-r--r--
2025-05-14 14:43
jpegint.h
15.22
KB
-rw-r--r--
2025-05-14 14:43
jpeglib.h
48.71
KB
-rw-r--r--
2025-05-14 14:43
kdb.h
67.66
KB
-rw-r--r--
2026-05-13 08:34
keyutils.h
7.52
KB
-rw-r--r--
2021-10-08 15:50
krad.h
8.72
KB
-rw-r--r--
2026-05-13 08:34
krb5.h
402
B
-rw-r--r--
2026-05-13 08:34
langinfo.h
17.43
KB
-rw-r--r--
2026-07-21 16:46
lastlog.h
126
B
-rw-r--r--
2026-07-21 16:46
libaio.h
8.73
KB
-rw-r--r--
2019-11-13 14:59
libgen.h
1.35
KB
-rw-r--r--
2026-07-21 16:46
libintl.h
4.47
KB
-rw-r--r--
2026-07-21 16:46
liblsapi-sha1.h
1.46
KB
-rw-r--r--
2026-06-24 22:03
libpq-events.h
2.16
KB
-rw-r--r--
2025-11-10 22:59
libpq-fe.h
22.79
KB
-rw-r--r--
2025-11-10 22:59
limits.h
5.29
KB
-rw-r--r--
2026-07-21 16:46
link.h
7.05
KB
-rw-r--r--
2026-07-21 16:46
locale.h
7.49
KB
-rw-r--r--
2026-07-21 16:46
lsapidef.h
4.85
KB
-rw-r--r--
2026-06-24 22:03
lscapi.h
25.74
KB
-rw-r--r--
2026-06-24 22:03
lscapi_config.h
599
B
-rw-r--r--
2026-06-24 22:03
ltdl.h
5.58
KB
-rw-r--r--
2019-10-11 16:55
lzma.h
9.59
KB
-rw-r--r--
2018-04-29 17:10
malloc.h
5.96
KB
-rw-r--r--
2026-07-21 16:46
math.h
52.07
KB
-rw-r--r--
2026-07-21 16:46
maxminddb.h
7.18
KB
-rw-r--r--
2016-03-23 17:57
maxminddb_config-64.h
507
B
-rw-r--r--
2024-02-12 03:30
maxminddb_config.h
178
B
-rw-r--r--
2024-02-12 03:30
mcheck.h
2.38
KB
-rw-r--r--
2026-07-21 16:46
memory.h
955
B
-rw-r--r--
2026-07-21 16:46
menu.h
11.91
KB
-rw-r--r--
2023-10-14 20:54
mntent.h
3.28
KB
-rw-r--r--
2026-07-21 16:46
monetary.h
1.76
KB
-rw-r--r--
2026-07-21 16:46
mqueue.h
3.67
KB
-rw-r--r--
2026-07-21 16:46
nc_tparm.h
4.1
KB
-rw-r--r--
2023-10-14 20:54
ncurses.h
97.29
KB
-rw-r--r--
2023-10-14 20:54
ncurses_dll.h
4.18
KB
-rw-r--r--
2023-10-14 20:54
ndbm.h
2.4
KB
-rw-r--r--
2022-10-08 15:22
netdb.h
27.44
KB
-rw-r--r--
2026-07-21 16:46
nl_types.h
1.71
KB
-rw-r--r--
2026-07-21 16:46
nss.h
1.83
KB
-rw-r--r--
2026-07-21 16:46
obstack.h
20.81
KB
-rw-r--r--
2026-07-21 16:46
panel.h
4.03
KB
-rw-r--r--
2023-10-14 20:54
paths.h
2.91
KB
-rw-r--r--
2026-07-21 16:46
pcre2.h
43.75
KB
-rw-r--r--
2022-08-02 18:07
pcre2posix.h
5.67
KB
-rw-r--r--
2022-08-02 18:07
pg_config-x86_64.h
32
KB
-rw-r--r--
2026-06-22 08:23
pg_config.h
1.21
KB
-rw-r--r--
2026-06-22 08:23
pg_config_ext-x86_64.h
323
B
-rw-r--r--
2026-06-22 08:23
pg_config_ext.h
1.24
KB
-rw-r--r--
2026-06-22 08:23
pg_config_manual.h
12.71
KB
-rw-r--r--
2026-06-22 08:23
pg_config_os.h
1.03
KB
-rw-r--r--
2025-11-10 22:59
png.h
140.77
KB
-rw-r--r--
2026-06-25 19:21
pngconf.h
22.31
KB
-rw-r--r--
2026-06-25 19:21
pnglibconf.h
7.39
KB
-rw-r--r--
2026-06-25 19:21
poll.h
22
B
-rw-r--r--
2026-07-21 16:46
postgres_ext.h
2.19
KB
-rw-r--r--
2025-11-10 22:59
pr29.h
2.07
KB
-rw-r--r--
2019-10-13 18:55
printf.h
6.64
KB
-rw-r--r--
2026-07-21 16:46
proc_service.h
3.39
KB
-rw-r--r--
2026-07-21 16:46
profile.h
11.87
KB
-rw-r--r--
2026-05-13 08:34
pthread.h
40.3
KB
-rw-r--r--
2026-07-21 16:46
pty.h
1.53
KB
-rw-r--r--
2026-07-21 16:46
punycode.h
9.16
KB
-rw-r--r--
2019-10-13 18:55
pwd.h
6.01
KB
-rw-r--r--
2026-07-21 16:46
re_comp.h
962
B
-rw-r--r--
2026-07-21 16:46
regex.h
24.14
KB
-rw-r--r--
2026-07-21 16:46
regexp.h
1.41
KB
-rw-r--r--
2026-07-21 16:46
resolv.h
11.87
KB
-rw-r--r--
2026-07-21 16:46
sched.h
4.62
KB
-rw-r--r--
2026-07-21 16:46
search.h
5.1
KB
-rw-r--r--
2026-07-21 16:46
semaphore.h
2.34
KB
-rw-r--r--
2026-07-21 16:46
setjmp.h
3.58
KB
-rw-r--r--
2026-07-21 16:46
sgtty.h
1.31
KB
-rw-r--r--
2026-07-21 16:46
shadow.h
5.34
KB
-rw-r--r--
2026-07-21 16:46
signal.h
11.96
KB
-rw-r--r--
2026-07-21 16:46
spawn.h
6.53
KB
-rw-r--r--
2026-07-21 16:46
stab.h
264
B
-rw-r--r--
2026-07-21 16:46
stdc-predef.h
2.24
KB
-rw-r--r--
2026-07-21 16:46
stdint.h
8.27
KB
-rw-r--r--
2026-07-21 16:46
stdio.h
29.46
KB
-rw-r--r--
2026-07-21 16:46
stdio_ext.h
2.73
KB
-rw-r--r--
2026-07-21 16:46
stdlib.h
34.82
KB
-rw-r--r--
2026-07-21 16:46
string.h
17.17
KB
-rw-r--r--
2026-07-21 16:46
stringprep.h
8.03
KB
-rw-r--r--
2019-10-13 18:55
strings.h
4.64
KB
-rw-r--r--
2026-07-21 16:46
syscall.h
25
B
-rw-r--r--
2026-07-21 16:46
sysexits.h
5.11
KB
-rw-r--r--
2026-07-21 16:46
syslog.h
24
B
-rw-r--r--
2026-07-21 16:46
tar.h
3.7
KB
-rw-r--r--
2026-07-21 16:46
term.h
40.22
KB
-rw-r--r--
2023-10-14 20:54
term_entry.h
8.55
KB
-rw-r--r--
2023-10-14 20:54
termcap.h
3.39
KB
-rw-r--r--
2023-10-14 20:54
termio.h
214
B
-rw-r--r--
2026-07-21 16:46
termios.h
3.51
KB
-rw-r--r--
2026-07-21 16:46
tgmath.h
30.75
KB
-rw-r--r--
2026-07-21 16:46
thread_db.h
15.65
KB
-rw-r--r--
2026-07-21 16:46
threads.h
6.5
KB
-rw-r--r--
2026-07-21 16:46
tic.h
13.32
KB
-rw-r--r--
2023-10-14 20:54
tiff.h
35.14
KB
-rw-r--r--
2026-05-11 23:20
tiffconf-64.h
3.35
KB
-rw-r--r--
2026-05-11 23:20
tiffconf.h
250
B
-rw-r--r--
2026-05-11 23:20
tiffio.h
22.68
KB
-rw-r--r--
2026-05-11 23:20
tiffio.hxx
1.66
KB
-rw-r--r--
2026-05-11 23:20
tiffvers.h
410
B
-rw-r--r--
2026-05-11 23:20
time.h
10.12
KB
-rw-r--r--
2026-07-21 16:46
tld.h
4.54
KB
-rw-r--r--
2019-10-13 18:55
ttyent.h
2.44
KB
-rw-r--r--
2026-07-21 16:46
uchar.h
1.95
KB
-rw-r--r--
2026-07-21 16:46
ucontext.h
1.99
KB
-rw-r--r--
2026-07-21 16:46
ulimit.h
1.55
KB
-rw-r--r--
2026-07-21 16:46
unctrl.h
3.03
KB
-rw-r--r--
2023-10-14 20:54
unistd.h
41.74
KB
-rw-r--r--
2026-07-21 16:46
utime.h
1.47
KB
-rw-r--r--
2026-07-21 16:46
utmp.h
3.15
KB
-rw-r--r--
2026-07-21 16:46
utmpx.h
4
KB
-rw-r--r--
2026-07-21 16:46
values.h
1.91
KB
-rw-r--r--
2026-07-21 16:46
verto-module.h
6.48
KB
-rw-r--r--
2022-10-08 09:49
verto.h
18.98
KB
-rw-r--r--
2022-10-08 09:49
wait.h
22
B
-rw-r--r--
2026-07-21 16:46
wchar.h
30.38
KB
-rw-r--r--
2026-07-21 16:46
wctype.h
5.42
KB
-rw-r--r--
2026-07-21 16:46
wordexp.h
2.44
KB
-rw-r--r--
2026-07-21 16:46
zconf.h
15.88
KB
-rw-r--r--
2023-10-12 00:02
zlib.h
94
KB
-rw-r--r--
2023-10-12 00:02
Save
Rename
/**************************************************************************** * Copyright (c) 1998-2016,2017 Free Software Foundation, Inc. * * * * 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, distribute with modifications, 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 ABOVE 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. * * * * Except as contained in this notice, the name(s) of the above copyright * * holders shall not be used in advertising or otherwise to promote the * * sale, use or other dealings in this Software without prior written * * authorization. * ****************************************************************************/ /**************************************************************************** * Author: Juergen Pfeifer, 1995,1997 * ****************************************************************************/ /* $Id: form.h,v 0.27 2017/02/11 16:35:42 tom Exp $ */ #ifndef FORM_H #define FORM_H /* *INDENT-OFF*/ #include <curses.h> #include <eti.h> #ifdef __cplusplus extern "C" { #endif #ifndef FORM_PRIV_H typedef void *FIELD_CELL; #endif #ifndef NCURSES_FIELD_INTERNALS #define NCURSES_FIELD_INTERNALS /* nothing */ #endif typedef int Form_Options; typedef int Field_Options; /********** * _PAGE * **********/ typedef struct pagenode #if !NCURSES_OPAQUE_FORM { short pmin; /* index of first field on page */ short pmax; /* index of last field on page */ short smin; /* index of top leftmost field on page */ short smax; /* index of bottom rightmost field on page */ } #endif /* !NCURSES_OPAQUE_FORM */ _PAGE; /********** * FIELD * **********/ typedef struct fieldnode #if 1 /* not yet: !NCURSES_OPAQUE_FORM */ { unsigned short status; /* flags */ short rows; /* size in rows */ short cols; /* size in cols */ short frow; /* first row */ short fcol; /* first col */ int drows; /* dynamic rows */ int dcols; /* dynamic cols */ int maxgrow; /* maximum field growth */ int nrow; /* off-screen rows */ short nbuf; /* additional buffers */ short just; /* justification */ short page; /* page on form */ short index; /* into form -> field */ int pad; /* pad character */ chtype fore; /* foreground attribute */ chtype back; /* background attribute */ Field_Options opts; /* options */ struct fieldnode * snext; /* sorted order pointer */ struct fieldnode * sprev; /* sorted order pointer */ struct fieldnode * link; /* linked field chain */ struct formnode * form; /* containing form */ struct typenode * type; /* field type */ void * arg; /* argument for type */ FIELD_CELL * buf; /* field buffers */ void * usrptr; /* user pointer */ /* * The wide-character configuration requires extra information. Because * there are existing applications that manipulate the members of FIELD * directly, we cannot make the struct opaque, except by changing the ABI. * Offsets of members up to this point are the same in the narrow- and * wide-character configuration. But note that the type of buf depends on * the configuration, and is made opaque for that reason. */ NCURSES_FIELD_INTERNALS } #endif /* NCURSES_OPAQUE_FORM */ FIELD; /********* * FORM * *********/ typedef struct formnode #if 1 /* not yet: !NCURSES_OPAQUE_FORM */ { unsigned short status; /* flags */ short rows; /* size in rows */ short cols; /* size in cols */ int currow; /* current row in field window */ int curcol; /* current col in field window */ int toprow; /* in scrollable field window */ int begincol; /* in horiz. scrollable field */ short maxfield; /* number of fields */ short maxpage; /* number of pages */ short curpage; /* index into page */ Form_Options opts; /* options */ WINDOW * win; /* window */ WINDOW * sub; /* subwindow */ WINDOW * w; /* window for current field */ FIELD ** field; /* field [maxfield] */ FIELD * current; /* current field */ _PAGE * page; /* page [maxpage] */ void * usrptr; /* user pointer */ void (*forminit)(struct formnode *); void (*formterm)(struct formnode *); void (*fieldinit)(struct formnode *); void (*fieldterm)(struct formnode *); } #endif /* !NCURSES_OPAQUE_FORM */ FORM; /************** * FIELDTYPE * **************/ typedef struct typenode #if !NCURSES_OPAQUE_FORM { unsigned short status; /* flags */ long ref; /* reference count */ struct typenode * left; /* ptr to operand for | */ struct typenode * right; /* ptr to operand for | */ void* (*makearg)(va_list *); /* make fieldtype arg */ void* (*copyarg)(const void *); /* copy fieldtype arg */ void (*freearg)(void *); /* free fieldtype arg */ #if NCURSES_INTEROP_FUNCS union { bool (*ofcheck)(FIELD *,const void *); /* field validation */ bool (*gfcheck)(FORM*,FIELD *,const void*); /* generic field validation */ } fieldcheck; union { bool (*occheck)(int,const void *); /* character validation */ bool (*gccheck)(int,FORM*, FIELD*,const void*); /* generic char validation */ } charcheck; union { bool (*onext)(FIELD *,const void *); /* enumerate next value */ bool (*gnext)(FORM*,FIELD*,const void*); /* generic enumerate next */ } enum_next; union { bool (*oprev)(FIELD *,const void *); /* enumerate prev value */ bool (*gprev)(FORM*,FIELD*,const void*); /* generic enumerate prev */ } enum_prev; void* (*genericarg)(void*); /* Alternate Arg method */ #else bool (*fcheck)(FIELD *,const void *); /* field validation */ bool (*ccheck)(int,const void *); /* character validation */ bool (*next)(FIELD *,const void *); /* enumerate next value */ bool (*prev)(FIELD *,const void *); /* enumerate prev value */ #endif } #endif /* !NCURSES_OPAQUE_FORM */ FIELDTYPE; typedef void (*Form_Hook)(FORM *); /*************************** * miscellaneous #defines * ***************************/ /* field justification */ #define NO_JUSTIFICATION (0) #define JUSTIFY_LEFT (1) #define JUSTIFY_CENTER (2) #define JUSTIFY_RIGHT (3) /* field options */ #define O_VISIBLE (0x0001U) #define O_ACTIVE (0x0002U) #define O_PUBLIC (0x0004U) #define O_EDIT (0x0008U) #define O_WRAP (0x0010U) #define O_BLANK (0x0020U) #define O_AUTOSKIP (0x0040U) #define O_NULLOK (0x0080U) #define O_PASSOK (0x0100U) #define O_STATIC (0x0200U) #define O_DYNAMIC_JUSTIFY (0x0400U) /* ncurses extension */ #define O_NO_LEFT_STRIP (0x0800U) /* ncurses extension */ /* form options */ #define O_NL_OVERLOAD (0x0001U) #define O_BS_OVERLOAD (0x0002U) /* form driver commands */ #define REQ_NEXT_PAGE (KEY_MAX + 1) /* move to next page */ #define REQ_PREV_PAGE (KEY_MAX + 2) /* move to previous page */ #define REQ_FIRST_PAGE (KEY_MAX + 3) /* move to first page */ #define REQ_LAST_PAGE (KEY_MAX + 4) /* move to last page */ #define REQ_NEXT_FIELD (KEY_MAX + 5) /* move to next field */ #define REQ_PREV_FIELD (KEY_MAX + 6) /* move to previous field */ #define REQ_FIRST_FIELD (KEY_MAX + 7) /* move to first field */ #define REQ_LAST_FIELD (KEY_MAX + 8) /* move to last field */ #define REQ_SNEXT_FIELD (KEY_MAX + 9) /* move to sorted next field */ #define REQ_SPREV_FIELD (KEY_MAX + 10) /* move to sorted prev field */ #define REQ_SFIRST_FIELD (KEY_MAX + 11) /* move to sorted first field */ #define REQ_SLAST_FIELD (KEY_MAX + 12) /* move to sorted last field */ #define REQ_LEFT_FIELD (KEY_MAX + 13) /* move to left to field */ #define REQ_RIGHT_FIELD (KEY_MAX + 14) /* move to right to field */ #define REQ_UP_FIELD (KEY_MAX + 15) /* move to up to field */ #define REQ_DOWN_FIELD (KEY_MAX + 16) /* move to down to field */ #define REQ_NEXT_CHAR (KEY_MAX + 17) /* move to next char in field */ #define REQ_PREV_CHAR (KEY_MAX + 18) /* move to prev char in field */ #define REQ_NEXT_LINE (KEY_MAX + 19) /* move to next line in field */ #define REQ_PREV_LINE (KEY_MAX + 20) /* move to prev line in field */ #define REQ_NEXT_WORD (KEY_MAX + 21) /* move to next word in field */ #define REQ_PREV_WORD (KEY_MAX + 22) /* move to prev word in field */ #define REQ_BEG_FIELD (KEY_MAX + 23) /* move to first char in field */ #define REQ_END_FIELD (KEY_MAX + 24) /* move after last char in fld */ #define REQ_BEG_LINE (KEY_MAX + 25) /* move to beginning of line */ #define REQ_END_LINE (KEY_MAX + 26) /* move after last char in line */ #define REQ_LEFT_CHAR (KEY_MAX + 27) /* move left in field */ #define REQ_RIGHT_CHAR (KEY_MAX + 28) /* move right in field */ #define REQ_UP_CHAR (KEY_MAX + 29) /* move up in field */ #define REQ_DOWN_CHAR (KEY_MAX + 30) /* move down in field */ #define REQ_NEW_LINE (KEY_MAX + 31) /* insert/overlay new line */ #define REQ_INS_CHAR (KEY_MAX + 32) /* insert blank char at cursor */ #define REQ_INS_LINE (KEY_MAX + 33) /* insert blank line at cursor */ #define REQ_DEL_CHAR (KEY_MAX + 34) /* delete char at cursor */ #define REQ_DEL_PREV (KEY_MAX + 35) /* delete char before cursor */ #define REQ_DEL_LINE (KEY_MAX + 36) /* delete line at cursor */ #define REQ_DEL_WORD (KEY_MAX + 37) /* delete word at cursor */ #define REQ_CLR_EOL (KEY_MAX + 38) /* clear to end of line */ #define REQ_CLR_EOF (KEY_MAX + 39) /* clear to end of field */ #define REQ_CLR_FIELD (KEY_MAX + 40) /* clear entire field */ #define REQ_OVL_MODE (KEY_MAX + 41) /* begin overlay mode */ #define REQ_INS_MODE (KEY_MAX + 42) /* begin insert mode */ #define REQ_SCR_FLINE (KEY_MAX + 43) /* scroll field forward a line */ #define REQ_SCR_BLINE (KEY_MAX + 44) /* scroll field backward a line */ #define REQ_SCR_FPAGE (KEY_MAX + 45) /* scroll field forward a page */ #define REQ_SCR_BPAGE (KEY_MAX + 46) /* scroll field backward a page */ #define REQ_SCR_FHPAGE (KEY_MAX + 47) /* scroll field forward half page */ #define REQ_SCR_BHPAGE (KEY_MAX + 48) /* scroll field backward half page */ #define REQ_SCR_FCHAR (KEY_MAX + 49) /* horizontal scroll char */ #define REQ_SCR_BCHAR (KEY_MAX + 50) /* horizontal scroll char */ #define REQ_SCR_HFLINE (KEY_MAX + 51) /* horizontal scroll line */ #define REQ_SCR_HBLINE (KEY_MAX + 52) /* horizontal scroll line */ #define REQ_SCR_HFHALF (KEY_MAX + 53) /* horizontal scroll half line */ #define REQ_SCR_HBHALF (KEY_MAX + 54) /* horizontal scroll half line */ #define REQ_VALIDATION (KEY_MAX + 55) /* validate field */ #define REQ_NEXT_CHOICE (KEY_MAX + 56) /* display next field choice */ #define REQ_PREV_CHOICE (KEY_MAX + 57) /* display prev field choice */ #define MIN_FORM_COMMAND (KEY_MAX + 1) /* used by form_driver */ #define MAX_FORM_COMMAND (KEY_MAX + 57) /* used by form_driver */ #if defined(MAX_COMMAND) # if (MAX_FORM_COMMAND > MAX_COMMAND) # error Something is wrong -- MAX_FORM_COMMAND is greater than MAX_COMMAND # elif (MAX_COMMAND != (KEY_MAX + 128)) # error Something is wrong -- MAX_COMMAND is already inconsistently defined. # endif #else # define MAX_COMMAND (KEY_MAX + 128) #endif /************************* * standard field types * *************************/ extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_ALPHA; extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_ALNUM; extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_ENUM; extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_INTEGER; extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_NUMERIC; extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_REGEXP; /************************************ * built-in additional field types * * They are not defined in SVr4 * ************************************/ extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_IPV4; /* Internet IP Version 4 address */ /*********************** * FIELDTYPE routines * ***********************/ extern NCURSES_EXPORT(FIELDTYPE *) new_fieldtype ( bool (* const field_check)(FIELD *,const void *), bool (* const char_check)(int,const void *)); extern NCURSES_EXPORT(FIELDTYPE *) link_fieldtype( FIELDTYPE *, FIELDTYPE *); extern NCURSES_EXPORT(int) free_fieldtype (FIELDTYPE *); extern NCURSES_EXPORT(int) set_fieldtype_arg (FIELDTYPE *, void * (* const make_arg)(va_list *), void * (* const copy_arg)(const void *), void (* const free_arg)(void *)); extern NCURSES_EXPORT(int) set_fieldtype_choice (FIELDTYPE *, bool (* const next_choice)(FIELD *,const void *), bool (* const prev_choice)(FIELD *,const void *)); /******************* * FIELD routines * *******************/ extern NCURSES_EXPORT(FIELD *) new_field (int,int,int,int,int,int); extern NCURSES_EXPORT(FIELD *) dup_field (FIELD *,int,int); extern NCURSES_EXPORT(FIELD *) link_field (FIELD *,int,int); extern NCURSES_EXPORT(int) free_field (FIELD *); extern NCURSES_EXPORT(int) field_info (const FIELD *,int *,int *,int *,int *,int *,int *); extern NCURSES_EXPORT(int) dynamic_field_info (const FIELD *,int *,int *,int *); extern NCURSES_EXPORT(int) set_max_field ( FIELD *,int); extern NCURSES_EXPORT(int) move_field (FIELD *,int,int); extern NCURSES_EXPORT(int) set_field_type (FIELD *,FIELDTYPE *,...); extern NCURSES_EXPORT(int) set_new_page (FIELD *,bool); extern NCURSES_EXPORT(int) set_field_just (FIELD *,int); extern NCURSES_EXPORT(int) field_just (const FIELD *); extern NCURSES_EXPORT(int) set_field_fore (FIELD *,chtype); extern NCURSES_EXPORT(int) set_field_back (FIELD *,chtype); extern NCURSES_EXPORT(int) set_field_pad (FIELD *,int); extern NCURSES_EXPORT(int) field_pad (const FIELD *); extern NCURSES_EXPORT(int) set_field_buffer (FIELD *,int,const char *); extern NCURSES_EXPORT(int) set_field_status (FIELD *,bool); extern NCURSES_EXPORT(int) set_field_userptr (FIELD *, void *); extern NCURSES_EXPORT(int) set_field_opts (FIELD *,Field_Options); extern NCURSES_EXPORT(int) field_opts_on (FIELD *,Field_Options); extern NCURSES_EXPORT(int) field_opts_off (FIELD *,Field_Options); extern NCURSES_EXPORT(chtype) field_fore (const FIELD *); extern NCURSES_EXPORT(chtype) field_back (const FIELD *); extern NCURSES_EXPORT(bool) new_page (const FIELD *); extern NCURSES_EXPORT(bool) field_status (const FIELD *); extern NCURSES_EXPORT(void *) field_arg (const FIELD *); extern NCURSES_EXPORT(void *) field_userptr (const FIELD *); extern NCURSES_EXPORT(FIELDTYPE *) field_type (const FIELD *); extern NCURSES_EXPORT(char *) field_buffer (const FIELD *,int); extern NCURSES_EXPORT(Field_Options) field_opts (const FIELD *); /****************** * FORM routines * ******************/ extern NCURSES_EXPORT(FORM *) new_form (FIELD **); extern NCURSES_EXPORT(FIELD **) form_fields (const FORM *); extern NCURSES_EXPORT(FIELD *) current_field (const FORM *); extern NCURSES_EXPORT(WINDOW *) form_win (const FORM *); extern NCURSES_EXPORT(WINDOW *) form_sub (const FORM *); extern NCURSES_EXPORT(Form_Hook) form_init (const FORM *); extern NCURSES_EXPORT(Form_Hook) form_term (const FORM *); extern NCURSES_EXPORT(Form_Hook) field_init (const FORM *); extern NCURSES_EXPORT(Form_Hook) field_term (const FORM *); extern NCURSES_EXPORT(int) free_form (FORM *); extern NCURSES_EXPORT(int) set_form_fields (FORM *,FIELD **); extern NCURSES_EXPORT(int) field_count (const FORM *); extern NCURSES_EXPORT(int) set_form_win (FORM *,WINDOW *); extern NCURSES_EXPORT(int) set_form_sub (FORM *,WINDOW *); extern NCURSES_EXPORT(int) set_current_field (FORM *,FIELD *); extern NCURSES_EXPORT(int) unfocus_current_field (FORM *); extern NCURSES_EXPORT(int) field_index (const FIELD *); extern NCURSES_EXPORT(int) set_form_page (FORM *,int); extern NCURSES_EXPORT(int) form_page (const FORM *); extern NCURSES_EXPORT(int) scale_form (const FORM *,int *,int *); extern NCURSES_EXPORT(int) set_form_init (FORM *,Form_Hook); extern NCURSES_EXPORT(int) set_form_term (FORM *,Form_Hook); extern NCURSES_EXPORT(int) set_field_init (FORM *,Form_Hook); extern NCURSES_EXPORT(int) set_field_term (FORM *,Form_Hook); extern NCURSES_EXPORT(int) post_form (FORM *); extern NCURSES_EXPORT(int) unpost_form (FORM *); extern NCURSES_EXPORT(int) pos_form_cursor (FORM *); extern NCURSES_EXPORT(int) form_driver (FORM *,int); # if NCURSES_WIDECHAR extern NCURSES_EXPORT(int) form_driver_w (FORM *,int,wchar_t); # endif extern NCURSES_EXPORT(int) set_form_userptr (FORM *,void *); extern NCURSES_EXPORT(int) set_form_opts (FORM *,Form_Options); extern NCURSES_EXPORT(int) form_opts_on (FORM *,Form_Options); extern NCURSES_EXPORT(int) form_opts_off (FORM *,Form_Options); extern NCURSES_EXPORT(int) form_request_by_name (const char *); extern NCURSES_EXPORT(const char *) form_request_name (int); extern NCURSES_EXPORT(void *) form_userptr (const FORM *); extern NCURSES_EXPORT(Form_Options) form_opts (const FORM *); extern NCURSES_EXPORT(bool) data_ahead (const FORM *); extern NCURSES_EXPORT(bool) data_behind (const FORM *); #if NCURSES_SP_FUNCS extern NCURSES_EXPORT(FORM *) NCURSES_SP_NAME(new_form) (SCREEN*, FIELD **); #endif #ifdef __cplusplus } #endif /* *INDENT-ON*/ #endif /* FORM_H */