1 /****************************************************************************
2 * Copyright 2019-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(
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); }
935 { return(*(char **)0); }
937 #undef _nc_reset_tparm
938 void _nc_reset_tparm(
942 /* ./tinfo/lib_tputs.c */
948 #undef _nc_nulls_sent
951 #undef _nc_set_no_padding
952 void _nc_set_no_padding(
956 #undef delay_output_sp
960 { return(*(int *)0); }
965 { return(*(int *)0); }
980 { return(*(int *)0); }
985 { return(*(int *)0); }
987 #undef _nc_putchar_sp
991 { return(*(int *)0); }
996 { return(*(int *)0); }
1002 { return(*(int *)0); }
1007 { return(*(int *)0); }
1014 { return(*(int *)0); }
1020 { return(*(int *)0); }
1027 NCURSES_OUTC_sp outc)
1028 { return(*(int *)0); }
1030 #undef _nc_outc_wrapper
1031 int _nc_outc_wrapper(
1034 { return(*(int *)0); }
1042 { return(*(int *)0); }
1044 /* ./trace/lib_trace.c */
1047 unsigned _nc_tracing;
1048 #undef _nc_tputs_trace
1049 const char *_nc_tputs_trace = {0};
1054 unsigned curses_trace(
1055 unsigned tracelevel)
1056 { return(*(unsigned *)0); }
1060 const unsigned int tracelevel)
1069 #undef _nc_retrace_bool
1070 NCURSES_BOOL _nc_retrace_bool(
1072 { return(*(NCURSES_BOOL *)0); }
1074 #undef _nc_retrace_char
1075 char _nc_retrace_char(
1077 { return(*(char *)0); }
1079 #undef _nc_retrace_int
1080 int _nc_retrace_int(
1082 { return(*(int *)0); }
1084 #undef _nc_retrace_unsigned
1085 unsigned _nc_retrace_unsigned(
1087 { return(*(unsigned *)0); }
1089 #undef _nc_retrace_ptr
1090 char *_nc_retrace_ptr(
1092 { return(*(char **)0); }
1094 #undef _nc_retrace_cptr
1095 const char *_nc_retrace_cptr(
1097 { return(*(const char **)0); }
1099 #undef _nc_retrace_cvoid_ptr
1100 const void *_nc_retrace_cvoid_ptr(
1102 { return(*(const void **)0); }
1104 #undef _nc_retrace_void_ptr
1105 void *_nc_retrace_void_ptr(
1107 { return(*(void **)0); }
1109 #undef _nc_retrace_sp
1110 SCREEN *_nc_retrace_sp(
1112 { return(*(SCREEN **)0); }
1114 #undef _nc_retrace_win
1115 WINDOW *_nc_retrace_win(
1117 { return(*(WINDOW **)0); }
1119 #undef _nc_fmt_funcptr
1120 char *_nc_fmt_funcptr(
1124 { return(*(char **)0); }
1126 /* ./trace/lib_traceatr.c */
1132 { return(*(char **)0); }
1137 { return(*(char **)0); }
1139 #undef _nc_retrace_int_attr_t
1140 int _nc_retrace_int_attr_t(
1142 { return(*(int *)0); }
1144 #undef _nc_retrace_attr_t
1145 attr_t _nc_retrace_attr_t(
1147 { return(*(attr_t *)0); }
1149 #undef _nc_altcharset_name
1150 const char *_nc_altcharset_name(
1153 { return(*(const char **)0); }
1155 #undef _tracechtype2
1156 char *_tracechtype2(
1159 { return(*(char **)0); }
1164 { return(*(char **)0); }
1166 #undef _nc_retrace_chtype
1167 chtype _nc_retrace_chtype(
1169 { return(*(chtype *)0); }
1171 /* ./trace/lib_tracebits.c */
1173 #undef _nc_trace_ttymode
1174 char *_nc_trace_ttymode(
1175 const struct termios *tty)
1176 { return(*(char **)0); }
1178 #undef _nc_tracebits
1179 char *_nc_tracebits(void)
1180 { return(*(char **)0); }
1182 /* ./trace/lib_tracechr.c */
1184 #undef _nc_tracechar
1185 char *_nc_tracechar(
1188 { return(*(char **)0); }
1193 { return(*(char **)0); }
1195 /* ./tinfo/lib_ttyflags.c */
1197 #undef _nc_get_tty_mode_sp
1198 int _nc_get_tty_mode_sp(
1200 struct termios *buf)
1201 { return(*(int *)0); }
1203 #undef _nc_get_tty_mode
1204 int _nc_get_tty_mode(
1205 struct termios *buf)
1206 { return(*(int *)0); }
1208 #undef _nc_set_tty_mode_sp
1209 int _nc_set_tty_mode_sp(
1211 struct termios *buf)
1212 { return(*(int *)0); }
1214 #undef _nc_set_tty_mode
1215 int _nc_set_tty_mode(
1216 struct termios *buf)
1217 { return(*(int *)0); }
1219 #undef def_shell_mode_sp
1220 int def_shell_mode_sp(
1222 { return(*(int *)0); }
1224 #undef def_shell_mode
1225 int def_shell_mode(void)
1226 { return(*(int *)0); }
1228 #undef def_prog_mode_sp
1229 int def_prog_mode_sp(
1231 { return(*(int *)0); }
1233 #undef def_prog_mode
1234 int def_prog_mode(void)
1235 { return(*(int *)0); }
1237 #undef reset_prog_mode_sp
1238 int reset_prog_mode_sp(
1240 { return(*(int *)0); }
1242 #undef reset_prog_mode
1243 int reset_prog_mode(void)
1244 { return(*(int *)0); }
1246 #undef reset_shell_mode_sp
1247 int reset_shell_mode_sp(
1249 { return(*(int *)0); }
1251 #undef reset_shell_mode
1252 int reset_shell_mode(void)
1253 { return(*(int *)0); }
1258 { return(*(int *)0); }
1262 { return(*(int *)0); }
1267 { return(*(int *)0); }
1271 { return(*(int *)0); }
1273 /* ./tty/lib_twait.c */
1275 #undef _nc_timed_wait
1281 { return(*(int *)0); }
1283 /* ./tinfo/name_match.c */
1285 #undef _nc_first_name
1286 char *_nc_first_name(
1287 const char *const sp)
1288 { return(*(char **)0); }
1290 #undef _nc_name_match
1292 const char *const namelst,
1293 const char *const name,
1294 const char *const delim)
1295 { return(*(int *)0); }
1300 const char *const boolnames[] = {0};
1302 const char *const boolfnames[] = {0};
1304 const char *const numnames[] = {0};
1306 const char *const numfnames[] = {0};
1308 const char *const strnames[] = {0};
1310 const char *const strfnames[] = {0};
1312 /* ./tinfo/obsolete.c */
1314 #undef _nc_set_buffer_sp
1315 void _nc_set_buffer_sp(
1321 #undef _nc_set_buffer
1322 void _nc_set_buffer(
1327 /* ./tinfo/read_entry.c */
1329 #undef _nc_init_termtype
1330 void _nc_init_termtype(
1334 #undef _nc_read_termtype
1335 int _nc_read_termtype(
1339 { return(*(int *)0); }
1341 #undef _nc_read_file_entry
1342 int _nc_read_file_entry(
1343 const char *const filename,
1345 { return(*(int *)0); }
1347 #undef _nc_read_entry
1349 const char *const name,
1350 char *const filename,
1352 { return(*(int *)0); }
1354 /* ./tinfo/read_termcap.c */
1356 #undef _nc_read_termcap
1357 void _nc_read_termcap(void)
1360 /* ./tinfo/strings.c */
1363 string_desc *_nc_str_init(
1367 { return(*(string_desc **)0); }
1370 string_desc *_nc_str_null(
1373 { return(*(string_desc **)0); }
1376 string_desc *_nc_str_copy(
1379 { return(*(string_desc **)0); }
1381 #undef _nc_safe_strcat
1382 NCURSES_BOOL _nc_safe_strcat(
1385 { return(*(NCURSES_BOOL *)0); }
1387 #undef _nc_safe_strcpy
1388 NCURSES_BOOL _nc_safe_strcpy(
1391 { return(*(NCURSES_BOOL *)0); }
1393 /* ./trace/trace_buf.c */
1395 #undef _nc_trace_buf
1396 char *_nc_trace_buf(
1399 { return(*(char **)0); }
1401 #undef _nc_trace_bufcat
1402 char *_nc_trace_bufcat(
1405 { return(*(char **)0); }
1407 /* ./trace/trace_tries.c */
1409 #undef _nc_trace_tries
1410 void _nc_trace_tries(
1414 /* ./base/tries.c */
1416 #undef _nc_expand_try
1417 char *_nc_expand_try(
1422 { return(*(char **)0); }
1424 #undef _nc_remove_key
1428 { return(*(int *)0); }
1430 #undef _nc_remove_string
1431 int _nc_remove_string(
1434 { return(*(int *)0); }
1436 /* ./tinfo/trim_sgr0.c */
1438 #undef _nc_trim_sgr0
1439 char *_nc_trim_sgr0(
1441 { return(*(char **)0); }
1446 const char *unctrl_sp(
1449 { return(*(const char **)0); }
1454 { return(*(const char **)0); }
1456 /* ./trace/visbuf.c */
1459 const char *_nc_visbuf2(
1462 { return(*(const char **)0); }
1465 const char *_nc_visbuf(
1467 { return(*(const char **)0); }
1470 const char *_nc_visbufn(
1473 { return(*(const char **)0); }
1476 const char *_nc_viscbuf2(
1480 { return(*(const char **)0); }
1483 const char *_nc_viscbuf(
1486 { return(*(const char **)0); }
1488 /* ./base/define_key.c */
1490 #undef define_key_sp
1495 { return(*(int *)0); }
1501 { return(*(int *)0); }
1503 /* ./tinfo/hashed_db.c */
1505 #undef _nc_hashed_db
1506 void _nc_hashed_db(void)
1509 /* ./base/key_defined.c */
1511 #undef key_defined_sp
1515 { return(*(int *)0); }
1520 { return(*(int *)0); }
1522 /* ./base/keybound.c */
1529 { return(*(char **)0); }
1535 { return(*(char **)0); }
1537 /* ./base/keyok.c */
1544 { return(*(int *)0); }
1550 { return(*(int *)0); }
1552 /* ./base/version.c */
1554 #undef curses_version
1555 const char *curses_version(void)
1556 { return(*(const char **)0); }