1 /****************************************************************************
2 * Copyright 2019-2020,2021 Thomas E. Dickey *
3 * Copyright 2012-2016,2017 Free Software Foundation, Inc. *
5 * Permission is hereby granted, free of charge, to any person obtaining a *
6 * copy of this software and associated documentation files (the *
7 * "Software"), to deal in the Software without restriction, including *
8 * without limitation the rights to use, copy, modify, merge, publish, *
9 * distribute, distribute with modifications, sublicense, and/or sell *
10 * copies of the Software, and to permit persons to whom the Software is *
11 * furnished to do so, subject to the following conditions: *
13 * The above copyright notice and this permission notice shall be included *
14 * in all copies or substantial portions of the Software. *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
19 * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
20 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
21 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
22 * THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
24 * Except as contained in this notice, the name(s) of the above copyright *
25 * holders shall not be used in advertising or otherwise to promote the *
26 * sale, use or other dealings in this Software without prior written *
28 ****************************************************************************/
30 /****************************************************************************
31 * Author: Thomas E. Dickey 2012-on *
32 ****************************************************************************/
35 /* ./tinfo/access.c */
37 #include <curses.priv.h>
42 { return(*(char **)0); }
44 #undef _nc_is_abs_path
45 NCURSES_BOOL _nc_is_abs_path(
47 { return(*(NCURSES_BOOL *)0); }
50 unsigned _nc_pathlast(
52 { return(*(unsigned *)0); }
57 { return(*(char **)0); }
63 { return(*(int *)0); }
65 #undef _nc_is_dir_path
66 NCURSES_BOOL _nc_is_dir_path(
68 { return(*(NCURSES_BOOL *)0); }
70 #undef _nc_is_file_path
71 NCURSES_BOOL _nc_is_file_path(
73 { return(*(NCURSES_BOOL *)0); }
76 int _nc_env_access(void)
77 { return(*(int *)0); }
83 { return(*(FILE **)0); }
90 { return(*(int *)0); }
92 /* ./tinfo/add_tries.c */
99 { return(*(int *)0); }
101 /* ./tinfo/alloc_ttype.c */
103 #undef _nc_align_termtype
104 void _nc_align_termtype(
109 #undef _nc_copy_termtype
110 void _nc_copy_termtype(
118 const char *const boolcodes[] = {0};
120 const char *const numcodes[] = {0};
122 const char *const strcodes[] = {0};
124 /* ./comp_captab.c */
127 const struct name_table_entry *_nc_get_table(
128 NCURSES_BOOL termcap)
129 { return(*(const struct name_table_entry **)0); }
131 #undef _nc_get_hash_table
132 const HashValue *_nc_get_hash_table(
133 NCURSES_BOOL termcap)
134 { return(*(const HashValue **)0); }
136 #undef _nc_get_alias_table
137 const struct alias *_nc_get_alias_table(
138 NCURSES_BOOL termcap)
139 { return(*(const struct alias **)0); }
141 #undef _nc_get_hash_info
142 const HashData *_nc_get_hash_info(
143 NCURSES_BOOL termcap)
144 { return(*(const HashData **)0); }
146 /* ./tinfo/comp_error.c */
148 #undef _nc_suppress_warnings
149 NCURSES_BOOL _nc_suppress_warnings;
155 #undef _nc_get_source
156 const char *_nc_get_source(void)
157 { return(*(const char **)0); }
159 #undef _nc_set_source
161 const char *const name)
166 const char *const name)
176 const char *const fmt,
182 const char *const fmt,
186 #undef _nc_syserr_abort
187 void _nc_syserr_abort(
188 const char *const fmt,
192 /* ./tinfo/comp_hash.c */
194 #undef _nc_find_entry
195 struct name_table_entry const *_nc_find_entry(
197 const HashValue *hash_table)
198 { return(*(struct name_table_entry const **)0); }
200 #undef _nc_find_type_entry
201 struct name_table_entry const *_nc_find_type_entry(
204 NCURSES_BOOL termcap)
205 { return(*(struct name_table_entry const **)0); }
207 #undef _nc_find_user_entry
208 struct user_table_entry const *_nc_find_user_entry(
210 { return(*(struct user_table_entry const **)0); }
212 /* ./comp_userdefs.c */
214 #undef _nc_get_userdefs_table
215 const struct user_table_entry *_nc_get_userdefs_table(void)
216 { return(*(const struct user_table_entry **)0); }
218 #undef _nc_get_hash_user
219 const HashData *_nc_get_hash_user(void)
220 { return(*(const HashData **)0); }
222 /* ./tinfo/db_iterator.c */
225 const char *_nc_tic_dir(
227 { return(*(const char **)0); }
229 #undef _nc_keep_tic_dir
230 void _nc_keep_tic_dir(
235 void _nc_last_db(void)
239 const char *_nc_next_db(
242 { return(*(const char **)0); }
250 /* ./tinfo/doalloc.c */
256 { return(*(void **)0); }
258 /* ./tinfo/entries.c */
265 #undef _nc_free_entry
271 #undef _nc_free_entries
272 void _nc_free_entries(
276 #undef _nc_leaks_tinfo
277 void _nc_leaks_tinfo(void)
288 const TERMTYPE *_nc_fallback(
290 { return(*(const TERMTYPE **)0); }
292 /* ./tinfo/free_ttype.c */
294 #undef _nc_free_termtype
295 void _nc_free_termtype(
299 #undef _nc_user_definable
300 NCURSES_BOOL _nc_user_definable;
302 #undef use_extended_names
303 int use_extended_names(
305 { return(*(int *)0); }
307 /* ./tinfo/getenv_num.c */
309 #undef _nc_getenv_num
312 { return(*(int *)0); }
314 #undef _nc_setenv_num
320 /* ./tinfo/home_terminfo.c */
322 #undef _nc_home_terminfo
323 char *_nc_home_terminfo(void)
324 { return(*(char **)0); }
326 /* ./tinfo/init_keytry.c */
328 #undef _nc_init_keytry
329 void _nc_init_keytry(
333 /* ./tinfo/lib_acs.c */
338 #undef _nc_init_acs_sp
339 void _nc_init_acs_sp(
344 void _nc_init_acs(void)
347 /* ./tinfo/lib_baudrate.c */
357 { return(*(int *)0); }
362 { return(*(int *)0); }
367 { return(*(int *)0); }
371 { return(*(int *)0); }
373 /* ./tinfo/lib_cur_term.c */
378 #undef set_curterm_sp
379 TERMINAL *set_curterm_sp(
382 { return(*(TERMINAL **)0); }
385 TERMINAL *set_curterm(
387 { return(*(TERMINAL **)0); }
389 #undef del_curterm_sp
393 { return(*(int *)0); }
398 { return(*(int *)0); }
400 /* ./tinfo/lib_data.c */
408 #undef _nc_screen_chain
409 SCREEN *_nc_screen_chain;
413 NCURSES_GLOBALS _nc_globals;
415 NCURSES_PRESCREEN _nc_prescreen;
418 SCREEN *_nc_screen_of(
420 { return(*(SCREEN **)0); }
422 /* ./tinfo/lib_has_cap.c */
425 NCURSES_BOOL has_ic_sp(
427 { return(*(NCURSES_BOOL *)0); }
430 NCURSES_BOOL has_ic(void)
431 { return(*(NCURSES_BOOL *)0); }
434 NCURSES_BOOL has_il_sp(
436 { return(*(NCURSES_BOOL *)0); }
439 NCURSES_BOOL has_il(void)
440 { return(*(NCURSES_BOOL *)0); }
442 /* ./tinfo/lib_kernel.c */
447 { return(*(char *)0); }
451 { return(*(char *)0); }
456 { return(*(char *)0); }
460 { return(*(char *)0); }
465 { return(*(int *)0); }
469 { return(*(int *)0); }
471 /* ./lib_keyname.c */
473 struct kn { short offset; int code; };
476 const char *keyname_sp(
479 { return(*(const char **)0); }
484 { return(*(const char **)0); }
486 /* ./tinfo/lib_longname.c */
491 { return(*(char **)0); }
495 { return(*(char **)0); }
497 /* ./tinfo/lib_napms.c */
503 { return(*(int *)0); }
508 { return(*(int *)0); }
510 /* ./tinfo/lib_options.c */
516 { return(*(int *)0); }
528 { return(*(int *)0); }
533 { return(*(int *)0); }
539 { return(*(int *)0); }
545 { return(*(int *)0); }
557 { return(*(int *)0); }
563 { return(*(int *)0); }
569 { return(*(int *)0); }
574 { return(*(int *)0); }
580 { return(*(int *)0); }
585 { return(*(int *)0); }
591 { return(*(int *)0); }
596 { return(*(int *)0); }
598 #undef _nc_putp_flush_sp
599 int _nc_putp_flush_sp(
603 { return(*(int *)0); }
609 { return(*(int *)0); }
611 /* ./tinfo/lib_raw.c */
616 { return(*(int *)0); }
620 { return(*(int *)0); }
625 { return(*(int *)0); }
629 { return(*(int *)0); }
643 { return(*(int *)0); }
647 { return(*(int *)0); }
652 { return(*(int *)0); }
656 { return(*(int *)0); }
672 { return(*(int *)0); }
678 { return(*(int *)0); }
680 /* ./tinfo/lib_setup.c */
691 #undef set_tabsize_sp
695 { return(*(int *)0); }
700 { return(*(int *)0); }
702 #undef _nc_handle_sigwinch
703 int _nc_handle_sigwinch(
705 { return(*(int *)0); }
729 #undef _nc_get_screensize
730 void _nc_get_screensize(
736 #undef _nc_update_screensize
737 void _nc_update_screensize(
741 #undef _nc_setup_tinfo
743 const char *const tn,
745 { return(*(int *)0); }
747 #undef _nc_tinfo_cmdch
748 void _nc_tinfo_cmdch(
753 #undef _nc_get_locale
754 char *_nc_get_locale(void)
755 { return(*(char **)0); }
757 #undef _nc_unicode_locale
758 int _nc_unicode_locale(void)
759 { return(*(int *)0); }
761 #undef _nc_locale_breaks_acs
762 int _nc_locale_breaks_acs(
764 { return(*(int *)0); }
772 { return(*(int *)0); }
775 SCREEN *new_prescr(void)
776 { return(*(SCREEN **)0); }
783 { return(*(int *)0); }
785 /* ./tinfo/lib_termcap.c */
797 { return(*(int *)0); }
803 { return(*(int *)0); }
809 { return(*(int *)0); }
814 { return(*(int *)0); }
820 { return(*(int *)0); }
825 { return(*(int *)0); }
832 { return(*(char **)0); }
838 { return(*(char **)0); }
840 /* ./tinfo/lib_termname.c */
845 { return(*(char **)0); }
849 { return(*(char **)0); }
851 /* ./tinfo/lib_tgoto.c */
858 { return(*(char **)0); }
860 /* ./tinfo/lib_ti.c */
866 { return(*(int *)0); }
871 { return(*(int *)0); }
877 { return(*(int *)0); }
882 { return(*(int *)0); }
888 { return(*(char **)0); }
893 { return(*(char **)0); }
895 /* ./tinfo/lib_tparm.c */
900 #undef _nc_tparm_analyze
901 int _nc_tparm_analyze(
906 { return(*(int *)0); }
912 { return(*(char **)0); }
918 { return(*(char **)0); }
925 { return(*(char **)0); }
927 #undef _nc_reset_tparm
928 void _nc_reset_tparm(
932 /* ./tinfo/lib_tputs.c */
938 #undef _nc_nulls_sent
941 #undef _nc_set_no_padding
942 void _nc_set_no_padding(
946 #undef delay_output_sp
950 { return(*(int *)0); }
955 { return(*(int *)0); }
970 { return(*(int *)0); }
975 { return(*(int *)0); }
977 #undef _nc_putchar_sp
981 { return(*(int *)0); }
986 { return(*(int *)0); }
992 { return(*(int *)0); }
997 { return(*(int *)0); }
1004 { return(*(int *)0); }
1010 { return(*(int *)0); }
1017 NCURSES_OUTC_sp outc)
1018 { return(*(int *)0); }
1020 #undef _nc_outc_wrapper
1021 int _nc_outc_wrapper(
1024 { return(*(int *)0); }
1032 { return(*(int *)0); }
1034 /* ./trace/lib_trace.c */
1037 unsigned _nc_tracing;
1038 #undef _nc_tputs_trace
1039 const char *_nc_tputs_trace = {0};
1044 unsigned curses_trace(
1045 unsigned tracelevel)
1046 { return(*(unsigned *)0); }
1050 const unsigned int tracelevel)
1059 #undef _nc_retrace_bool
1060 NCURSES_BOOL _nc_retrace_bool(
1062 { return(*(NCURSES_BOOL *)0); }
1064 #undef _nc_retrace_char
1065 char _nc_retrace_char(
1067 { return(*(char *)0); }
1069 #undef _nc_retrace_int
1070 int _nc_retrace_int(
1072 { return(*(int *)0); }
1074 #undef _nc_retrace_unsigned
1075 unsigned _nc_retrace_unsigned(
1077 { return(*(unsigned *)0); }
1079 #undef _nc_retrace_ptr
1080 char *_nc_retrace_ptr(
1082 { return(*(char **)0); }
1084 #undef _nc_retrace_cptr
1085 const char *_nc_retrace_cptr(
1087 { return(*(const char **)0); }
1089 #undef _nc_retrace_cvoid_ptr
1090 const void *_nc_retrace_cvoid_ptr(
1092 { return(*(const void **)0); }
1094 #undef _nc_retrace_void_ptr
1095 void *_nc_retrace_void_ptr(
1097 { return(*(void **)0); }
1099 #undef _nc_retrace_sp
1100 SCREEN *_nc_retrace_sp(
1102 { return(*(SCREEN **)0); }
1104 #undef _nc_retrace_win
1105 WINDOW *_nc_retrace_win(
1107 { return(*(WINDOW **)0); }
1109 #undef _nc_fmt_funcptr
1110 char *_nc_fmt_funcptr(
1114 { return(*(char **)0); }
1116 /* ./trace/lib_traceatr.c */
1122 { return(*(char **)0); }
1127 { return(*(char **)0); }
1129 #undef _nc_retrace_int_attr_t
1130 int _nc_retrace_int_attr_t(
1132 { return(*(int *)0); }
1134 #undef _nc_retrace_attr_t
1135 attr_t _nc_retrace_attr_t(
1137 { return(*(attr_t *)0); }
1139 #undef _nc_altcharset_name
1140 const char *_nc_altcharset_name(
1143 { return(*(const char **)0); }
1145 #undef _tracechtype2
1146 char *_tracechtype2(
1149 { return(*(char **)0); }
1154 { return(*(char **)0); }
1156 #undef _nc_retrace_chtype
1157 chtype _nc_retrace_chtype(
1159 { return(*(chtype *)0); }
1161 /* ./trace/lib_tracebits.c */
1163 #undef _nc_trace_ttymode
1164 char *_nc_trace_ttymode(
1165 const struct termios *tty)
1166 { return(*(char **)0); }
1168 #undef _nc_tracebits
1169 char *_nc_tracebits(void)
1170 { return(*(char **)0); }
1172 /* ./trace/lib_tracechr.c */
1174 #undef _nc_tracechar
1175 char *_nc_tracechar(
1178 { return(*(char **)0); }
1183 { return(*(char **)0); }
1185 /* ./tinfo/lib_ttyflags.c */
1187 #undef _nc_get_tty_mode_sp
1188 int _nc_get_tty_mode_sp(
1190 struct termios *buf)
1191 { return(*(int *)0); }
1193 #undef _nc_get_tty_mode
1194 int _nc_get_tty_mode(
1195 struct termios *buf)
1196 { return(*(int *)0); }
1198 #undef _nc_set_tty_mode_sp
1199 int _nc_set_tty_mode_sp(
1201 struct termios *buf)
1202 { return(*(int *)0); }
1204 #undef _nc_set_tty_mode
1205 int _nc_set_tty_mode(
1206 struct termios *buf)
1207 { return(*(int *)0); }
1209 #undef def_shell_mode_sp
1210 int def_shell_mode_sp(
1212 { return(*(int *)0); }
1214 #undef def_shell_mode
1215 int def_shell_mode(void)
1216 { return(*(int *)0); }
1218 #undef def_prog_mode_sp
1219 int def_prog_mode_sp(
1221 { return(*(int *)0); }
1223 #undef def_prog_mode
1224 int def_prog_mode(void)
1225 { return(*(int *)0); }
1227 #undef reset_prog_mode_sp
1228 int reset_prog_mode_sp(
1230 { return(*(int *)0); }
1232 #undef reset_prog_mode
1233 int reset_prog_mode(void)
1234 { return(*(int *)0); }
1236 #undef reset_shell_mode_sp
1237 int reset_shell_mode_sp(
1239 { return(*(int *)0); }
1241 #undef reset_shell_mode
1242 int reset_shell_mode(void)
1243 { return(*(int *)0); }
1248 { return(*(int *)0); }
1252 { return(*(int *)0); }
1257 { return(*(int *)0); }
1261 { return(*(int *)0); }
1263 /* ./tty/lib_twait.c */
1265 #undef _nc_timed_wait
1271 { return(*(int *)0); }
1273 /* ./tinfo/name_match.c */
1275 #undef _nc_first_name
1276 char *_nc_first_name(
1277 const char *const sp)
1278 { return(*(char **)0); }
1280 #undef _nc_name_match
1282 const char *const namelst,
1283 const char *const name,
1284 const char *const delim)
1285 { return(*(int *)0); }
1290 const char *const boolnames[] = {0};
1292 const char *const boolfnames[] = {0};
1294 const char *const numnames[] = {0};
1296 const char *const numfnames[] = {0};
1298 const char *const strnames[] = {0};
1300 const char *const strfnames[] = {0};
1302 /* ./tinfo/obsolete.c */
1304 #undef _nc_set_buffer_sp
1305 void _nc_set_buffer_sp(
1311 #undef _nc_set_buffer
1312 void _nc_set_buffer(
1317 /* ./tinfo/read_entry.c */
1319 #undef _nc_init_termtype
1320 void _nc_init_termtype(
1324 #undef _nc_read_termtype
1325 int _nc_read_termtype(
1329 { return(*(int *)0); }
1331 #undef _nc_read_file_entry
1332 int _nc_read_file_entry(
1333 const char *const filename,
1335 { return(*(int *)0); }
1337 #undef _nc_read_entry
1339 const char *const name,
1340 char *const filename,
1342 { return(*(int *)0); }
1344 /* ./tinfo/read_termcap.c */
1346 #undef _nc_read_termcap
1347 void _nc_read_termcap(void)
1350 /* ./tinfo/strings.c */
1353 string_desc *_nc_str_init(
1357 { return(*(string_desc **)0); }
1360 string_desc *_nc_str_null(
1363 { return(*(string_desc **)0); }
1366 string_desc *_nc_str_copy(
1369 { return(*(string_desc **)0); }
1371 #undef _nc_safe_strcat
1372 NCURSES_BOOL _nc_safe_strcat(
1375 { return(*(NCURSES_BOOL *)0); }
1377 #undef _nc_safe_strcpy
1378 NCURSES_BOOL _nc_safe_strcpy(
1381 { return(*(NCURSES_BOOL *)0); }
1383 /* ./trace/trace_buf.c */
1385 #undef _nc_trace_buf
1386 char *_nc_trace_buf(
1389 { return(*(char **)0); }
1391 #undef _nc_trace_bufcat
1392 char *_nc_trace_bufcat(
1395 { return(*(char **)0); }
1397 /* ./trace/trace_tries.c */
1399 #undef _nc_trace_tries
1400 void _nc_trace_tries(
1404 /* ./base/tries.c */
1406 #undef _nc_expand_try
1407 char *_nc_expand_try(
1412 { return(*(char **)0); }
1414 #undef _nc_remove_key
1418 { return(*(int *)0); }
1420 #undef _nc_remove_string
1421 int _nc_remove_string(
1424 { return(*(int *)0); }
1426 /* ./tinfo/trim_sgr0.c */
1428 #undef _nc_trim_sgr0
1429 char *_nc_trim_sgr0(
1431 { return(*(char **)0); }
1436 const char *unctrl_sp(
1439 { return(*(const char **)0); }
1444 { return(*(const char **)0); }
1446 /* ./trace/visbuf.c */
1449 const char *_nc_visbuf2(
1452 { return(*(const char **)0); }
1455 const char *_nc_visbuf(
1457 { return(*(const char **)0); }
1460 const char *_nc_visbufn(
1463 { return(*(const char **)0); }
1466 const char *_nc_viscbuf2(
1470 { return(*(const char **)0); }
1473 const char *_nc_viscbuf(
1476 { return(*(const char **)0); }
1478 /* ./base/define_key.c */
1480 #undef define_key_sp
1485 { return(*(int *)0); }
1491 { return(*(int *)0); }
1493 /* ./tinfo/hashed_db.c */
1495 #undef _nc_hashed_db
1496 void _nc_hashed_db(void)
1499 /* ./base/key_defined.c */
1501 #undef key_defined_sp
1505 { return(*(int *)0); }
1510 { return(*(int *)0); }
1512 /* ./base/keybound.c */
1519 { return(*(char **)0); }
1525 { return(*(char **)0); }
1527 /* ./base/keyok.c */
1534 { return(*(int *)0); }
1540 { return(*(int *)0); }
1542 /* ./base/version.c */
1544 #undef curses_version
1545 const char *curses_version(void)
1546 { return(*(const char **)0); }