1 /****************************************************************************
2 * Copyright 2019-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(
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_free_termtype1
300 void _nc_free_termtype1(
304 #undef _nc_user_definable
305 NCURSES_BOOL _nc_user_definable;
307 #undef use_extended_names
308 int use_extended_names(
310 { return(*(int *)0); }
312 /* ./tinfo/getenv_num.c */
314 #undef _nc_getenv_num
317 { return(*(int *)0); }
319 #undef _nc_setenv_num
325 /* ./tinfo/home_terminfo.c */
327 #undef _nc_home_terminfo
328 char *_nc_home_terminfo(void)
329 { return(*(char **)0); }
331 /* ./tinfo/init_keytry.c */
333 #undef _nc_init_keytry
334 void _nc_init_keytry(
338 /* ./tinfo/lib_acs.c */
343 #undef _nc_init_acs_sp
344 void _nc_init_acs_sp(
349 void _nc_init_acs(void)
352 /* ./tinfo/lib_baudrate.c */
362 { return(*(int *)0); }
367 { return(*(int *)0); }
372 { return(*(int *)0); }
376 { return(*(int *)0); }
378 /* ./tinfo/lib_cur_term.c */
383 #undef set_curterm_sp
384 TERMINAL *set_curterm_sp(
387 { return(*(TERMINAL **)0); }
390 TERMINAL *set_curterm(
392 { return(*(TERMINAL **)0); }
394 #undef del_curterm_sp
398 { return(*(int *)0); }
403 { return(*(int *)0); }
405 /* ./tinfo/lib_data.c */
413 #undef _nc_screen_chain
414 SCREEN *_nc_screen_chain;
418 NCURSES_GLOBALS _nc_globals;
420 NCURSES_PRESCREEN _nc_prescreen;
423 SCREEN *_nc_screen_of(
425 { return(*(SCREEN **)0); }
427 /* ./tinfo/lib_has_cap.c */
430 NCURSES_BOOL has_ic_sp(
432 { return(*(NCURSES_BOOL *)0); }
435 NCURSES_BOOL has_ic(void)
436 { return(*(NCURSES_BOOL *)0); }
439 NCURSES_BOOL has_il_sp(
441 { return(*(NCURSES_BOOL *)0); }
444 NCURSES_BOOL has_il(void)
445 { return(*(NCURSES_BOOL *)0); }
447 /* ./tinfo/lib_kernel.c */
452 { return(*(char *)0); }
456 { return(*(char *)0); }
461 { return(*(char *)0); }
465 { return(*(char *)0); }
470 { return(*(int *)0); }
474 { return(*(int *)0); }
476 /* ./lib_keyname.c */
478 struct kn { short offset; int code; };
481 const char *keyname_sp(
484 { return(*(const char **)0); }
489 { return(*(const char **)0); }
491 /* ./tinfo/lib_longname.c */
496 { return(*(char **)0); }
500 { return(*(char **)0); }
502 /* ./tinfo/lib_napms.c */
508 { return(*(int *)0); }
513 { return(*(int *)0); }
515 /* ./tinfo/lib_options.c */
521 { return(*(int *)0); }
533 { return(*(int *)0); }
538 { return(*(int *)0); }
544 { return(*(int *)0); }
550 { return(*(int *)0); }
562 { return(*(int *)0); }
568 { return(*(int *)0); }
574 { return(*(int *)0); }
579 { return(*(int *)0); }
585 { return(*(int *)0); }
590 { return(*(int *)0); }
596 { return(*(int *)0); }
601 { return(*(int *)0); }
603 #undef _nc_putp_flush_sp
604 int _nc_putp_flush_sp(
608 { return(*(int *)0); }
614 { return(*(int *)0); }
616 /* ./tinfo/lib_raw.c */
621 { return(*(int *)0); }
625 { return(*(int *)0); }
630 { return(*(int *)0); }
634 { return(*(int *)0); }
648 { return(*(int *)0); }
652 { return(*(int *)0); }
657 { return(*(int *)0); }
661 { return(*(int *)0); }
677 { return(*(int *)0); }
683 { return(*(int *)0); }
685 /* ./tinfo/lib_setup.c */
696 #undef set_tabsize_sp
700 { return(*(int *)0); }
705 { return(*(int *)0); }
707 #undef _nc_handle_sigwinch
708 int _nc_handle_sigwinch(
710 { return(*(int *)0); }
734 #undef _nc_get_screensize
735 void _nc_get_screensize(
741 #undef _nc_update_screensize
742 void _nc_update_screensize(
746 #undef _nc_setup_tinfo
748 const char *const tn,
750 { return(*(int *)0); }
752 #undef _nc_tinfo_cmdch
753 void _nc_tinfo_cmdch(
758 #undef _nc_get_locale
759 char *_nc_get_locale(void)
760 { return(*(char **)0); }
762 #undef _nc_unicode_locale
763 int _nc_unicode_locale(void)
764 { return(*(int *)0); }
766 #undef _nc_locale_breaks_acs
767 int _nc_locale_breaks_acs(
769 { return(*(int *)0); }
777 { return(*(int *)0); }
780 SCREEN *new_prescr(void)
781 { return(*(SCREEN **)0); }
788 { return(*(int *)0); }
790 /* ./tinfo/lib_termcap.c */
802 { return(*(int *)0); }
808 { return(*(int *)0); }
814 { return(*(int *)0); }
819 { return(*(int *)0); }
825 { return(*(int *)0); }
830 { return(*(int *)0); }
837 { return(*(char **)0); }
843 { return(*(char **)0); }
845 /* ./tinfo/lib_termname.c */
850 { return(*(char **)0); }
854 { return(*(char **)0); }
856 /* ./tinfo/lib_tgoto.c */
863 { return(*(char **)0); }
865 /* ./tinfo/lib_ti.c */
871 { return(*(int *)0); }
876 { return(*(int *)0); }
882 { return(*(int *)0); }
887 { return(*(int *)0); }
893 { return(*(char **)0); }
898 { return(*(char **)0); }
900 /* ./tinfo/lib_tparm.c */
905 #undef _nc_free_tparm
910 #undef _nc_tparm_analyze
911 int _nc_tparm_analyze(
916 { return(*(int *)0); }
922 { return(*(char **)0); }
928 { return(*(char **)0); }
936 { return(*(char **)0); }
943 { return(*(int *)0); }
950 { return(*(char **)0); }
952 #undef _nc_reset_tparm
953 void _nc_reset_tparm(
957 /* ./tinfo/lib_tputs.c */
963 #undef _nc_nulls_sent
966 #undef _nc_set_no_padding
967 void _nc_set_no_padding(
971 #undef delay_output_sp
975 { return(*(int *)0); }
980 { return(*(int *)0); }
995 { return(*(int *)0); }
1000 { return(*(int *)0); }
1002 #undef _nc_putchar_sp
1006 { return(*(int *)0); }
1011 { return(*(int *)0); }
1017 { return(*(int *)0); }
1022 { return(*(int *)0); }
1029 { return(*(int *)0); }
1035 { return(*(int *)0); }
1042 NCURSES_OUTC_sp outc)
1043 { return(*(int *)0); }
1045 #undef _nc_outc_wrapper
1046 int _nc_outc_wrapper(
1049 { return(*(int *)0); }
1057 { return(*(int *)0); }
1059 /* ./trace/lib_trace.c */
1062 unsigned _nc_tracing;
1063 #undef _nc_tputs_trace
1064 const char *_nc_tputs_trace = {0};
1069 unsigned curses_trace(
1070 unsigned tracelevel)
1071 { return(*(unsigned *)0); }
1075 const unsigned int tracelevel)
1084 #undef _nc_retrace_bool
1085 NCURSES_BOOL _nc_retrace_bool(
1087 { return(*(NCURSES_BOOL *)0); }
1089 #undef _nc_retrace_char
1090 char _nc_retrace_char(
1092 { return(*(char *)0); }
1094 #undef _nc_retrace_int
1095 int _nc_retrace_int(
1097 { return(*(int *)0); }
1099 #undef _nc_retrace_unsigned
1100 unsigned _nc_retrace_unsigned(
1102 { return(*(unsigned *)0); }
1104 #undef _nc_retrace_ptr
1105 char *_nc_retrace_ptr(
1107 { return(*(char **)0); }
1109 #undef _nc_retrace_cptr
1110 const char *_nc_retrace_cptr(
1112 { return(*(const char **)0); }
1114 #undef _nc_retrace_cvoid_ptr
1115 const void *_nc_retrace_cvoid_ptr(
1117 { return(*(const void **)0); }
1119 #undef _nc_retrace_void_ptr
1120 void *_nc_retrace_void_ptr(
1122 { return(*(void **)0); }
1124 #undef _nc_retrace_sp
1125 SCREEN *_nc_retrace_sp(
1127 { return(*(SCREEN **)0); }
1129 #undef _nc_retrace_win
1130 WINDOW *_nc_retrace_win(
1132 { return(*(WINDOW **)0); }
1134 #undef _nc_fmt_funcptr
1135 char *_nc_fmt_funcptr(
1139 { return(*(char **)0); }
1141 /* ./trace/lib_traceatr.c */
1147 { return(*(char **)0); }
1152 { return(*(char **)0); }
1154 #undef _nc_retrace_int_attr_t
1155 int _nc_retrace_int_attr_t(
1157 { return(*(int *)0); }
1159 #undef _nc_retrace_attr_t
1160 attr_t _nc_retrace_attr_t(
1162 { return(*(attr_t *)0); }
1164 #undef _nc_altcharset_name
1165 const char *_nc_altcharset_name(
1168 { return(*(const char **)0); }
1170 #undef _tracechtype2
1171 char *_tracechtype2(
1174 { return(*(char **)0); }
1179 { return(*(char **)0); }
1181 #undef _nc_retrace_chtype
1182 chtype _nc_retrace_chtype(
1184 { return(*(chtype *)0); }
1186 /* ./trace/lib_tracebits.c */
1188 #undef _nc_trace_ttymode
1189 char *_nc_trace_ttymode(
1190 const struct termios *tty)
1191 { return(*(char **)0); }
1193 #undef _nc_tracebits
1194 char *_nc_tracebits(void)
1195 { return(*(char **)0); }
1197 /* ./trace/lib_tracechr.c */
1199 #undef _nc_tracechar
1200 char *_nc_tracechar(
1203 { return(*(char **)0); }
1208 { return(*(char **)0); }
1210 /* ./tinfo/lib_ttyflags.c */
1212 #undef _nc_get_tty_mode_sp
1213 int _nc_get_tty_mode_sp(
1215 struct termios *buf)
1216 { return(*(int *)0); }
1218 #undef _nc_get_tty_mode
1219 int _nc_get_tty_mode(
1220 struct termios *buf)
1221 { return(*(int *)0); }
1223 #undef _nc_set_tty_mode_sp
1224 int _nc_set_tty_mode_sp(
1226 struct termios *buf)
1227 { return(*(int *)0); }
1229 #undef _nc_set_tty_mode
1230 int _nc_set_tty_mode(
1231 struct termios *buf)
1232 { return(*(int *)0); }
1234 #undef def_shell_mode_sp
1235 int def_shell_mode_sp(
1237 { return(*(int *)0); }
1239 #undef def_shell_mode
1240 int def_shell_mode(void)
1241 { return(*(int *)0); }
1243 #undef def_prog_mode_sp
1244 int def_prog_mode_sp(
1246 { return(*(int *)0); }
1248 #undef def_prog_mode
1249 int def_prog_mode(void)
1250 { return(*(int *)0); }
1252 #undef reset_prog_mode_sp
1253 int reset_prog_mode_sp(
1255 { return(*(int *)0); }
1257 #undef reset_prog_mode
1258 int reset_prog_mode(void)
1259 { return(*(int *)0); }
1261 #undef reset_shell_mode_sp
1262 int reset_shell_mode_sp(
1264 { return(*(int *)0); }
1266 #undef reset_shell_mode
1267 int reset_shell_mode(void)
1268 { return(*(int *)0); }
1273 { return(*(int *)0); }
1277 { return(*(int *)0); }
1282 { return(*(int *)0); }
1286 { return(*(int *)0); }
1288 /* ./tty/lib_twait.c */
1290 #undef _nc_timed_wait
1296 { return(*(int *)0); }
1298 /* ./tinfo/name_match.c */
1300 #undef _nc_first_name
1301 char *_nc_first_name(
1302 const char *const sp)
1303 { return(*(char **)0); }
1305 #undef _nc_name_match
1307 const char *const namelst,
1308 const char *const name,
1309 const char *const delim)
1310 { return(*(int *)0); }
1315 const char *const boolnames[] = {0};
1317 const char *const boolfnames[] = {0};
1319 const char *const numnames[] = {0};
1321 const char *const numfnames[] = {0};
1323 const char *const strnames[] = {0};
1325 const char *const strfnames[] = {0};
1327 /* ./tinfo/obsolete.c */
1329 #undef _nc_set_buffer_sp
1330 void _nc_set_buffer_sp(
1336 #undef _nc_set_buffer
1337 void _nc_set_buffer(
1342 /* ./tinfo/read_entry.c */
1344 #undef _nc_init_termtype
1345 void _nc_init_termtype(
1349 #undef _nc_read_termtype
1350 int _nc_read_termtype(
1354 { return(*(int *)0); }
1356 #undef _nc_read_file_entry
1357 int _nc_read_file_entry(
1358 const char *const filename,
1360 { return(*(int *)0); }
1362 #undef _nc_read_entry
1364 const char *const name,
1365 char *const filename,
1367 { return(*(int *)0); }
1369 /* ./tinfo/read_termcap.c */
1371 #undef _nc_read_termcap
1372 void _nc_read_termcap(void)
1375 /* ./tinfo/strings.c */
1378 string_desc *_nc_str_init(
1382 { return(*(string_desc **)0); }
1385 string_desc *_nc_str_null(
1388 { return(*(string_desc **)0); }
1391 string_desc *_nc_str_copy(
1394 { return(*(string_desc **)0); }
1396 #undef _nc_safe_strcat
1397 NCURSES_BOOL _nc_safe_strcat(
1400 { return(*(NCURSES_BOOL *)0); }
1402 #undef _nc_safe_strcpy
1403 NCURSES_BOOL _nc_safe_strcpy(
1406 { return(*(NCURSES_BOOL *)0); }
1408 /* ./trace/trace_buf.c */
1410 #undef _nc_trace_buf
1411 char *_nc_trace_buf(
1414 { return(*(char **)0); }
1416 #undef _nc_trace_bufcat
1417 char *_nc_trace_bufcat(
1420 { return(*(char **)0); }
1422 /* ./trace/trace_tries.c */
1424 #undef _nc_trace_tries
1425 void _nc_trace_tries(
1429 /* ./base/tries.c */
1431 #undef _nc_expand_try
1432 char *_nc_expand_try(
1437 { return(*(char **)0); }
1439 #undef _nc_remove_key
1443 { return(*(int *)0); }
1445 #undef _nc_remove_string
1446 int _nc_remove_string(
1449 { return(*(int *)0); }
1451 /* ./tinfo/trim_sgr0.c */
1453 #undef _nc_trim_sgr0
1454 char *_nc_trim_sgr0(
1456 { return(*(char **)0); }
1461 const char *unctrl_sp(
1464 { return(*(const char **)0); }
1469 { return(*(const char **)0); }
1471 /* ./trace/visbuf.c */
1474 const char *_nc_visbuf2(
1477 { return(*(const char **)0); }
1480 const char *_nc_visbuf(
1482 { return(*(const char **)0); }
1485 const char *_nc_visbufn(
1488 { return(*(const char **)0); }
1491 const char *_nc_viscbuf2(
1495 { return(*(const char **)0); }
1498 const char *_nc_viscbuf(
1501 { return(*(const char **)0); }
1503 /* ./base/define_key.c */
1505 #undef define_key_sp
1510 { return(*(int *)0); }
1516 { return(*(int *)0); }
1518 /* ./tinfo/hashed_db.c */
1520 #undef _nc_hashed_db
1521 void _nc_hashed_db(void)
1524 /* ./base/key_defined.c */
1526 #undef key_defined_sp
1530 { return(*(int *)0); }
1535 { return(*(int *)0); }
1537 /* ./base/keybound.c */
1544 { return(*(char **)0); }
1550 { return(*(char **)0); }
1552 /* ./base/keyok.c */
1559 { return(*(int *)0); }
1565 { return(*(int *)0); }
1567 /* ./base/version.c */
1569 #undef curses_version
1570 const char *curses_version(void)
1571 { return(*(const char **)0); }