Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
Delete
Unzip
Name
Size
Permission
Date
Action
X11
[ DIR ]
drwxr-xr-x
2025-06-04 09:25
arpa
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
asm-generic
[ DIR ]
drwxrwxrwx
2024-03-12 22:00
bsd
[ DIR ]
drwxr-xr-x
2024-03-12 14:15
c++
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
editline
[ DIR ]
drwxr-xr-x
2024-03-12 14:15
enchant
[ DIR ]
drwxr-xr-x
2024-03-12 14:18
fontconfig
[ DIR ]
drwxr-xr-x
2025-06-04 09:25
freetype2
[ DIR ]
drwxr-xr-x
2024-03-12 14:15
gio-unix-2.0
[ DIR ]
drwxr-xr-x
2024-03-12 14:18
glib-2.0
[ DIR ]
drwxr-xr-x
2024-03-12 14:18
layout
[ DIR ]
drwxr-xr-x
2024-03-12 14:15
libltdl
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
libpng
[ DIR ]
drwxr-xr-x
2024-03-12 14:15
libpng16
[ DIR ]
drwxr-xr-x
2024-03-12 14:15
libxml2
[ DIR ]
drwxr-xr-x
2024-03-12 14:15
linux
[ DIR ]
drwxrwxrwx
2024-03-12 22:00
lzma
[ DIR ]
drwxr-xr-x
2025-06-04 09:25
memcached
[ DIR ]
drwxrwxrwx
2020-08-24 23:50
misc
[ DIR ]
drwxrwxrwx
2024-03-12 22:00
mtd
[ DIR ]
drwxrwxrwx
2024-03-12 22:00
ncursesw
[ DIR ]
drwxr-xr-x
2025-06-04 09:25
net
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
netash
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
netatalk
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
netax25
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
neteconet
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
netinet
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
netipx
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
netiucv
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
netpacket
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
netrom
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
netrose
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
nfs
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
node
[ DIR ]
drwxr-xr-x
2024-03-12 22:00
openssl
[ DIR ]
drwxrwxrwx
2024-03-12 14:15
php
[ DIR ]
drwxrwxrwx
2020-08-24 23:50
postgresql
[ DIR ]
drwxr-xr-x
2024-03-12 14:15
protocols
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
python3.5
[ DIR ]
drwxr-xr-x
2025-04-10 17:07
python3.5m
[ DIR ]
drwxr-xr-x
2025-04-10 17:07
rdma
[ DIR ]
drwxrwxrwx
2024-03-12 22:00
readline
[ DIR ]
drwxr-xr-x
2024-03-12 14:15
rpc
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
rpcsvc
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
scsi
[ DIR ]
drwxrwxrwx
2020-08-24 23:49
sodium
[ DIR ]
drwxr-xr-x
2024-03-12 14:15
sound
[ DIR ]
drwxrwxrwx
2024-03-12 22:00
tcl
[ DIR ]
drwxr-xr-x
2025-06-04 09:25
tcl8.6
[ DIR ]
drwxr-xr-x
2025-06-04 09:25
tk
[ DIR ]
drwxr-xr-x
2025-06-04 09:25
uapi
[ DIR ]
drwxrwxrwx
2020-07-05 23:29
unicode
[ DIR ]
drwxr-xr-x
2024-03-12 14:15
video
[ DIR ]
drwxrwxrwx
2024-03-12 22:00
webp
[ DIR ]
drwxr-xr-x
2024-03-12 14:15
x86_64-linux-gnu
[ DIR ]
drwxrwxrwx
2025-06-04 09:25
xcb
[ DIR ]
drwxr-xr-x
2025-06-04 09:25
xen
[ DIR ]
drwxrwxrwx
2024-03-12 22:00
_G_config.h
1.26
KB
-rwxrwxrwx
2019-02-06 22:17
aio.h
7.27
KB
-rwxrwxrwx
2019-02-06 22:17
aliases.h
1.98
KB
-rwxrwxrwx
2019-02-06 22:17
alloca.h
1.17
KB
-rwxrwxrwx
2019-02-06 22:17
ar.h
1.69
KB
-rwxrwxrwx
2019-02-06 22:17
argon2.h
13.46
KB
-rw-r--r--
2016-08-21 20:33
argp.h
24.71
KB
-rwxrwxrwx
2019-02-06 22:17
argz.h
6.95
KB
-rwxrwxrwx
2019-02-06 22:17
assert.h
3.5
KB
-rwxrwxrwx
2019-02-06 22:17
byteswap.h
1.37
KB
-rwxrwxrwx
2019-02-06 22:17
bzlib.h
6.1
KB
-rw-r--r--
2017-01-29 19:30
clif.h
4.44
KB
-rwxrwxrwx
2016-08-29 17:45
complex.h
3.56
KB
-rwxrwxrwx
2019-02-06 22:17
cpio.h
2.21
KB
-rwxrwxrwx
2019-02-06 22:17
crypt.h
2.21
KB
-rwxrwxrwx
2019-02-06 22:17
ctype.h
11.38
KB
-rwxrwxrwx
2019-02-06 22:17
curses.h
76.93
KB
-rw-r--r--
2017-12-28 10:47
cursesapp.h
6.62
KB
-rw-r--r--
2017-12-28 10:47
cursesf.h
27.2
KB
-rw-r--r--
2017-12-28 10:47
cursesm.h
19.22
KB
-rw-r--r--
2017-12-28 10:47
cursesp.h
8.4
KB
-rw-r--r--
2017-12-28 10:47
cursesw.h
48.37
KB
-rw-r--r--
2017-12-28 10:47
cursslk.h
7.13
KB
-rw-r--r--
2017-12-28 10:47
db.h
120.22
KB
-rw-r--r--
2017-09-24 09:14
db_185.h
5.84
KB
-rw-r--r--
2017-09-24 09:14
dbm.h
1.53
KB
-rw-r--r--
2016-06-07 11:32
dirent.h
12.19
KB
-rwxrwxrwx
2019-02-06 22:17
dlfcn.h
6.85
KB
-rwxrwxrwx
2019-02-06 22:17
elf.h
161.85
KB
-rwxrwxrwx
2019-02-06 22:17
endian.h
2.87
KB
-rwxrwxrwx
2019-02-06 22:17
envz.h
2.8
KB
-rwxrwxrwx
2019-02-06 22:17
err.h
2.16
KB
-rwxrwxrwx
2019-02-06 22:17
errno.h
2.31
KB
-rwxrwxrwx
2019-02-06 22:17
error.h
1.99
KB
-rwxrwxrwx
2019-02-06 22:17
eti.h
2.82
KB
-rw-r--r--
2017-12-28 10:47
etip.h
9.04
KB
-rw-r--r--
2017-12-28 10:47
execinfo.h
1.49
KB
-rwxrwxrwx
2019-02-06 22:17
expat.h
41.34
KB
-rw-r--r--
2022-03-03 10:03
expat_external.h
3.77
KB
-rw-r--r--
2022-03-03 10:03
fcntl.h
9.24
KB
-rwxrwxrwx
2019-02-06 22:17
features.h
12.76
KB
-rwxrwxrwx
2019-02-06 22:17
fenv.h
4.5
KB
-rwxrwxrwx
2019-02-06 22:17
fmtmsg.h
3.16
KB
-rwxrwxrwx
2019-02-06 22:17
fnmatch.h
2.24
KB
-rwxrwxrwx
2019-02-06 22:17
form.h
17.87
KB
-rw-r--r--
2017-12-28 10:47
fstab.h
3.04
KB
-rwxrwxrwx
2019-02-06 22:17
fts.h
8.12
KB
-rwxrwxrwx
2019-02-06 22:17
ftw.h
5.13
KB
-rwxrwxrwx
2019-02-06 22:17
gawkapi.h
30.31
KB
-rwxrwxrwx
2017-01-25 17:06
gconv.h
4.3
KB
-rwxrwxrwx
2019-02-06 22:17
gdbm-ndbm.h
1.96
KB
-rw-r--r--
2016-06-07 11:32
gdbm.h
4.63
KB
-rw-r--r--
2016-06-07 11:32
getopt.h
6.49
KB
-rwxrwxrwx
2019-02-06 22:17
glob.h
6.45
KB
-rwxrwxrwx
2019-02-06 22:17
gnu-versions.h
2.29
KB
-rwxrwxrwx
2019-02-06 22:17
gnumake.h
2.84
KB
-rwxrwxrwx
2017-01-31 17:31
grp.h
6.54
KB
-rwxrwxrwx
2019-02-06 22:17
gshadow.h
4.43
KB
-rwxrwxrwx
2019-02-06 22:17
histedit.h
9.07
KB
-rw-r--r--
2017-01-18 13:23
iconv.h
1.81
KB
-rwxrwxrwx
2019-02-06 22:17
ifaddrs.h
2.77
KB
-rwxrwxrwx
2019-02-06 22:17
inttypes.h
11.61
KB
-rwxrwxrwx
2019-02-06 22:17
jerror.h
14.73
KB
-rw-r--r--
2022-05-31 14:07
jmorecfg.h
14.7
KB
-rw-r--r--
2022-05-31 14:07
jpegint.h
15.22
KB
-rw-r--r--
2016-09-21 01:36
jpeglib.h
48.71
KB
-rw-r--r--
2022-05-31 14:07
langinfo.h
15.55
KB
-rwxrwxrwx
2019-02-06 22:17
lastlog.h
126
B
-rwxrwxrwx
2019-02-06 22:17
libgen.h
1.35
KB
-rwxrwxrwx
2019-02-06 22:17
libintl.h
4.47
KB
-rwxrwxrwx
2019-02-06 22:17
libio.h
16.78
KB
-rwxrwxrwx
2019-02-06 22:17
limits.h
4.38
KB
-rwxrwxrwx
2019-02-06 22:17
link.h
7.04
KB
-rwxrwxrwx
2019-02-06 22:17
locale.h
7.75
KB
-rwxrwxrwx
2019-02-06 22:17
ltdl.h
5.58
KB
-rwxrwxrwx
2016-08-20 14:34
lzma.h
9.51
KB
-rw-r--r--
2022-04-10 10:53
malloc.h
5.87
KB
-rwxrwxrwx
2019-02-06 22:17
math.h
17.94
KB
-rwxrwxrwx
2019-02-06 22:17
mcheck.h
2.38
KB
-rwxrwxrwx
2019-02-06 22:17
memory.h
955
B
-rwxrwxrwx
2019-02-06 22:17
menu.h
11.7
KB
-rw-r--r--
2017-12-28 10:47
mntent.h
3.29
KB
-rwxrwxrwx
2019-02-06 22:17
monetary.h
1.69
KB
-rwxrwxrwx
2019-02-06 22:17
mqueue.h
3.69
KB
-rwxrwxrwx
2019-02-06 22:17
nc_tparm.h
4.05
KB
-rw-r--r--
2017-12-28 10:47
ncurses.h
76.93
KB
-rw-r--r--
2017-12-28 10:47
ncurses_dll.h
4.18
KB
-rw-r--r--
2017-12-28 10:47
netdb.h
27.4
KB
-rwxrwxrwx
2019-02-06 22:17
nl_types.h
1.71
KB
-rwxrwxrwx
2019-02-06 22:17
nss.h
1.83
KB
-rwxrwxrwx
2019-02-06 22:17
obstack.h
20.81
KB
-rwxrwxrwx
2019-02-06 22:17
oniggnu.h
3.35
KB
-rw-r--r--
2021-01-30 22:28
onigposix.h
5.62
KB
-rw-r--r--
2021-01-30 22:28
oniguruma.h
36.19
KB
-rw-r--r--
2021-01-30 22:28
panel.h
3.97
KB
-rw-r--r--
2017-12-28 10:47
paths.h
2.91
KB
-rwxrwxrwx
2019-02-06 22:17
pcre.h
30.96
KB
-rwxrwxrwx
2017-03-21 23:03
pcre_scanner.h
6.45
KB
-rwxrwxrwx
2017-03-21 23:03
pcre_stringpiece.h
6.16
KB
-rwxrwxrwx
2017-03-21 23:03
pcrecpp.h
26.02
KB
-rwxrwxrwx
2017-03-21 23:03
pcrecpparg.h
6.62
KB
-rwxrwxrwx
2017-03-21 23:03
pcreposix.h
5.5
KB
-rwxrwxrwx
2017-03-21 23:03
png.h
139.89
KB
-rw-r--r--
2019-04-18 22:12
pngconf.h
22.31
KB
-rw-r--r--
2019-04-18 22:12
pnglibconf.h
7.21
KB
-rw-r--r--
2019-04-18 22:12
poll.h
22
B
-rwxrwxrwx
2019-02-06 22:17
printf.h
6.54
KB
-rwxrwxrwx
2019-02-06 22:17
pthread.h
40.26
KB
-rwxrwxrwx
2019-02-06 22:17
pty.h
1.53
KB
-rwxrwxrwx
2019-02-06 22:17
pwd.h
5.9
KB
-rwxrwxrwx
2019-02-06 22:17
re_comp.h
962
B
-rwxrwxrwx
2019-02-06 22:17
regex.h
21.53
KB
-rwxrwxrwx
2019-02-06 22:17
regexp.h
1.41
KB
-rwxrwxrwx
2019-02-06 22:17
resolv.h
14.48
KB
-rwxrwxrwx
2019-02-06 22:17
sched.h
4.55
KB
-rwxrwxrwx
2019-02-06 22:17
search.h
5.1
KB
-rwxrwxrwx
2019-02-06 22:17
semaphore.h
2.35
KB
-rwxrwxrwx
2019-02-06 22:17
setjmp.h
3.69
KB
-rwxrwxrwx
2019-02-06 22:17
sgtty.h
1.31
KB
-rwxrwxrwx
2019-02-06 22:17
shadow.h
5.08
KB
-rwxrwxrwx
2019-02-06 22:17
signal.h
11.93
KB
-rwxrwxrwx
2019-02-06 22:17
sodium.h
2
KB
-rw-r--r--
2017-04-16 12:14
spawn.h
6.51
KB
-rwxrwxrwx
2019-02-06 22:17
sqlite3.h
483.06
KB
-rw-r--r--
2020-12-10 14:31
sqlite3ext.h
29.3
KB
-rw-r--r--
2020-12-10 14:31
stab.h
264
B
-rwxrwxrwx
2019-02-06 22:17
stdc-predef.h
2.34
KB
-rwxrwxrwx
2019-02-06 22:17
stdint.h
7.9
KB
-rwxrwxrwx
2019-02-06 22:17
stdio.h
30.76
KB
-rwxrwxrwx
2019-02-06 22:17
stdio_ext.h
2.73
KB
-rwxrwxrwx
2019-02-06 22:17
stdlib.h
31.9
KB
-rwxrwxrwx
2019-02-06 22:17
string.h
22.09
KB
-rwxrwxrwx
2019-02-06 22:17
strings.h
4.51
KB
-rwxrwxrwx
2019-02-06 22:17
stropts.h
2.98
KB
-rwxrwxrwx
2019-02-06 22:17
sudo_plugin.h
7.83
KB
-rw-r--r--
2021-01-23 10:10
syscall.h
25
B
-rwxrwxrwx
2019-02-06 22:17
sysexits.h
5.11
KB
-rwxrwxrwx
2019-02-06 22:17
syslog.h
24
B
-rwxrwxrwx
2019-02-06 22:17
tar.h
3.7
KB
-rwxrwxrwx
2019-02-06 22:17
term.h
38.8
KB
-rw-r--r--
2017-12-28 10:47
term_entry.h
8.05
KB
-rw-r--r--
2017-12-28 10:47
termcap.h
3.39
KB
-rw-r--r--
2017-12-28 10:47
termio.h
214
B
-rwxrwxrwx
2019-02-06 22:17
termios.h
3.51
KB
-rwxrwxrwx
2019-02-06 22:17
tgmath.h
18.23
KB
-rwxrwxrwx
2019-02-06 22:17
thread_db.h
15.64
KB
-rwxrwxrwx
2019-02-06 22:17
tic.h
12.35
KB
-rw-r--r--
2017-12-28 10:47
time.h
13.23
KB
-rwxrwxrwx
2019-02-06 22:17
ttyent.h
2.44
KB
-rwxrwxrwx
2019-02-06 22:17
uchar.h
2.42
KB
-rwxrwxrwx
2019-02-06 22:17
ucontext.h
1.89
KB
-rwxrwxrwx
2019-02-06 22:17
ulimit.h
1.55
KB
-rwxrwxrwx
2019-02-06 22:17
unctrl.h
3.03
KB
-rw-r--r--
2017-12-28 10:47
unistd.h
41.45
KB
-rwxrwxrwx
2019-02-06 22:17
ustat.h
23
B
-rwxrwxrwx
2019-02-06 22:17
utime.h
1.48
KB
-rwxrwxrwx
2019-02-06 22:17
utmp.h
3.15
KB
-rwxrwxrwx
2019-02-06 22:17
utmpx.h
4
KB
-rwxrwxrwx
2019-02-06 22:17
values.h
1.91
KB
-rwxrwxrwx
2019-02-06 22:17
wait.h
22
B
-rwxrwxrwx
2019-02-06 22:17
wchar.h
31.37
KB
-rwxrwxrwx
2019-02-06 22:17
wctype.h
10.87
KB
-rwxrwxrwx
2019-02-06 22:17
wordexp.h
2.44
KB
-rwxrwxrwx
2019-02-06 22:17
xlocale.h
1.65
KB
-rwxrwxrwx
2019-02-06 22:17
zconf.h
15.11
KB
-rw-r--r--
2022-04-02 22:42
zip.h
20.45
KB
-rw-r--r--
2021-12-27 22:03
zlib.h
85.82
KB
-rw-r--r--
2022-04-02 22:42
Save
Rename
/**************************************************************************** * Copyright (c) 1998-2011,2012 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: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 * * and: Eric S. Raymond <esr@snark.thyrsus.com> * * and: Thomas E. Dickey 1996 on * ****************************************************************************/ /* * $Id: tic.h,v 1.69 2012/03/17 18:22:10 tom Exp $ * tic.h - Global variables and structures for the terminfo * compiler. */ #ifndef __TIC_H #define __TIC_H /* *INDENT-OFF* */ #ifdef __cplusplus extern "C" { #endif #include <curses.h> /* for the _tracef() prototype, ERR/OK, bool defs */ /* ** The format of compiled terminfo files is as follows: ** ** Header (12 bytes), containing information given below ** Names Section, containing the names of the terminal ** Boolean Section, containing the values of all of the ** boolean capabilities ** A null byte may be inserted here to make ** sure that the Number Section begins on an ** even word boundary. ** Number Section, containing the values of all of the numeric ** capabilities, each as a short integer ** String Section, containing short integer offsets into the ** String Table, one per string capability ** String Table, containing the actual characters of the string ** capabilities. ** ** NOTE that all short integers in the file are stored using VAX/PDP-style ** byte-order, i.e., least-significant byte first. ** ** There is no structure definition here because it would only confuse ** matters. Terminfo format is a raw byte layout, not a structure ** dump. If you happen to be on a little-endian machine with 16-bit ** shorts that requires no padding between short members in a struct, ** then there is a natural C structure that captures the header, but ** not very helpfully. */ #define MAGIC 0432 /* first two bytes of a compiled entry */ #undef BYTE #define BYTE(p,n) (unsigned char)((p)[n]) #define IS_NEG1(p) ((BYTE(p,0) == 0377) && (BYTE(p,1) == 0377)) #define IS_NEG2(p) ((BYTE(p,0) == 0376) && (BYTE(p,1) == 0377)) #define LOW_MSB(p) (BYTE(p,0) + 256*BYTE(p,1)) #define IS_TIC_MAGIC(p) (LOW_MSB(p) == MAGIC) /* * The "maximum" here is misleading; XSI guarantees minimum values, which a * given implementation may exceed. */ #define MAX_NAME_SIZE 512 /* maximum legal name field size (XSI:127) */ #define MAX_ENTRY_SIZE 4096 /* maximum legal entry size */ /* * The maximum size of individual name or alias is guaranteed in XSI to be at * least 14, since that corresponds to the older filename lengths. Newer * systems allow longer aliases, though not many terminal descriptions are * written to use them. The MAX_ALIAS symbol is used for warnings. */ #if HAVE_LONG_FILE_NAMES #define MAX_ALIAS 32 /* smaller than POSIX minimum for PATH_MAX */ #else #define MAX_ALIAS 14 /* SVr3 filename length */ #endif /* location of user's personal info directory */ #define PRIVATE_INFO "%s/.terminfo" /* plug getenv("HOME") into %s */ /* * Some traces are designed to be used via tic's verbose option (and similar in * infocmp and toe) rather than the 'trace()' function. So we use the bits * above the normal trace() parameter as a debug-level. */ #define MAX_DEBUG_LEVEL 15 #define DEBUG_LEVEL(n) ((n) << TRACE_SHIFT) #define set_trace_level(n) \ _nc_tracing &= DEBUG_LEVEL(MAX_DEBUG_LEVEL), \ _nc_tracing |= DEBUG_LEVEL(n) #ifdef TRACE #define DEBUG(n, a) if (_nc_tracing >= DEBUG_LEVEL(n)) _tracef a #else #define DEBUG(n, a) /*nothing*/ #endif extern NCURSES_EXPORT_VAR(unsigned) _nc_tracing; extern NCURSES_EXPORT(void) _nc_tracef (char *, ...) GCC_PRINTFLIKE(1,2); extern NCURSES_EXPORT(const char *) _nc_visbuf (const char *); extern NCURSES_EXPORT(const char *) _nc_visbuf2 (int, const char *); /* * These are the types of tokens returned by the scanner. The first * three are also used in the hash table of capability names. The scanner * returns one of these values after loading the specifics into the global * structure curr_token. */ #define BOOLEAN 0 /* Boolean capability */ #define NUMBER 1 /* Numeric capability */ #define STRING 2 /* String-valued capability */ #define CANCEL 3 /* Capability to be cancelled in following tc's */ #define NAMES 4 /* The names for a terminal type */ #define UNDEF 5 /* Undefined */ #define NO_PUSHBACK -1 /* used in pushtype to indicate no pushback */ /* * The global structure in which the specific parts of a * scanned token are returned. * */ struct token { char *tk_name; /* name of capability */ int tk_valnumber; /* value of capability (if a number) */ char *tk_valstring; /* value of capability (if a string) */ }; extern NCURSES_EXPORT_VAR(struct token) _nc_curr_token; /* * Offsets to string capabilities, with the corresponding functionkey * codes. */ struct tinfo_fkeys { unsigned offset; chtype code; }; #if BROKEN_LINKER #define _nc_tinfo_fkeys _nc_tinfo_fkeysf() extern NCURSES_EXPORT(const struct tinfo_fkeys *) _nc_tinfo_fkeysf (void); #else extern NCURSES_EXPORT_VAR(const struct tinfo_fkeys) _nc_tinfo_fkeys[]; #endif typedef short HashValue; /* * The file comp_captab.c contains an array of these structures, one * per possible capability. These are indexed by a hash table array of * pointers to the same structures for use by the parser. */ struct name_table_entry { const char *nte_name; /* name to hash on */ int nte_type; /* BOOLEAN, NUMBER or STRING */ HashValue nte_index; /* index of associated variable in its array */ HashValue nte_link; /* index in table of next hash, or -1 */ }; /* * Use this structure to hide differences between terminfo and termcap * tables. */ typedef struct { unsigned table_size; const HashValue *table_data; HashValue (*hash_of)(const char *); int (*compare_names)(const char *, const char *); } HashData; struct alias { const char *from; const char *to; const char *source; }; extern NCURSES_EXPORT(const struct name_table_entry *) _nc_get_table (bool); extern NCURSES_EXPORT(const HashData *) _nc_get_hash_info (bool); extern NCURSES_EXPORT(const HashValue *) _nc_get_hash_table (bool); extern NCURSES_EXPORT(const struct alias *) _nc_get_alias_table (bool); #define NOTFOUND ((struct name_table_entry *) 0) /* * The casts are required for correct sign-propagation with systems such as * AIX, IRIX64, Solaris which default to unsigned characters. The C standard * leaves this detail unspecified. */ /* out-of-band values for representing absent capabilities */ #define ABSENT_BOOLEAN ((signed char)-1) /* 255 */ #define ABSENT_NUMERIC (-1) #define ABSENT_STRING (char *)0 /* out-of-band values for representing cancels */ #define CANCELLED_BOOLEAN ((signed char)-2) /* 254 */ #define CANCELLED_NUMERIC (-2) #define CANCELLED_STRING (char *)(-1) #define VALID_BOOLEAN(s) ((unsigned char)(s) <= 1) /* reject "-1" */ #define VALID_NUMERIC(s) ((s) >= 0) #define VALID_STRING(s) ((s) != CANCELLED_STRING && (s) != ABSENT_STRING) /* termcap entries longer than this may break old binaries */ #define MAX_TERMCAP_LENGTH 1023 /* this is a documented limitation of terminfo */ #define MAX_TERMINFO_LENGTH 4096 #ifndef TERMINFO #define TERMINFO "/usr/share/terminfo" #endif #ifdef NCURSES_TERM_ENTRY_H_incl /* access.c */ extern NCURSES_EXPORT(unsigned) _nc_pathlast (const char *); extern NCURSES_EXPORT(bool) _nc_is_abs_path (const char *); extern NCURSES_EXPORT(bool) _nc_is_dir_path (const char *); extern NCURSES_EXPORT(bool) _nc_is_file_path (const char *); extern NCURSES_EXPORT(char *) _nc_basename (char *); extern NCURSES_EXPORT(char *) _nc_rootname (char *); /* comp_hash.c: name lookup */ extern NCURSES_EXPORT(struct name_table_entry const *) _nc_find_entry (const char *, const HashValue *); extern NCURSES_EXPORT(struct name_table_entry const *) _nc_find_type_entry (const char *, int, bool); /* comp_scan.c: lexical analysis */ extern NCURSES_EXPORT(int) _nc_get_token (bool); extern NCURSES_EXPORT(void) _nc_panic_mode (char); extern NCURSES_EXPORT(void) _nc_push_token (int); extern NCURSES_EXPORT(void) _nc_reset_input (FILE *, char *); extern NCURSES_EXPORT_VAR(int) _nc_curr_col; extern NCURSES_EXPORT_VAR(int) _nc_curr_line; extern NCURSES_EXPORT_VAR(int) _nc_syntax; extern NCURSES_EXPORT_VAR(int) _nc_strict_bsd; extern NCURSES_EXPORT_VAR(long) _nc_comment_end; extern NCURSES_EXPORT_VAR(long) _nc_comment_start; extern NCURSES_EXPORT_VAR(long) _nc_curr_file_pos; extern NCURSES_EXPORT_VAR(long) _nc_start_line; #define SYN_TERMINFO 0 #define SYN_TERMCAP 1 /* comp_error.c: warning & abort messages */ extern NCURSES_EXPORT(const char *) _nc_get_source (void); extern NCURSES_EXPORT(void) _nc_err_abort (const char *const,...) GCC_PRINTFLIKE(1,2) GCC_NORETURN; extern NCURSES_EXPORT(void) _nc_get_type (char *name); extern NCURSES_EXPORT(void) _nc_set_source (const char *const); extern NCURSES_EXPORT(void) _nc_set_type (const char *const); extern NCURSES_EXPORT(void) _nc_syserr_abort (const char *const,...) GCC_PRINTFLIKE(1,2) GCC_NORETURN; extern NCURSES_EXPORT(void) _nc_warning (const char *const,...) GCC_PRINTFLIKE(1,2); extern NCURSES_EXPORT_VAR(bool) _nc_suppress_warnings; /* comp_expand.c: expand string into readable form */ extern NCURSES_EXPORT(char *) _nc_tic_expand (const char *, bool, int); /* comp_scan.c: decode string from readable form */ extern NCURSES_EXPORT(int) _nc_trans_string (char *, char *); /* captoinfo.c: capability conversion */ extern NCURSES_EXPORT(char *) _nc_captoinfo (const char *, const char *, int const); extern NCURSES_EXPORT(char *) _nc_infotocap (const char *, const char *, int const); /* home_terminfo.c */ extern NCURSES_EXPORT(char *) _nc_home_terminfo (void); /* lib_tparm.c */ #define NUM_PARM 9 extern NCURSES_EXPORT_VAR(int) _nc_tparm_err; extern NCURSES_EXPORT(int) _nc_tparm_analyze(const char *, char **, int *); /* lib_tputs.c */ extern NCURSES_EXPORT_VAR(int) _nc_nulls_sent; /* Add one for every null sent */ /* comp_main.c: compiler main */ extern const char * _nc_progname; /* db_iterator.c */ extern NCURSES_EXPORT(const char *) _nc_next_db(DBDIRS *, int *); extern NCURSES_EXPORT(const char *) _nc_tic_dir (const char *); extern NCURSES_EXPORT(void) _nc_first_db(DBDIRS *, int *); extern NCURSES_EXPORT(void) _nc_last_db(void); /* write_entry.c */ extern NCURSES_EXPORT(int) _nc_tic_written (void); #endif /* NCURSES_TERM_ENTRY_H_incl */ #ifdef __cplusplus } #endif /* *INDENT-ON* */ #endif /* __TIC_H */