1 /****************************************************************************
2 * Copyright 2018-2022,2023 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); }
958 { return(*(char **)0); }
965 { return(*(int *)0); }
972 { return(*(char **)0); }
974 #undef _nc_reset_tparm
975 void _nc_reset_tparm(
979 /* ./tinfo/lib_tputs.c */
985 #undef _nc_nulls_sent
988 #undef _nc_set_no_padding
989 void _nc_set_no_padding(
993 #undef delay_output_sp
997 { return(*(int *)0); }
1002 { return(*(int *)0); }
1010 void _nc_flush(void)
1017 { return(*(int *)0); }
1022 { return(*(int *)0); }
1024 #undef _nc_putchar_sp
1028 { return(*(int *)0); }
1033 { return(*(int *)0); }
1039 { return(*(int *)0); }
1044 { return(*(int *)0); }
1051 { return(*(int *)0); }
1057 { return(*(int *)0); }
1064 NCURSES_OUTC_sp outc)
1065 { return(*(int *)0); }
1067 #undef _nc_outc_wrapper
1068 int _nc_outc_wrapper(
1071 { return(*(int *)0); }
1079 { return(*(int *)0); }
1081 /* ./trace/lib_trace.c */
1084 unsigned _nc_tracing;
1085 #undef _nc_tputs_trace
1086 const char *_nc_tputs_trace = {0};
1091 unsigned curses_trace(
1092 unsigned tracelevel)
1093 { return(*(unsigned *)0); }
1097 const unsigned int tracelevel)
1106 #undef _nc_retrace_bool
1107 NCURSES_BOOL _nc_retrace_bool(
1109 { return(*(NCURSES_BOOL *)0); }
1111 #undef _nc_retrace_char
1112 char _nc_retrace_char(
1114 { return(*(char *)0); }
1116 #undef _nc_retrace_int
1117 int _nc_retrace_int(
1119 { return(*(int *)0); }
1121 #undef _nc_retrace_unsigned
1122 unsigned _nc_retrace_unsigned(
1124 { return(*(unsigned *)0); }
1126 #undef _nc_retrace_ptr
1127 char *_nc_retrace_ptr(
1129 { return(*(char **)0); }
1131 #undef _nc_retrace_cptr
1132 const char *_nc_retrace_cptr(
1134 { return(*(const char **)0); }
1136 #undef _nc_retrace_cvoid_ptr
1137 const void *_nc_retrace_cvoid_ptr(
1139 { return(*(const void **)0); }
1141 #undef _nc_retrace_void_ptr
1142 void *_nc_retrace_void_ptr(
1144 { return(*(void **)0); }
1146 #undef _nc_retrace_sp
1147 SCREEN *_nc_retrace_sp(
1149 { return(*(SCREEN **)0); }
1151 #undef _nc_retrace_win
1152 WINDOW *_nc_retrace_win(
1154 { return(*(WINDOW **)0); }
1156 #undef _nc_fmt_funcptr
1157 char *_nc_fmt_funcptr(
1161 { return(*(char **)0); }
1163 /* ./trace/lib_traceatr.c */
1169 { return(*(char **)0); }
1174 { return(*(char **)0); }
1176 #undef _nc_retrace_int_attr_t
1177 int _nc_retrace_int_attr_t(
1179 { return(*(int *)0); }
1181 #undef _nc_retrace_attr_t
1182 attr_t _nc_retrace_attr_t(
1184 { return(*(attr_t *)0); }
1186 #undef _nc_altcharset_name
1187 const char *_nc_altcharset_name(
1190 { return(*(const char **)0); }
1192 #undef _tracechtype2
1193 char *_tracechtype2(
1196 { return(*(char **)0); }
1201 { return(*(char **)0); }
1203 #undef _nc_retrace_chtype
1204 chtype _nc_retrace_chtype(
1206 { return(*(chtype *)0); }
1208 #undef _tracecchar_t2
1209 char *_tracecchar_t2(
1212 { return(*(char **)0); }
1214 #undef _tracecchar_t
1215 char *_tracecchar_t(
1217 { return(*(char **)0); }
1219 /* ./trace/lib_tracebits.c */
1221 #undef _nc_trace_ttymode
1222 char *_nc_trace_ttymode(
1223 const struct termios *tty)
1224 { return(*(char **)0); }
1226 #undef _nc_tracebits
1227 char *_nc_tracebits(void)
1228 { return(*(char **)0); }
1230 /* ./trace/lib_tracechr.c */
1232 #undef _nc_tracechar
1233 char *_nc_tracechar(
1236 { return(*(char **)0); }
1241 { return(*(char **)0); }
1243 /* ./tinfo/lib_ttyflags.c */
1245 #undef _nc_get_tty_mode_sp
1246 int _nc_get_tty_mode_sp(
1248 struct termios *buf)
1249 { return(*(int *)0); }
1251 #undef _nc_get_tty_mode
1252 int _nc_get_tty_mode(
1253 struct termios *buf)
1254 { return(*(int *)0); }
1256 #undef _nc_set_tty_mode_sp
1257 int _nc_set_tty_mode_sp(
1259 struct termios *buf)
1260 { return(*(int *)0); }
1262 #undef _nc_set_tty_mode
1263 int _nc_set_tty_mode(
1264 struct termios *buf)
1265 { return(*(int *)0); }
1267 #undef def_shell_mode_sp
1268 int def_shell_mode_sp(
1270 { return(*(int *)0); }
1272 #undef def_shell_mode
1273 int def_shell_mode(void)
1274 { return(*(int *)0); }
1276 #undef def_prog_mode_sp
1277 int def_prog_mode_sp(
1279 { return(*(int *)0); }
1281 #undef def_prog_mode
1282 int def_prog_mode(void)
1283 { return(*(int *)0); }
1285 #undef reset_prog_mode_sp
1286 int reset_prog_mode_sp(
1288 { return(*(int *)0); }
1290 #undef reset_prog_mode
1291 int reset_prog_mode(void)
1292 { return(*(int *)0); }
1294 #undef reset_shell_mode_sp
1295 int reset_shell_mode_sp(
1297 { return(*(int *)0); }
1299 #undef reset_shell_mode
1300 int reset_shell_mode(void)
1301 { return(*(int *)0); }
1306 { return(*(int *)0); }
1310 { return(*(int *)0); }
1315 { return(*(int *)0); }
1319 { return(*(int *)0); }
1321 /* ./tty/lib_twait.c */
1323 #undef _nc_timed_wait
1329 { return(*(int *)0); }
1331 /* ./tinfo/name_match.c */
1333 #undef _nc_first_name
1334 char *_nc_first_name(
1335 const char *const sp)
1336 { return(*(char **)0); }
1338 #undef _nc_name_match
1340 const char *const namelst,
1341 const char *const name,
1342 const char *const delim)
1343 { return(*(int *)0); }
1348 const char *const boolnames[] = {0};
1350 const char *const boolfnames[] = {0};
1352 const char *const numnames[] = {0};
1354 const char *const numfnames[] = {0};
1356 const char *const strnames[] = {0};
1358 const char *const strfnames[] = {0};
1360 /* ./tinfo/obsolete.c */
1362 #undef _nc_set_buffer_sp
1363 void _nc_set_buffer_sp(
1369 #undef _nc_set_buffer
1370 void _nc_set_buffer(
1375 /* ./tinfo/read_entry.c */
1377 #undef _nc_init_termtype
1378 void _nc_init_termtype(
1379 TERMTYPE2 *const tp)
1382 #undef _nc_read_termtype
1383 int _nc_read_termtype(
1387 { return(*(int *)0); }
1389 #undef _nc_read_file_entry
1390 int _nc_read_file_entry(
1391 const char *const filename,
1393 { return(*(int *)0); }
1395 #undef _nc_read_entry2
1396 int _nc_read_entry2(
1397 const char *const name,
1398 char *const filename,
1399 TERMTYPE2 *const tp)
1400 { return(*(int *)0); }
1402 #undef _nc_read_entry
1404 const char *const name,
1405 char *const filename,
1407 { return(*(int *)0); }
1409 /* ./tinfo/read_termcap.c */
1411 #undef _nc_read_termcap
1412 void _nc_read_termcap(void)
1415 /* ./tinfo/strings.c */
1418 string_desc *_nc_str_init(
1422 { return(*(string_desc **)0); }
1425 string_desc *_nc_str_null(
1428 { return(*(string_desc **)0); }
1431 string_desc *_nc_str_copy(
1434 { return(*(string_desc **)0); }
1436 #undef _nc_safe_strcat
1437 NCURSES_BOOL _nc_safe_strcat(
1440 { return(*(NCURSES_BOOL *)0); }
1442 #undef _nc_safe_strcpy
1443 NCURSES_BOOL _nc_safe_strcpy(
1446 { return(*(NCURSES_BOOL *)0); }
1448 /* ./trace/trace_buf.c */
1450 #undef _nc_trace_buf
1451 char *_nc_trace_buf(
1454 { return(*(char **)0); }
1456 #undef _nc_trace_bufcat
1457 char *_nc_trace_bufcat(
1460 { return(*(char **)0); }
1462 /* ./trace/trace_tries.c */
1464 #undef _nc_trace_tries
1465 void _nc_trace_tries(
1469 /* ./base/tries.c */
1471 #undef _nc_expand_try
1472 char *_nc_expand_try(
1477 { return(*(char **)0); }
1479 #undef _nc_remove_key
1483 { return(*(int *)0); }
1485 #undef _nc_remove_string
1486 int _nc_remove_string(
1489 { return(*(int *)0); }
1491 /* ./tinfo/trim_sgr0.c */
1493 #undef _nc_trim_sgr0
1494 char *_nc_trim_sgr0(
1496 { return(*(char **)0); }
1501 const char *unctrl_sp(
1504 { return(*(const char **)0); }
1509 { return(*(const char **)0); }
1511 /* ./trace/visbuf.c */
1514 const char *_nc_visbuf2(
1517 { return(*(const char **)0); }
1520 const char *_nc_visbuf(
1522 { return(*(const char **)0); }
1525 const char *_nc_visbufn(
1528 { return(*(const char **)0); }
1531 const char *_nc_viswbuf2(
1534 { return(*(const char **)0); }
1537 const char *_nc_viswbuf(
1539 { return(*(const char **)0); }
1542 const char *_nc_viswbufn(
1545 { return(*(const char **)0); }
1548 const char *_nc_viswibuf(
1550 { return(*(const char **)0); }
1553 const char *_nc_viscbuf2(
1557 { return(*(const char **)0); }
1560 const char *_nc_viscbuf(
1563 { return(*(const char **)0); }
1565 /* ./base/define_key.c */
1567 #undef define_key_sp
1572 { return(*(int *)0); }
1578 { return(*(int *)0); }
1580 /* ./tinfo/hashed_db.c */
1582 #undef _nc_hashed_db
1583 void _nc_hashed_db(void)
1586 /* ./base/key_defined.c */
1588 #undef key_defined_sp
1592 { return(*(int *)0); }
1597 { return(*(int *)0); }
1599 /* ./base/keybound.c */
1606 { return(*(char **)0); }
1612 { return(*(char **)0); }
1614 /* ./base/keyok.c */
1621 { return(*(int *)0); }
1627 { return(*(int *)0); }
1629 /* ./base/version.c */
1631 #undef curses_version
1632 const char *curses_version(void)
1633 { return(*(const char **)0); }