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); }
688 { return(*(int *)0); }
693 { return(*(int *)0); }
698 { return(*(int *)0); }
703 { return(*(int *)0); }
707 { return(*(int *)0); }
711 { return(*(int *)0); }
715 { return(*(int *)0); }
719 { return(*(int *)0); }
721 /* ./tinfo/lib_setup.c */
732 #undef set_tabsize_sp
736 { return(*(int *)0); }
741 { return(*(int *)0); }
743 #undef _nc_handle_sigwinch
744 int _nc_handle_sigwinch(
746 { return(*(int *)0); }
770 #undef _nc_get_screensize
771 void _nc_get_screensize(
777 #undef _nc_update_screensize
778 void _nc_update_screensize(
782 #undef _nc_setup_tinfo
784 const char *const tn,
786 { return(*(int *)0); }
788 #undef _nc_tinfo_cmdch
789 void _nc_tinfo_cmdch(
794 #undef _nc_get_locale
795 char *_nc_get_locale(void)
796 { return(*(char **)0); }
798 #undef _nc_unicode_locale
799 int _nc_unicode_locale(void)
800 { return(*(int *)0); }
802 #undef _nc_locale_breaks_acs
803 int _nc_locale_breaks_acs(
805 { return(*(int *)0); }
813 { return(*(int *)0); }
816 SCREEN *new_prescr(void)
817 { return(*(SCREEN **)0); }
824 { return(*(int *)0); }
826 /* ./tinfo/lib_termcap.c */
838 { return(*(int *)0); }
844 { return(*(int *)0); }
850 { return(*(int *)0); }
855 { return(*(int *)0); }
861 { return(*(int *)0); }
866 { return(*(int *)0); }
873 { return(*(char **)0); }
879 { return(*(char **)0); }
881 /* ./tinfo/lib_termname.c */
886 { return(*(char **)0); }
890 { return(*(char **)0); }
892 /* ./tinfo/lib_tgoto.c */
899 { return(*(char **)0); }
901 /* ./tinfo/lib_ti.c */
907 { return(*(int *)0); }
912 { return(*(int *)0); }
918 { return(*(int *)0); }
923 { return(*(int *)0); }
929 { return(*(char **)0); }
934 { return(*(char **)0); }
936 /* ./tinfo/lib_tparm.c */
941 #undef _nc_free_tparm
946 #undef _nc_tparm_analyze
947 int _nc_tparm_analyze(
952 { return(*(int *)0); }
958 { return(*(char **)0); }
964 { return(*(char **)0); }
972 { return(*(char **)0); }
979 { return(*(int *)0); }
986 { return(*(char **)0); }
988 #undef _nc_reset_tparm
989 void _nc_reset_tparm(
993 /* ./tinfo/lib_tputs.c */
999 #undef _nc_nulls_sent
1002 #undef _nc_set_no_padding
1003 void _nc_set_no_padding(
1007 #undef delay_output_sp
1008 int delay_output_sp(
1011 { return(*(int *)0); }
1016 { return(*(int *)0); }
1024 void _nc_flush(void)
1031 { return(*(int *)0); }
1036 { return(*(int *)0); }
1038 #undef _nc_putchar_sp
1042 { return(*(int *)0); }
1047 { return(*(int *)0); }
1053 { return(*(int *)0); }
1058 { return(*(int *)0); }
1065 { return(*(int *)0); }
1071 { return(*(int *)0); }
1078 NCURSES_OUTC_sp outc)
1079 { return(*(int *)0); }
1081 #undef _nc_outc_wrapper
1082 int _nc_outc_wrapper(
1085 { return(*(int *)0); }
1093 { return(*(int *)0); }
1095 /* ./trace/lib_trace.c */
1098 unsigned _nc_tracing;
1099 #undef _nc_tputs_trace
1100 const char *_nc_tputs_trace = {0};
1105 unsigned curses_trace(
1106 unsigned tracelevel)
1107 { return(*(unsigned *)0); }
1111 const unsigned int tracelevel)
1120 #undef _nc_retrace_bool
1121 NCURSES_BOOL _nc_retrace_bool(
1123 { return(*(NCURSES_BOOL *)0); }
1125 #undef _nc_retrace_char
1126 char _nc_retrace_char(
1128 { return(*(char *)0); }
1130 #undef _nc_retrace_int
1131 int _nc_retrace_int(
1133 { return(*(int *)0); }
1135 #undef _nc_retrace_unsigned
1136 unsigned _nc_retrace_unsigned(
1138 { return(*(unsigned *)0); }
1140 #undef _nc_retrace_ptr
1141 char *_nc_retrace_ptr(
1143 { return(*(char **)0); }
1145 #undef _nc_retrace_cptr
1146 const char *_nc_retrace_cptr(
1148 { return(*(const char **)0); }
1150 #undef _nc_retrace_cvoid_ptr
1151 const void *_nc_retrace_cvoid_ptr(
1153 { return(*(const void **)0); }
1155 #undef _nc_retrace_void_ptr
1156 void *_nc_retrace_void_ptr(
1158 { return(*(void **)0); }
1160 #undef _nc_retrace_sp
1161 SCREEN *_nc_retrace_sp(
1163 { return(*(SCREEN **)0); }
1165 #undef _nc_retrace_win
1166 WINDOW *_nc_retrace_win(
1168 { return(*(WINDOW **)0); }
1170 #undef _nc_fmt_funcptr
1171 char *_nc_fmt_funcptr(
1175 { return(*(char **)0); }
1177 /* ./trace/lib_traceatr.c */
1183 { return(*(char **)0); }
1188 { return(*(char **)0); }
1190 #undef _nc_retrace_int_attr_t
1191 int _nc_retrace_int_attr_t(
1193 { return(*(int *)0); }
1195 #undef _nc_retrace_attr_t
1196 attr_t _nc_retrace_attr_t(
1198 { return(*(attr_t *)0); }
1200 #undef _nc_altcharset_name
1201 const char *_nc_altcharset_name(
1204 { return(*(const char **)0); }
1206 #undef _tracechtype2
1207 char *_tracechtype2(
1210 { return(*(char **)0); }
1215 { return(*(char **)0); }
1217 #undef _nc_retrace_chtype
1218 chtype _nc_retrace_chtype(
1220 { return(*(chtype *)0); }
1222 /* ./trace/lib_tracebits.c */
1224 #undef _nc_trace_ttymode
1225 char *_nc_trace_ttymode(
1226 const struct termios *tty)
1227 { return(*(char **)0); }
1229 #undef _nc_tracebits
1230 char *_nc_tracebits(void)
1231 { return(*(char **)0); }
1233 /* ./trace/lib_tracechr.c */
1235 #undef _nc_tracechar
1236 char *_nc_tracechar(
1239 { return(*(char **)0); }
1244 { return(*(char **)0); }
1246 /* ./tinfo/lib_ttyflags.c */
1248 #undef _nc_get_tty_mode_sp
1249 int _nc_get_tty_mode_sp(
1251 struct termios *buf)
1252 { return(*(int *)0); }
1254 #undef _nc_get_tty_mode
1255 int _nc_get_tty_mode(
1256 struct termios *buf)
1257 { return(*(int *)0); }
1259 #undef _nc_set_tty_mode_sp
1260 int _nc_set_tty_mode_sp(
1262 struct termios *buf)
1263 { return(*(int *)0); }
1265 #undef _nc_set_tty_mode
1266 int _nc_set_tty_mode(
1267 struct termios *buf)
1268 { return(*(int *)0); }
1270 #undef def_shell_mode_sp
1271 int def_shell_mode_sp(
1273 { return(*(int *)0); }
1275 #undef def_shell_mode
1276 int def_shell_mode(void)
1277 { return(*(int *)0); }
1279 #undef def_prog_mode_sp
1280 int def_prog_mode_sp(
1282 { return(*(int *)0); }
1284 #undef def_prog_mode
1285 int def_prog_mode(void)
1286 { return(*(int *)0); }
1288 #undef reset_prog_mode_sp
1289 int reset_prog_mode_sp(
1291 { return(*(int *)0); }
1293 #undef reset_prog_mode
1294 int reset_prog_mode(void)
1295 { return(*(int *)0); }
1297 #undef reset_shell_mode_sp
1298 int reset_shell_mode_sp(
1300 { return(*(int *)0); }
1302 #undef reset_shell_mode
1303 int reset_shell_mode(void)
1304 { return(*(int *)0); }
1309 { return(*(int *)0); }
1313 { return(*(int *)0); }
1318 { return(*(int *)0); }
1322 { return(*(int *)0); }
1324 /* ./tty/lib_twait.c */
1326 #undef _nc_timed_wait
1332 { return(*(int *)0); }
1334 /* ./tinfo/name_match.c */
1336 #undef _nc_first_name
1337 char *_nc_first_name(
1338 const char *const sp)
1339 { return(*(char **)0); }
1341 #undef _nc_name_match
1343 const char *const namelst,
1344 const char *const name,
1345 const char *const delim)
1346 { return(*(int *)0); }
1351 const char *const boolnames[] = {0};
1353 const char *const boolfnames[] = {0};
1355 const char *const numnames[] = {0};
1357 const char *const numfnames[] = {0};
1359 const char *const strnames[] = {0};
1361 const char *const strfnames[] = {0};
1363 /* ./tinfo/obsolete.c */
1365 #undef _nc_set_buffer_sp
1366 void _nc_set_buffer_sp(
1372 #undef _nc_set_buffer
1373 void _nc_set_buffer(
1378 /* ./tinfo/read_entry.c */
1380 #undef _nc_init_termtype
1381 void _nc_init_termtype(
1385 #undef _nc_read_termtype
1386 int _nc_read_termtype(
1390 { return(*(int *)0); }
1392 #undef _nc_read_file_entry
1393 int _nc_read_file_entry(
1394 const char *const filename,
1396 { return(*(int *)0); }
1398 #undef _nc_read_entry
1400 const char *const name,
1401 char *const filename,
1403 { return(*(int *)0); }
1405 /* ./tinfo/read_termcap.c */
1407 #undef _nc_read_termcap
1408 void _nc_read_termcap(void)
1411 /* ./tinfo/strings.c */
1414 string_desc *_nc_str_init(
1418 { return(*(string_desc **)0); }
1421 string_desc *_nc_str_null(
1424 { return(*(string_desc **)0); }
1427 string_desc *_nc_str_copy(
1429 const string_desc *const src)
1430 { return(*(string_desc **)0); }
1432 #undef _nc_safe_strcat
1433 NCURSES_BOOL _nc_safe_strcat(
1436 { return(*(NCURSES_BOOL *)0); }
1438 #undef _nc_safe_strcpy
1439 NCURSES_BOOL _nc_safe_strcpy(
1442 { return(*(NCURSES_BOOL *)0); }
1444 /* ./trace/trace_buf.c */
1446 #undef _nc_trace_buf
1447 char *_nc_trace_buf(
1450 { return(*(char **)0); }
1452 #undef _nc_trace_bufcat
1453 char *_nc_trace_bufcat(
1456 { return(*(char **)0); }
1458 /* ./trace/trace_tries.c */
1460 #undef _nc_trace_tries
1461 void _nc_trace_tries(
1465 /* ./base/tries.c */
1467 #undef _nc_expand_try
1468 char *_nc_expand_try(
1473 { return(*(char **)0); }
1475 #undef _nc_remove_key
1479 { return(*(int *)0); }
1481 #undef _nc_remove_string
1482 int _nc_remove_string(
1485 { return(*(int *)0); }
1487 /* ./tinfo/trim_sgr0.c */
1489 #undef _nc_trim_sgr0
1490 char *_nc_trim_sgr0(
1492 { return(*(char **)0); }
1497 const char *unctrl_sp(
1500 { return(*(const char **)0); }
1505 { return(*(const char **)0); }
1507 /* ./trace/visbuf.c */
1510 const char *_nc_visbuf2(
1513 { return(*(const char **)0); }
1516 const char *_nc_visbuf(
1518 { return(*(const char **)0); }
1521 const char *_nc_visbufn(
1524 { return(*(const char **)0); }
1527 const char *_nc_viscbuf2(
1531 { return(*(const char **)0); }
1534 const char *_nc_viscbuf(
1537 { return(*(const char **)0); }
1539 /* ./base/define_key.c */
1541 #undef define_key_sp
1546 { return(*(int *)0); }
1552 { return(*(int *)0); }
1554 /* ./tinfo/hashed_db.c */
1556 #undef _nc_hashed_db
1557 void _nc_hashed_db(void)
1560 /* ./base/key_defined.c */
1562 #undef key_defined_sp
1566 { return(*(int *)0); }
1571 { return(*(int *)0); }
1573 /* ./base/keybound.c */
1580 { return(*(char **)0); }
1586 { return(*(char **)0); }
1588 /* ./base/keyok.c */
1595 { return(*(int *)0); }
1601 { return(*(int *)0); }
1603 /* ./base/version.c */
1605 #undef curses_version
1606 const char *curses_version(void)
1607 { return(*(const char **)0); }