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); }
710 { return(*(int *)0); }
715 { return(*(int *)0); }
720 { return(*(int *)0); }
725 { return(*(int *)0); }
729 { return(*(int *)0); }
733 { return(*(int *)0); }
737 { return(*(int *)0); }
741 { return(*(int *)0); }
743 /* ./tinfo/lib_setup.c */
754 #undef set_tabsize_sp
758 { return(*(int *)0); }
763 { return(*(int *)0); }
765 #undef _nc_handle_sigwinch
766 int _nc_handle_sigwinch(
768 { return(*(int *)0); }
792 #undef _nc_get_screensize
793 void _nc_get_screensize(
799 #undef _nc_update_screensize
800 void _nc_update_screensize(
804 #undef _nc_setup_tinfo
806 const char *const tn,
808 { return(*(int *)0); }
810 #undef _nc_tinfo_cmdch
811 void _nc_tinfo_cmdch(
816 #undef _nc_get_locale
817 char *_nc_get_locale(void)
818 { return(*(char **)0); }
820 #undef _nc_unicode_locale
821 int _nc_unicode_locale(void)
822 { return(*(int *)0); }
824 #undef _nc_locale_breaks_acs
825 int _nc_locale_breaks_acs(
827 { return(*(int *)0); }
835 { return(*(int *)0); }
838 SCREEN *new_prescr(void)
839 { return(*(SCREEN **)0); }
846 { return(*(int *)0); }
848 /* ./tinfo/lib_termcap.c */
860 { return(*(int *)0); }
866 { return(*(int *)0); }
872 { return(*(int *)0); }
877 { return(*(int *)0); }
883 { return(*(int *)0); }
888 { return(*(int *)0); }
895 { return(*(char **)0); }
901 { return(*(char **)0); }
903 /* ./tinfo/lib_termname.c */
908 { return(*(char **)0); }
912 { return(*(char **)0); }
914 /* ./tinfo/lib_tgoto.c */
921 { return(*(char **)0); }
923 /* ./tinfo/lib_ti.c */
929 { return(*(int *)0); }
934 { return(*(int *)0); }
940 { return(*(int *)0); }
945 { return(*(int *)0); }
951 { return(*(char **)0); }
956 { return(*(char **)0); }
958 /* ./tinfo/lib_tparm.c */
963 #undef _nc_free_tparm
968 #undef _nc_tparm_analyze
969 int _nc_tparm_analyze(
974 { return(*(int *)0); }
980 { return(*(char **)0); }
986 { return(*(char **)0); }
994 { return(*(char **)0); }
1001 { return(*(int *)0); }
1008 { return(*(char **)0); }
1010 #undef _nc_reset_tparm
1011 void _nc_reset_tparm(
1015 /* ./tinfo/lib_tputs.c */
1021 #undef _nc_nulls_sent
1024 #undef _nc_set_no_padding
1025 void _nc_set_no_padding(
1029 #undef delay_output_sp
1030 int delay_output_sp(
1033 { return(*(int *)0); }
1038 { return(*(int *)0); }
1046 void _nc_flush(void)
1053 { return(*(int *)0); }
1058 { return(*(int *)0); }
1060 #undef _nc_putchar_sp
1064 { return(*(int *)0); }
1069 { return(*(int *)0); }
1075 { return(*(int *)0); }
1080 { return(*(int *)0); }
1087 { return(*(int *)0); }
1093 { return(*(int *)0); }
1100 NCURSES_OUTC_sp outc)
1101 { return(*(int *)0); }
1103 #undef _nc_outc_wrapper
1104 int _nc_outc_wrapper(
1107 { return(*(int *)0); }
1115 { return(*(int *)0); }
1117 /* ./trace/lib_trace.c */
1120 unsigned _nc_tracing;
1121 #undef _nc_tputs_trace
1122 const char *_nc_tputs_trace = {0};
1127 unsigned curses_trace(
1128 unsigned tracelevel)
1129 { return(*(unsigned *)0); }
1133 const unsigned int tracelevel)
1142 #undef _nc_retrace_bool
1143 NCURSES_BOOL _nc_retrace_bool(
1145 { return(*(NCURSES_BOOL *)0); }
1147 #undef _nc_retrace_char
1148 char _nc_retrace_char(
1150 { return(*(char *)0); }
1152 #undef _nc_retrace_int
1153 int _nc_retrace_int(
1155 { return(*(int *)0); }
1157 #undef _nc_retrace_unsigned
1158 unsigned _nc_retrace_unsigned(
1160 { return(*(unsigned *)0); }
1162 #undef _nc_retrace_ptr
1163 char *_nc_retrace_ptr(
1165 { return(*(char **)0); }
1167 #undef _nc_retrace_cptr
1168 const char *_nc_retrace_cptr(
1170 { return(*(const char **)0); }
1172 #undef _nc_retrace_cvoid_ptr
1173 const void *_nc_retrace_cvoid_ptr(
1175 { return(*(const void **)0); }
1177 #undef _nc_retrace_void_ptr
1178 void *_nc_retrace_void_ptr(
1180 { return(*(void **)0); }
1182 #undef _nc_retrace_sp
1183 SCREEN *_nc_retrace_sp(
1185 { return(*(SCREEN **)0); }
1187 #undef _nc_retrace_win
1188 WINDOW *_nc_retrace_win(
1190 { return(*(WINDOW **)0); }
1192 #undef _nc_fmt_funcptr
1193 char *_nc_fmt_funcptr(
1197 { return(*(char **)0); }
1199 /* ./trace/lib_traceatr.c */
1205 { return(*(char **)0); }
1210 { return(*(char **)0); }
1212 #undef _nc_retrace_int_attr_t
1213 int _nc_retrace_int_attr_t(
1215 { return(*(int *)0); }
1217 #undef _nc_retrace_attr_t
1218 attr_t _nc_retrace_attr_t(
1220 { return(*(attr_t *)0); }
1222 #undef _nc_altcharset_name
1223 const char *_nc_altcharset_name(
1226 { return(*(const char **)0); }
1228 #undef _tracechtype2
1229 char *_tracechtype2(
1232 { return(*(char **)0); }
1237 { return(*(char **)0); }
1239 #undef _nc_retrace_chtype
1240 chtype _nc_retrace_chtype(
1242 { return(*(chtype *)0); }
1244 #undef _tracecchar_t2
1245 char *_tracecchar_t2(
1248 { return(*(char **)0); }
1250 #undef _tracecchar_t
1251 char *_tracecchar_t(
1253 { return(*(char **)0); }
1255 /* ./trace/lib_tracebits.c */
1257 #undef _nc_trace_ttymode
1258 char *_nc_trace_ttymode(
1259 const struct termios *tty)
1260 { return(*(char **)0); }
1262 #undef _nc_tracebits
1263 char *_nc_tracebits(void)
1264 { return(*(char **)0); }
1266 /* ./trace/lib_tracechr.c */
1268 #undef _nc_tracechar
1269 char *_nc_tracechar(
1272 { return(*(char **)0); }
1277 { return(*(char **)0); }
1279 /* ./tinfo/lib_ttyflags.c */
1281 #undef _nc_get_tty_mode_sp
1282 int _nc_get_tty_mode_sp(
1284 struct termios *buf)
1285 { return(*(int *)0); }
1287 #undef _nc_get_tty_mode
1288 int _nc_get_tty_mode(
1289 struct termios *buf)
1290 { return(*(int *)0); }
1292 #undef _nc_set_tty_mode_sp
1293 int _nc_set_tty_mode_sp(
1295 struct termios *buf)
1296 { return(*(int *)0); }
1298 #undef _nc_set_tty_mode
1299 int _nc_set_tty_mode(
1300 struct termios *buf)
1301 { return(*(int *)0); }
1303 #undef def_shell_mode_sp
1304 int def_shell_mode_sp(
1306 { return(*(int *)0); }
1308 #undef def_shell_mode
1309 int def_shell_mode(void)
1310 { return(*(int *)0); }
1312 #undef def_prog_mode_sp
1313 int def_prog_mode_sp(
1315 { return(*(int *)0); }
1317 #undef def_prog_mode
1318 int def_prog_mode(void)
1319 { return(*(int *)0); }
1321 #undef reset_prog_mode_sp
1322 int reset_prog_mode_sp(
1324 { return(*(int *)0); }
1326 #undef reset_prog_mode
1327 int reset_prog_mode(void)
1328 { return(*(int *)0); }
1330 #undef reset_shell_mode_sp
1331 int reset_shell_mode_sp(
1333 { return(*(int *)0); }
1335 #undef reset_shell_mode
1336 int reset_shell_mode(void)
1337 { return(*(int *)0); }
1342 { return(*(int *)0); }
1346 { return(*(int *)0); }
1351 { return(*(int *)0); }
1355 { return(*(int *)0); }
1357 /* ./tty/lib_twait.c */
1359 #undef _nc_timed_wait
1365 { return(*(int *)0); }
1367 /* ./tinfo/name_match.c */
1369 #undef _nc_first_name
1370 char *_nc_first_name(
1371 const char *const sp)
1372 { return(*(char **)0); }
1374 #undef _nc_name_match
1376 const char *const namelst,
1377 const char *const name,
1378 const char *const delim)
1379 { return(*(int *)0); }
1384 const char *const boolnames[] = {0};
1386 const char *const boolfnames[] = {0};
1388 const char *const numnames[] = {0};
1390 const char *const numfnames[] = {0};
1392 const char *const strnames[] = {0};
1394 const char *const strfnames[] = {0};
1396 /* ./tinfo/obsolete.c */
1398 #undef _nc_set_buffer_sp
1399 void _nc_set_buffer_sp(
1405 #undef _nc_set_buffer
1406 void _nc_set_buffer(
1411 /* ./tinfo/read_entry.c */
1413 #undef _nc_init_termtype
1414 void _nc_init_termtype(
1415 TERMTYPE2 *const tp)
1418 #undef _nc_read_termtype
1419 int _nc_read_termtype(
1423 { return(*(int *)0); }
1425 #undef _nc_read_file_entry
1426 int _nc_read_file_entry(
1427 const char *const filename,
1429 { return(*(int *)0); }
1431 #undef _nc_read_entry2
1432 int _nc_read_entry2(
1433 const char *const name,
1434 char *const filename,
1435 TERMTYPE2 *const tp)
1436 { return(*(int *)0); }
1438 #undef _nc_read_entry
1440 const char *const name,
1441 char *const filename,
1443 { return(*(int *)0); }
1445 /* ./tinfo/read_termcap.c */
1447 #undef _nc_read_termcap
1448 void _nc_read_termcap(void)
1451 /* ./tinfo/strings.c */
1454 string_desc *_nc_str_init(
1458 { return(*(string_desc **)0); }
1461 string_desc *_nc_str_null(
1464 { return(*(string_desc **)0); }
1467 string_desc *_nc_str_copy(
1469 const string_desc *const src)
1470 { return(*(string_desc **)0); }
1472 #undef _nc_safe_strcat
1473 NCURSES_BOOL _nc_safe_strcat(
1476 { return(*(NCURSES_BOOL *)0); }
1478 #undef _nc_safe_strcpy
1479 NCURSES_BOOL _nc_safe_strcpy(
1482 { return(*(NCURSES_BOOL *)0); }
1484 /* ./trace/trace_buf.c */
1486 #undef _nc_trace_buf
1487 char *_nc_trace_buf(
1490 { return(*(char **)0); }
1492 #undef _nc_trace_bufcat
1493 char *_nc_trace_bufcat(
1496 { return(*(char **)0); }
1498 /* ./trace/trace_tries.c */
1500 #undef _nc_trace_tries
1501 void _nc_trace_tries(
1505 /* ./base/tries.c */
1507 #undef _nc_expand_try
1508 char *_nc_expand_try(
1513 { return(*(char **)0); }
1515 #undef _nc_remove_key
1519 { return(*(int *)0); }
1521 #undef _nc_remove_string
1522 int _nc_remove_string(
1525 { return(*(int *)0); }
1527 /* ./tinfo/trim_sgr0.c */
1529 #undef _nc_trim_sgr0
1530 char *_nc_trim_sgr0(
1532 { return(*(char **)0); }
1537 const char *unctrl_sp(
1540 { return(*(const char **)0); }
1545 { return(*(const char **)0); }
1547 /* ./trace/visbuf.c */
1550 const char *_nc_visbuf2(
1553 { return(*(const char **)0); }
1556 const char *_nc_visbuf(
1558 { return(*(const char **)0); }
1561 const char *_nc_visbufn(
1564 { return(*(const char **)0); }
1567 const char *_nc_viswbuf2(
1570 { return(*(const char **)0); }
1573 const char *_nc_viswbuf(
1575 { return(*(const char **)0); }
1578 const char *_nc_viswbufn(
1581 { return(*(const char **)0); }
1584 const char *_nc_viswibuf(
1586 { return(*(const char **)0); }
1589 const char *_nc_viscbuf2(
1593 { return(*(const char **)0); }
1596 const char *_nc_viscbuf(
1599 { return(*(const char **)0); }
1601 /* ./base/define_key.c */
1603 #undef define_key_sp
1608 { return(*(int *)0); }
1614 { return(*(int *)0); }
1616 /* ./tinfo/hashed_db.c */
1618 #undef _nc_hashed_db
1619 void _nc_hashed_db(void)
1622 /* ./base/key_defined.c */
1624 #undef key_defined_sp
1628 { return(*(int *)0); }
1633 { return(*(int *)0); }
1635 /* ./base/keybound.c */
1642 { return(*(char **)0); }
1648 { return(*(char **)0); }
1650 /* ./base/keyok.c */
1657 { return(*(int *)0); }
1663 { return(*(int *)0); }
1665 /* ./base/version.c */
1667 #undef curses_version
1668 const char *curses_version(void)
1669 { return(*(const char **)0); }