1 /****************************************************************************
2 * Copyright 2018-2021,2022 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_termtype1
317 void _nc_free_termtype1(
321 #undef _nc_free_termtype2
322 void _nc_free_termtype2(
326 #undef _nc_user_definable
327 NCURSES_BOOL _nc_user_definable;
329 #undef use_extended_names
330 int use_extended_names(
332 { return(*(int *)0); }
334 /* ./tinfo/getenv_num.c */
336 #undef _nc_getenv_num
339 { return(*(int *)0); }
341 #undef _nc_setenv_num
347 /* ./tinfo/home_terminfo.c */
349 #undef _nc_home_terminfo
350 char *_nc_home_terminfo(void)
351 { return(*(char **)0); }
353 /* ./tinfo/init_keytry.c */
355 #undef _nc_init_keytry
356 void _nc_init_keytry(
360 /* ./tinfo/lib_acs.c */
365 #undef _nc_init_acs_sp
366 void _nc_init_acs_sp(
371 void _nc_init_acs(void)
374 /* ./tinfo/lib_baudrate.c */
384 { return(*(int *)0); }
389 { return(*(int *)0); }
394 { return(*(int *)0); }
398 { return(*(int *)0); }
400 /* ./tinfo/lib_cur_term.c */
405 #undef set_curterm_sp
406 TERMINAL *set_curterm_sp(
409 { return(*(TERMINAL **)0); }
412 TERMINAL *set_curterm(
414 { return(*(TERMINAL **)0); }
416 #undef del_curterm_sp
420 { return(*(int *)0); }
425 { return(*(int *)0); }
427 /* ./tinfo/lib_data.c */
435 #undef _nc_screen_chain
436 SCREEN *_nc_screen_chain;
440 NCURSES_GLOBALS _nc_globals;
442 NCURSES_PRESCREEN _nc_prescreen;
445 SCREEN *_nc_screen_of(
447 { return(*(SCREEN **)0); }
449 /* ./tinfo/lib_has_cap.c */
452 NCURSES_BOOL has_ic_sp(
454 { return(*(NCURSES_BOOL *)0); }
457 NCURSES_BOOL has_ic(void)
458 { return(*(NCURSES_BOOL *)0); }
461 NCURSES_BOOL has_il_sp(
463 { return(*(NCURSES_BOOL *)0); }
466 NCURSES_BOOL has_il(void)
467 { return(*(NCURSES_BOOL *)0); }
469 /* ./tinfo/lib_kernel.c */
474 { return(*(char *)0); }
478 { return(*(char *)0); }
483 { return(*(char *)0); }
487 { return(*(char *)0); }
492 { return(*(int *)0); }
496 { return(*(int *)0); }
498 /* ./lib_keyname.c */
500 struct kn { short offset; int code; };
503 const char *keyname_sp(
506 { return(*(const char **)0); }
511 { return(*(const char **)0); }
513 /* ./tinfo/lib_longname.c */
518 { return(*(char **)0); }
522 { return(*(char **)0); }
524 /* ./tinfo/lib_napms.c */
530 { return(*(int *)0); }
535 { return(*(int *)0); }
537 /* ./tinfo/lib_options.c */
543 { return(*(int *)0); }
555 { return(*(int *)0); }
560 { return(*(int *)0); }
566 { return(*(int *)0); }
572 { return(*(int *)0); }
584 { return(*(int *)0); }
590 { return(*(int *)0); }
596 { return(*(int *)0); }
601 { return(*(int *)0); }
607 { return(*(int *)0); }
612 { return(*(int *)0); }
618 { return(*(int *)0); }
623 { return(*(int *)0); }
625 #undef _nc_putp_flush_sp
626 int _nc_putp_flush_sp(
630 { return(*(int *)0); }
636 { return(*(int *)0); }
638 /* ./tinfo/lib_raw.c */
643 { return(*(int *)0); }
647 { return(*(int *)0); }
652 { return(*(int *)0); }
656 { return(*(int *)0); }
670 { return(*(int *)0); }
674 { return(*(int *)0); }
679 { return(*(int *)0); }
683 { return(*(int *)0); }
699 { return(*(int *)0); }
705 { return(*(int *)0); }
707 /* ./tinfo/lib_setup.c */
718 #undef set_tabsize_sp
722 { return(*(int *)0); }
727 { return(*(int *)0); }
729 #undef _nc_handle_sigwinch
730 int _nc_handle_sigwinch(
732 { return(*(int *)0); }
756 #undef _nc_get_screensize
757 void _nc_get_screensize(
763 #undef _nc_update_screensize
764 void _nc_update_screensize(
768 #undef _nc_setup_tinfo
770 const char *const tn,
772 { return(*(int *)0); }
774 #undef _nc_tinfo_cmdch
775 void _nc_tinfo_cmdch(
780 #undef _nc_get_locale
781 char *_nc_get_locale(void)
782 { return(*(char **)0); }
784 #undef _nc_unicode_locale
785 int _nc_unicode_locale(void)
786 { return(*(int *)0); }
788 #undef _nc_locale_breaks_acs
789 int _nc_locale_breaks_acs(
791 { return(*(int *)0); }
799 { return(*(int *)0); }
802 SCREEN *new_prescr(void)
803 { return(*(SCREEN **)0); }
810 { return(*(int *)0); }
812 /* ./tinfo/lib_termcap.c */
824 { return(*(int *)0); }
830 { return(*(int *)0); }
836 { return(*(int *)0); }
841 { return(*(int *)0); }
847 { return(*(int *)0); }
852 { return(*(int *)0); }
859 { return(*(char **)0); }
865 { return(*(char **)0); }
867 /* ./tinfo/lib_termname.c */
872 { return(*(char **)0); }
876 { return(*(char **)0); }
878 /* ./tinfo/lib_tgoto.c */
885 { return(*(char **)0); }
887 /* ./tinfo/lib_ti.c */
893 { return(*(int *)0); }
898 { return(*(int *)0); }
904 { return(*(int *)0); }
909 { return(*(int *)0); }
915 { return(*(char **)0); }
920 { return(*(char **)0); }
922 /* ./tinfo/lib_tparm.c */
927 #undef _nc_free_tparm
932 #undef _nc_tparm_analyze
933 int _nc_tparm_analyze(
938 { return(*(int *)0); }
944 { return(*(char **)0); }
950 { return(*(char **)0); }
957 { return(*(char **)0); }
959 #undef _nc_reset_tparm
960 void _nc_reset_tparm(
964 /* ./tinfo/lib_tputs.c */
970 #undef _nc_nulls_sent
973 #undef _nc_set_no_padding
974 void _nc_set_no_padding(
978 #undef delay_output_sp
982 { return(*(int *)0); }
987 { return(*(int *)0); }
1002 { return(*(int *)0); }
1007 { return(*(int *)0); }
1009 #undef _nc_putchar_sp
1013 { return(*(int *)0); }
1018 { return(*(int *)0); }
1024 { return(*(int *)0); }
1029 { return(*(int *)0); }
1036 { return(*(int *)0); }
1042 { return(*(int *)0); }
1049 NCURSES_OUTC_sp outc)
1050 { return(*(int *)0); }
1052 #undef _nc_outc_wrapper
1053 int _nc_outc_wrapper(
1056 { return(*(int *)0); }
1064 { return(*(int *)0); }
1066 /* ./trace/lib_trace.c */
1069 unsigned _nc_tracing;
1070 #undef _nc_tputs_trace
1071 const char *_nc_tputs_trace = {0};
1076 unsigned curses_trace(
1077 unsigned tracelevel)
1078 { return(*(unsigned *)0); }
1082 const unsigned int tracelevel)
1091 #undef _nc_retrace_bool
1092 NCURSES_BOOL _nc_retrace_bool(
1094 { return(*(NCURSES_BOOL *)0); }
1096 #undef _nc_retrace_char
1097 char _nc_retrace_char(
1099 { return(*(char *)0); }
1101 #undef _nc_retrace_int
1102 int _nc_retrace_int(
1104 { return(*(int *)0); }
1106 #undef _nc_retrace_unsigned
1107 unsigned _nc_retrace_unsigned(
1109 { return(*(unsigned *)0); }
1111 #undef _nc_retrace_ptr
1112 char *_nc_retrace_ptr(
1114 { return(*(char **)0); }
1116 #undef _nc_retrace_cptr
1117 const char *_nc_retrace_cptr(
1119 { return(*(const char **)0); }
1121 #undef _nc_retrace_cvoid_ptr
1122 const void *_nc_retrace_cvoid_ptr(
1124 { return(*(const void **)0); }
1126 #undef _nc_retrace_void_ptr
1127 void *_nc_retrace_void_ptr(
1129 { return(*(void **)0); }
1131 #undef _nc_retrace_sp
1132 SCREEN *_nc_retrace_sp(
1134 { return(*(SCREEN **)0); }
1136 #undef _nc_retrace_win
1137 WINDOW *_nc_retrace_win(
1139 { return(*(WINDOW **)0); }
1141 #undef _nc_fmt_funcptr
1142 char *_nc_fmt_funcptr(
1146 { return(*(char **)0); }
1148 /* ./trace/lib_traceatr.c */
1154 { return(*(char **)0); }
1159 { return(*(char **)0); }
1161 #undef _nc_retrace_int_attr_t
1162 int _nc_retrace_int_attr_t(
1164 { return(*(int *)0); }
1166 #undef _nc_retrace_attr_t
1167 attr_t _nc_retrace_attr_t(
1169 { return(*(attr_t *)0); }
1171 #undef _nc_altcharset_name
1172 const char *_nc_altcharset_name(
1175 { return(*(const char **)0); }
1177 #undef _tracechtype2
1178 char *_tracechtype2(
1181 { return(*(char **)0); }
1186 { return(*(char **)0); }
1188 #undef _nc_retrace_chtype
1189 chtype _nc_retrace_chtype(
1191 { return(*(chtype *)0); }
1193 #undef _tracecchar_t2
1194 char *_tracecchar_t2(
1197 { return(*(char **)0); }
1199 #undef _tracecchar_t
1200 char *_tracecchar_t(
1202 { return(*(char **)0); }
1204 /* ./trace/lib_tracebits.c */
1206 #undef _nc_trace_ttymode
1207 char *_nc_trace_ttymode(
1208 const struct termios *tty)
1209 { return(*(char **)0); }
1211 #undef _nc_tracebits
1212 char *_nc_tracebits(void)
1213 { return(*(char **)0); }
1215 /* ./trace/lib_tracechr.c */
1217 #undef _nc_tracechar
1218 char *_nc_tracechar(
1221 { return(*(char **)0); }
1226 { return(*(char **)0); }
1228 /* ./tinfo/lib_ttyflags.c */
1230 #undef _nc_get_tty_mode_sp
1231 int _nc_get_tty_mode_sp(
1233 struct termios *buf)
1234 { return(*(int *)0); }
1236 #undef _nc_get_tty_mode
1237 int _nc_get_tty_mode(
1238 struct termios *buf)
1239 { return(*(int *)0); }
1241 #undef _nc_set_tty_mode_sp
1242 int _nc_set_tty_mode_sp(
1244 struct termios *buf)
1245 { return(*(int *)0); }
1247 #undef _nc_set_tty_mode
1248 int _nc_set_tty_mode(
1249 struct termios *buf)
1250 { return(*(int *)0); }
1252 #undef def_shell_mode_sp
1253 int def_shell_mode_sp(
1255 { return(*(int *)0); }
1257 #undef def_shell_mode
1258 int def_shell_mode(void)
1259 { return(*(int *)0); }
1261 #undef def_prog_mode_sp
1262 int def_prog_mode_sp(
1264 { return(*(int *)0); }
1266 #undef def_prog_mode
1267 int def_prog_mode(void)
1268 { return(*(int *)0); }
1270 #undef reset_prog_mode_sp
1271 int reset_prog_mode_sp(
1273 { return(*(int *)0); }
1275 #undef reset_prog_mode
1276 int reset_prog_mode(void)
1277 { return(*(int *)0); }
1279 #undef reset_shell_mode_sp
1280 int reset_shell_mode_sp(
1282 { return(*(int *)0); }
1284 #undef reset_shell_mode
1285 int reset_shell_mode(void)
1286 { return(*(int *)0); }
1291 { return(*(int *)0); }
1295 { return(*(int *)0); }
1300 { return(*(int *)0); }
1304 { return(*(int *)0); }
1306 /* ./tty/lib_twait.c */
1308 #undef _nc_timed_wait
1314 { return(*(int *)0); }
1316 /* ./tinfo/name_match.c */
1318 #undef _nc_first_name
1319 char *_nc_first_name(
1320 const char *const sp)
1321 { return(*(char **)0); }
1323 #undef _nc_name_match
1325 const char *const namelst,
1326 const char *const name,
1327 const char *const delim)
1328 { return(*(int *)0); }
1333 const char *const boolnames[] = {0};
1335 const char *const boolfnames[] = {0};
1337 const char *const numnames[] = {0};
1339 const char *const numfnames[] = {0};
1341 const char *const strnames[] = {0};
1343 const char *const strfnames[] = {0};
1345 /* ./tinfo/obsolete.c */
1347 #undef _nc_set_buffer_sp
1348 void _nc_set_buffer_sp(
1354 #undef _nc_set_buffer
1355 void _nc_set_buffer(
1360 /* ./tinfo/read_entry.c */
1362 #undef _nc_init_termtype
1363 void _nc_init_termtype(
1364 TERMTYPE2 *const tp)
1367 #undef _nc_read_termtype
1368 int _nc_read_termtype(
1372 { return(*(int *)0); }
1374 #undef _nc_read_file_entry
1375 int _nc_read_file_entry(
1376 const char *const filename,
1378 { return(*(int *)0); }
1380 #undef _nc_read_entry2
1381 int _nc_read_entry2(
1382 const char *const name,
1383 char *const filename,
1384 TERMTYPE2 *const tp)
1385 { return(*(int *)0); }
1387 #undef _nc_read_entry
1389 const char *const name,
1390 char *const filename,
1392 { return(*(int *)0); }
1394 /* ./tinfo/read_termcap.c */
1396 #undef _nc_read_termcap
1397 void _nc_read_termcap(void)
1400 /* ./tinfo/strings.c */
1403 string_desc *_nc_str_init(
1407 { return(*(string_desc **)0); }
1410 string_desc *_nc_str_null(
1413 { return(*(string_desc **)0); }
1416 string_desc *_nc_str_copy(
1419 { return(*(string_desc **)0); }
1421 #undef _nc_safe_strcat
1422 NCURSES_BOOL _nc_safe_strcat(
1425 { return(*(NCURSES_BOOL *)0); }
1427 #undef _nc_safe_strcpy
1428 NCURSES_BOOL _nc_safe_strcpy(
1431 { return(*(NCURSES_BOOL *)0); }
1433 /* ./trace/trace_buf.c */
1435 #undef _nc_trace_buf
1436 char *_nc_trace_buf(
1439 { return(*(char **)0); }
1441 #undef _nc_trace_bufcat
1442 char *_nc_trace_bufcat(
1445 { return(*(char **)0); }
1447 /* ./trace/trace_tries.c */
1449 #undef _nc_trace_tries
1450 void _nc_trace_tries(
1454 /* ./base/tries.c */
1456 #undef _nc_expand_try
1457 char *_nc_expand_try(
1462 { return(*(char **)0); }
1464 #undef _nc_remove_key
1468 { return(*(int *)0); }
1470 #undef _nc_remove_string
1471 int _nc_remove_string(
1474 { return(*(int *)0); }
1476 /* ./tinfo/trim_sgr0.c */
1478 #undef _nc_trim_sgr0
1479 char *_nc_trim_sgr0(
1481 { return(*(char **)0); }
1486 const char *unctrl_sp(
1489 { return(*(const char **)0); }
1494 { return(*(const char **)0); }
1496 /* ./trace/visbuf.c */
1499 const char *_nc_visbuf2(
1502 { return(*(const char **)0); }
1505 const char *_nc_visbuf(
1507 { return(*(const char **)0); }
1510 const char *_nc_visbufn(
1513 { return(*(const char **)0); }
1516 const char *_nc_viswbuf2(
1519 { return(*(const char **)0); }
1522 const char *_nc_viswbuf(
1524 { return(*(const char **)0); }
1527 const char *_nc_viswbufn(
1530 { return(*(const char **)0); }
1533 const char *_nc_viswibuf(
1535 { return(*(const char **)0); }
1538 const char *_nc_viscbuf2(
1542 { return(*(const char **)0); }
1545 const char *_nc_viscbuf(
1548 { return(*(const char **)0); }
1550 /* ./base/define_key.c */
1552 #undef define_key_sp
1557 { return(*(int *)0); }
1563 { return(*(int *)0); }
1565 /* ./tinfo/hashed_db.c */
1567 #undef _nc_hashed_db
1568 void _nc_hashed_db(void)
1571 /* ./base/key_defined.c */
1573 #undef key_defined_sp
1577 { return(*(int *)0); }
1582 { return(*(int *)0); }
1584 /* ./base/keybound.c */
1591 { return(*(char **)0); }
1597 { return(*(char **)0); }
1599 /* ./base/keyok.c */
1606 { return(*(int *)0); }
1612 { return(*(int *)0); }
1614 /* ./base/version.c */
1616 #undef curses_version
1617 const char *curses_version(void)
1618 { return(*(const char **)0); }