1 /****************************************************************************
2 * Copyright 2018-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(
115 #undef _nc_copy_termtype2
116 void _nc_copy_termtype2(
118 const TERMTYPE2 *src)
121 #undef _nc_export_termtype2
122 void _nc_export_termtype2(
124 const TERMTYPE2 *src)
130 const char *const boolcodes[] = {0};
132 const char *const numcodes[] = {0};
134 const char *const strcodes[] = {0};
136 /* ./comp_captab.c */
139 const struct name_table_entry *_nc_get_table(
140 NCURSES_BOOL termcap)
141 { return(*(const struct name_table_entry **)0); }
143 #undef _nc_get_hash_table
144 const HashValue *_nc_get_hash_table(
145 NCURSES_BOOL termcap)
146 { return(*(const HashValue **)0); }
148 #undef _nc_get_alias_table
149 const struct alias *_nc_get_alias_table(
150 NCURSES_BOOL termcap)
151 { return(*(const struct alias **)0); }
153 #undef _nc_get_hash_info
154 const HashData *_nc_get_hash_info(
155 NCURSES_BOOL termcap)
156 { return(*(const HashData **)0); }
158 /* ./tinfo/comp_error.c */
160 #undef _nc_suppress_warnings
161 NCURSES_BOOL _nc_suppress_warnings;
167 #undef _nc_get_source
168 const char *_nc_get_source(void)
169 { return(*(const char **)0); }
171 #undef _nc_set_source
173 const char *const name)
178 const char *const name)
188 const char *const fmt,
194 const char *const fmt,
198 #undef _nc_syserr_abort
199 void _nc_syserr_abort(
200 const char *const fmt,
204 /* ./tinfo/comp_hash.c */
206 #undef _nc_find_entry
207 struct name_table_entry const *_nc_find_entry(
209 const HashValue *hash_table)
210 { return(*(struct name_table_entry const **)0); }
212 #undef _nc_find_type_entry
213 struct name_table_entry const *_nc_find_type_entry(
216 NCURSES_BOOL termcap)
217 { return(*(struct name_table_entry const **)0); }
219 #undef _nc_find_user_entry
220 struct user_table_entry const *_nc_find_user_entry(
222 { return(*(struct user_table_entry const **)0); }
224 /* ./comp_userdefs.c */
226 #undef _nc_get_userdefs_table
227 const struct user_table_entry *_nc_get_userdefs_table(void)
228 { return(*(const struct user_table_entry **)0); }
230 #undef _nc_get_hash_user
231 const HashData *_nc_get_hash_user(void)
232 { return(*(const HashData **)0); }
234 /* ./tinfo/db_iterator.c */
237 const char *_nc_tic_dir(
239 { return(*(const char **)0); }
241 #undef _nc_keep_tic_dir
242 void _nc_keep_tic_dir(
247 void _nc_last_db(void)
251 const char *_nc_next_db(
254 { return(*(const char **)0); }
262 /* ./tinfo/doalloc.c */
268 { return(*(void **)0); }
270 /* ./tinfo/entries.c */
277 #undef _nc_free_entry
283 #undef _nc_free_entries
284 void _nc_free_entries(
288 #undef _nc_leaks_tinfo
289 void _nc_leaks_tinfo(void)
300 const TERMTYPE2 *_nc_fallback2(
302 { return(*(const TERMTYPE2 **)0); }
305 const TERMTYPE *_nc_fallback(
307 { return(*(const TERMTYPE **)0); }
309 /* ./tinfo/free_ttype.c */
311 #undef _nc_free_termtype
312 void _nc_free_termtype(
316 #undef _nc_free_termtype2
317 void _nc_free_termtype2(
321 #undef _nc_user_definable
322 NCURSES_BOOL _nc_user_definable;
324 #undef use_extended_names
325 int use_extended_names(
327 { return(*(int *)0); }
329 /* ./tinfo/getenv_num.c */
331 #undef _nc_getenv_num
334 { return(*(int *)0); }
336 #undef _nc_setenv_num
342 /* ./tinfo/home_terminfo.c */
344 #undef _nc_home_terminfo
345 char *_nc_home_terminfo(void)
346 { return(*(char **)0); }
348 /* ./tinfo/init_keytry.c */
350 #undef _nc_init_keytry
351 void _nc_init_keytry(
355 /* ./tinfo/lib_acs.c */
360 #undef _nc_init_acs_sp
361 void _nc_init_acs_sp(
366 void _nc_init_acs(void)
369 /* ./tinfo/lib_baudrate.c */
379 { return(*(int *)0); }
384 { return(*(int *)0); }
389 { return(*(int *)0); }
393 { return(*(int *)0); }
395 /* ./tinfo/lib_cur_term.c */
400 #undef set_curterm_sp
401 TERMINAL *set_curterm_sp(
404 { return(*(TERMINAL **)0); }
407 TERMINAL *set_curterm(
409 { return(*(TERMINAL **)0); }
411 #undef del_curterm_sp
415 { return(*(int *)0); }
420 { return(*(int *)0); }
422 /* ./tinfo/lib_data.c */
430 #undef _nc_screen_chain
431 SCREEN *_nc_screen_chain;
435 NCURSES_GLOBALS _nc_globals;
437 NCURSES_PRESCREEN _nc_prescreen;
440 SCREEN *_nc_screen_of(
442 { return(*(SCREEN **)0); }
444 /* ./tinfo/lib_has_cap.c */
447 NCURSES_BOOL has_ic_sp(
449 { return(*(NCURSES_BOOL *)0); }
452 NCURSES_BOOL has_ic(void)
453 { return(*(NCURSES_BOOL *)0); }
456 NCURSES_BOOL has_il_sp(
458 { return(*(NCURSES_BOOL *)0); }
461 NCURSES_BOOL has_il(void)
462 { return(*(NCURSES_BOOL *)0); }
464 /* ./tinfo/lib_kernel.c */
469 { return(*(char *)0); }
473 { return(*(char *)0); }
478 { return(*(char *)0); }
482 { return(*(char *)0); }
487 { return(*(int *)0); }
491 { return(*(int *)0); }
493 /* ./lib_keyname.c */
495 struct kn { short offset; int code; };
498 const char *keyname_sp(
501 { return(*(const char **)0); }
506 { return(*(const char **)0); }
508 /* ./tinfo/lib_longname.c */
513 { return(*(char **)0); }
517 { return(*(char **)0); }
519 /* ./tinfo/lib_napms.c */
525 { return(*(int *)0); }
530 { return(*(int *)0); }
532 /* ./tinfo/lib_options.c */
538 { return(*(int *)0); }
550 { return(*(int *)0); }
555 { return(*(int *)0); }
561 { return(*(int *)0); }
567 { return(*(int *)0); }
579 { return(*(int *)0); }
585 { return(*(int *)0); }
591 { return(*(int *)0); }
596 { return(*(int *)0); }
602 { return(*(int *)0); }
607 { return(*(int *)0); }
613 { return(*(int *)0); }
618 { return(*(int *)0); }
620 #undef _nc_putp_flush_sp
621 int _nc_putp_flush_sp(
625 { return(*(int *)0); }
631 { return(*(int *)0); }
633 /* ./tinfo/lib_raw.c */
638 { return(*(int *)0); }
642 { return(*(int *)0); }
647 { return(*(int *)0); }
651 { return(*(int *)0); }
665 { return(*(int *)0); }
669 { return(*(int *)0); }
674 { return(*(int *)0); }
678 { return(*(int *)0); }
694 { return(*(int *)0); }
700 { return(*(int *)0); }
702 /* ./tinfo/lib_setup.c */
713 #undef set_tabsize_sp
717 { return(*(int *)0); }
722 { return(*(int *)0); }
724 #undef _nc_handle_sigwinch
725 int _nc_handle_sigwinch(
727 { return(*(int *)0); }
751 #undef _nc_get_screensize
752 void _nc_get_screensize(
758 #undef _nc_update_screensize
759 void _nc_update_screensize(
763 #undef _nc_setup_tinfo
765 const char *const tn,
767 { return(*(int *)0); }
769 #undef _nc_tinfo_cmdch
770 void _nc_tinfo_cmdch(
775 #undef _nc_get_locale
776 char *_nc_get_locale(void)
777 { return(*(char **)0); }
779 #undef _nc_unicode_locale
780 int _nc_unicode_locale(void)
781 { return(*(int *)0); }
783 #undef _nc_locale_breaks_acs
784 int _nc_locale_breaks_acs(
786 { return(*(int *)0); }
794 { return(*(int *)0); }
797 SCREEN *new_prescr(void)
798 { return(*(SCREEN **)0); }
805 { return(*(int *)0); }
807 /* ./tinfo/lib_termcap.c */
819 { return(*(int *)0); }
825 { return(*(int *)0); }
831 { return(*(int *)0); }
836 { return(*(int *)0); }
842 { return(*(int *)0); }
847 { return(*(int *)0); }
854 { return(*(char **)0); }
860 { return(*(char **)0); }
862 /* ./tinfo/lib_termname.c */
867 { return(*(char **)0); }
871 { return(*(char **)0); }
873 /* ./tinfo/lib_tgoto.c */
880 { return(*(char **)0); }
882 /* ./tinfo/lib_ti.c */
888 { return(*(int *)0); }
893 { return(*(int *)0); }
899 { return(*(int *)0); }
904 { return(*(int *)0); }
910 { return(*(char **)0); }
915 { return(*(char **)0); }
917 /* ./tinfo/lib_tparm.c */
922 #undef _nc_tparm_analyze
923 int _nc_tparm_analyze(
928 { return(*(int *)0); }
934 { return(*(char **)0); }
940 { return(*(char **)0); }
947 { return(*(char **)0); }
949 #undef _nc_reset_tparm
950 void _nc_reset_tparm(
954 /* ./tinfo/lib_tputs.c */
960 #undef _nc_nulls_sent
963 #undef _nc_set_no_padding
964 void _nc_set_no_padding(
968 #undef delay_output_sp
972 { return(*(int *)0); }
977 { return(*(int *)0); }
992 { return(*(int *)0); }
997 { return(*(int *)0); }
999 #undef _nc_putchar_sp
1003 { return(*(int *)0); }
1008 { return(*(int *)0); }
1014 { return(*(int *)0); }
1019 { return(*(int *)0); }
1026 { return(*(int *)0); }
1032 { return(*(int *)0); }
1039 NCURSES_OUTC_sp outc)
1040 { return(*(int *)0); }
1042 #undef _nc_outc_wrapper
1043 int _nc_outc_wrapper(
1046 { return(*(int *)0); }
1054 { return(*(int *)0); }
1056 /* ./trace/lib_trace.c */
1059 unsigned _nc_tracing;
1060 #undef _nc_tputs_trace
1061 const char *_nc_tputs_trace = {0};
1066 unsigned curses_trace(
1067 unsigned tracelevel)
1068 { return(*(unsigned *)0); }
1072 const unsigned int tracelevel)
1081 #undef _nc_retrace_bool
1082 NCURSES_BOOL _nc_retrace_bool(
1084 { return(*(NCURSES_BOOL *)0); }
1086 #undef _nc_retrace_char
1087 char _nc_retrace_char(
1089 { return(*(char *)0); }
1091 #undef _nc_retrace_int
1092 int _nc_retrace_int(
1094 { return(*(int *)0); }
1096 #undef _nc_retrace_unsigned
1097 unsigned _nc_retrace_unsigned(
1099 { return(*(unsigned *)0); }
1101 #undef _nc_retrace_ptr
1102 char *_nc_retrace_ptr(
1104 { return(*(char **)0); }
1106 #undef _nc_retrace_cptr
1107 const char *_nc_retrace_cptr(
1109 { return(*(const char **)0); }
1111 #undef _nc_retrace_cvoid_ptr
1112 const void *_nc_retrace_cvoid_ptr(
1114 { return(*(const void **)0); }
1116 #undef _nc_retrace_void_ptr
1117 void *_nc_retrace_void_ptr(
1119 { return(*(void **)0); }
1121 #undef _nc_retrace_sp
1122 SCREEN *_nc_retrace_sp(
1124 { return(*(SCREEN **)0); }
1126 #undef _nc_retrace_win
1127 WINDOW *_nc_retrace_win(
1129 { return(*(WINDOW **)0); }
1131 #undef _nc_fmt_funcptr
1132 char *_nc_fmt_funcptr(
1136 { return(*(char **)0); }
1138 /* ./trace/lib_traceatr.c */
1144 { return(*(char **)0); }
1149 { return(*(char **)0); }
1151 #undef _nc_retrace_int_attr_t
1152 int _nc_retrace_int_attr_t(
1154 { return(*(int *)0); }
1156 #undef _nc_retrace_attr_t
1157 attr_t _nc_retrace_attr_t(
1159 { return(*(attr_t *)0); }
1161 #undef _nc_altcharset_name
1162 const char *_nc_altcharset_name(
1165 { return(*(const char **)0); }
1167 #undef _tracechtype2
1168 char *_tracechtype2(
1171 { return(*(char **)0); }
1176 { return(*(char **)0); }
1178 #undef _nc_retrace_chtype
1179 chtype _nc_retrace_chtype(
1181 { return(*(chtype *)0); }
1183 #undef _tracecchar_t2
1184 char *_tracecchar_t2(
1187 { return(*(char **)0); }
1189 #undef _tracecchar_t
1190 char *_tracecchar_t(
1192 { return(*(char **)0); }
1194 /* ./trace/lib_tracebits.c */
1196 #undef _nc_trace_ttymode
1197 char *_nc_trace_ttymode(
1198 const struct termios *tty)
1199 { return(*(char **)0); }
1201 #undef _nc_tracebits
1202 char *_nc_tracebits(void)
1203 { return(*(char **)0); }
1205 /* ./trace/lib_tracechr.c */
1207 #undef _nc_tracechar
1208 char *_nc_tracechar(
1211 { return(*(char **)0); }
1216 { return(*(char **)0); }
1218 /* ./tinfo/lib_ttyflags.c */
1220 #undef _nc_get_tty_mode_sp
1221 int _nc_get_tty_mode_sp(
1223 struct termios *buf)
1224 { return(*(int *)0); }
1226 #undef _nc_get_tty_mode
1227 int _nc_get_tty_mode(
1228 struct termios *buf)
1229 { return(*(int *)0); }
1231 #undef _nc_set_tty_mode_sp
1232 int _nc_set_tty_mode_sp(
1234 struct termios *buf)
1235 { return(*(int *)0); }
1237 #undef _nc_set_tty_mode
1238 int _nc_set_tty_mode(
1239 struct termios *buf)
1240 { return(*(int *)0); }
1242 #undef def_shell_mode_sp
1243 int def_shell_mode_sp(
1245 { return(*(int *)0); }
1247 #undef def_shell_mode
1248 int def_shell_mode(void)
1249 { return(*(int *)0); }
1251 #undef def_prog_mode_sp
1252 int def_prog_mode_sp(
1254 { return(*(int *)0); }
1256 #undef def_prog_mode
1257 int def_prog_mode(void)
1258 { return(*(int *)0); }
1260 #undef reset_prog_mode_sp
1261 int reset_prog_mode_sp(
1263 { return(*(int *)0); }
1265 #undef reset_prog_mode
1266 int reset_prog_mode(void)
1267 { return(*(int *)0); }
1269 #undef reset_shell_mode_sp
1270 int reset_shell_mode_sp(
1272 { return(*(int *)0); }
1274 #undef reset_shell_mode
1275 int reset_shell_mode(void)
1276 { return(*(int *)0); }
1281 { return(*(int *)0); }
1285 { return(*(int *)0); }
1290 { return(*(int *)0); }
1294 { return(*(int *)0); }
1296 /* ./tty/lib_twait.c */
1298 #undef _nc_timed_wait
1304 { return(*(int *)0); }
1306 /* ./tinfo/name_match.c */
1308 #undef _nc_first_name
1309 char *_nc_first_name(
1310 const char *const sp)
1311 { return(*(char **)0); }
1313 #undef _nc_name_match
1315 const char *const namelst,
1316 const char *const name,
1317 const char *const delim)
1318 { return(*(int *)0); }
1323 const char *const boolnames[] = {0};
1325 const char *const boolfnames[] = {0};
1327 const char *const numnames[] = {0};
1329 const char *const numfnames[] = {0};
1331 const char *const strnames[] = {0};
1333 const char *const strfnames[] = {0};
1335 /* ./tinfo/obsolete.c */
1337 #undef _nc_set_buffer_sp
1338 void _nc_set_buffer_sp(
1344 #undef _nc_set_buffer
1345 void _nc_set_buffer(
1350 /* ./tinfo/read_entry.c */
1352 #undef _nc_init_termtype
1353 void _nc_init_termtype(
1354 TERMTYPE2 *const tp)
1357 #undef _nc_read_termtype
1358 int _nc_read_termtype(
1362 { return(*(int *)0); }
1364 #undef _nc_read_file_entry
1365 int _nc_read_file_entry(
1366 const char *const filename,
1368 { return(*(int *)0); }
1370 #undef _nc_read_entry2
1371 int _nc_read_entry2(
1372 const char *const name,
1373 char *const filename,
1374 TERMTYPE2 *const tp)
1375 { return(*(int *)0); }
1377 #undef _nc_read_entry
1379 const char *const name,
1380 char *const filename,
1382 { return(*(int *)0); }
1384 /* ./tinfo/read_termcap.c */
1386 #undef _nc_read_termcap
1387 void _nc_read_termcap(void)
1390 /* ./tinfo/strings.c */
1393 string_desc *_nc_str_init(
1397 { return(*(string_desc **)0); }
1400 string_desc *_nc_str_null(
1403 { return(*(string_desc **)0); }
1406 string_desc *_nc_str_copy(
1409 { return(*(string_desc **)0); }
1411 #undef _nc_safe_strcat
1412 NCURSES_BOOL _nc_safe_strcat(
1415 { return(*(NCURSES_BOOL *)0); }
1417 #undef _nc_safe_strcpy
1418 NCURSES_BOOL _nc_safe_strcpy(
1421 { return(*(NCURSES_BOOL *)0); }
1423 /* ./trace/trace_buf.c */
1425 #undef _nc_trace_buf
1426 char *_nc_trace_buf(
1429 { return(*(char **)0); }
1431 #undef _nc_trace_bufcat
1432 char *_nc_trace_bufcat(
1435 { return(*(char **)0); }
1437 /* ./trace/trace_tries.c */
1439 #undef _nc_trace_tries
1440 void _nc_trace_tries(
1444 /* ./base/tries.c */
1446 #undef _nc_expand_try
1447 char *_nc_expand_try(
1452 { return(*(char **)0); }
1454 #undef _nc_remove_key
1458 { return(*(int *)0); }
1460 #undef _nc_remove_string
1461 int _nc_remove_string(
1464 { return(*(int *)0); }
1466 /* ./tinfo/trim_sgr0.c */
1468 #undef _nc_trim_sgr0
1469 char *_nc_trim_sgr0(
1471 { return(*(char **)0); }
1476 const char *unctrl_sp(
1479 { return(*(const char **)0); }
1484 { return(*(const char **)0); }
1486 /* ./trace/visbuf.c */
1489 const char *_nc_visbuf2(
1492 { return(*(const char **)0); }
1495 const char *_nc_visbuf(
1497 { return(*(const char **)0); }
1500 const char *_nc_visbufn(
1503 { return(*(const char **)0); }
1506 const char *_nc_viswbuf2(
1509 { return(*(const char **)0); }
1512 const char *_nc_viswbuf(
1514 { return(*(const char **)0); }
1517 const char *_nc_viswbufn(
1520 { return(*(const char **)0); }
1523 const char *_nc_viswibuf(
1525 { return(*(const char **)0); }
1528 const char *_nc_viscbuf2(
1532 { return(*(const char **)0); }
1535 const char *_nc_viscbuf(
1538 { return(*(const char **)0); }
1540 /* ./base/define_key.c */
1542 #undef define_key_sp
1547 { return(*(int *)0); }
1553 { return(*(int *)0); }
1555 /* ./tinfo/hashed_db.c */
1557 #undef _nc_hashed_db
1558 void _nc_hashed_db(void)
1561 /* ./base/key_defined.c */
1563 #undef key_defined_sp
1567 { return(*(int *)0); }
1572 { return(*(int *)0); }
1574 /* ./base/keybound.c */
1581 { return(*(char **)0); }
1587 { return(*(char **)0); }
1589 /* ./base/keyok.c */
1596 { return(*(int *)0); }
1602 { return(*(int *)0); }
1604 /* ./base/version.c */
1606 #undef curses_version
1607 const char *curses_version(void)
1608 { return(*(const char **)0); }