1 /****************************************************************************
2 * Copyright 2018-2019,2020 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); }
79 /* ./tinfo/add_tries.c */
86 { return(*(int *)0); }
88 /* ./tinfo/alloc_ttype.c */
90 #undef _nc_align_termtype
91 void _nc_align_termtype(
96 #undef _nc_copy_termtype
97 void _nc_copy_termtype(
102 #undef _nc_copy_termtype2
103 void _nc_copy_termtype2(
105 const TERMTYPE2 *src)
108 #undef _nc_export_termtype2
109 void _nc_export_termtype2(
111 const TERMTYPE2 *src)
117 const char *const boolcodes[] = {0};
119 const char *const numcodes[] = {0};
121 const char *const strcodes[] = {0};
123 /* ./comp_captab.c */
126 const struct name_table_entry *_nc_get_table(
127 NCURSES_BOOL termcap)
128 { return(*(const struct name_table_entry **)0); }
130 #undef _nc_get_hash_table
131 const HashValue *_nc_get_hash_table(
132 NCURSES_BOOL termcap)
133 { return(*(const HashValue **)0); }
135 #undef _nc_get_alias_table
136 const struct alias *_nc_get_alias_table(
137 NCURSES_BOOL termcap)
138 { return(*(const struct alias **)0); }
140 #undef _nc_get_hash_info
141 const HashData *_nc_get_hash_info(
142 NCURSES_BOOL termcap)
143 { return(*(const HashData **)0); }
145 /* ./tinfo/comp_error.c */
147 #undef _nc_suppress_warnings
148 NCURSES_BOOL _nc_suppress_warnings;
154 #undef _nc_get_source
155 const char *_nc_get_source(void)
156 { return(*(const char **)0); }
158 #undef _nc_set_source
160 const char *const name)
165 const char *const name)
175 const char *const fmt,
181 const char *const fmt,
185 #undef _nc_syserr_abort
186 void _nc_syserr_abort(
187 const char *const fmt,
191 /* ./tinfo/comp_hash.c */
193 #undef _nc_find_entry
194 struct name_table_entry const *_nc_find_entry(
196 const HashValue *hash_table)
197 { return(*(struct name_table_entry const **)0); }
199 #undef _nc_find_type_entry
200 struct name_table_entry const *_nc_find_type_entry(
203 NCURSES_BOOL termcap)
204 { return(*(struct name_table_entry const **)0); }
206 #undef _nc_find_user_entry
207 struct user_table_entry const *_nc_find_user_entry(
209 { return(*(struct user_table_entry const **)0); }
211 /* ./comp_userdefs.c */
213 #undef _nc_get_userdefs_table
214 const struct user_table_entry *_nc_get_userdefs_table(void)
215 { return(*(const struct user_table_entry **)0); }
217 #undef _nc_get_hash_user
218 const HashData *_nc_get_hash_user(void)
219 { return(*(const HashData **)0); }
221 /* ./tinfo/db_iterator.c */
224 const char *_nc_tic_dir(
226 { return(*(const char **)0); }
228 #undef _nc_keep_tic_dir
229 void _nc_keep_tic_dir(
234 void _nc_last_db(void)
238 const char *_nc_next_db(
241 { return(*(const char **)0); }
249 /* ./tinfo/doalloc.c */
255 { return(*(void **)0); }
257 /* ./tinfo/entries.c */
264 #undef _nc_free_entry
270 #undef _nc_free_entries
271 void _nc_free_entries(
275 #undef _nc_leaks_tinfo
276 void _nc_leaks_tinfo(void)
282 const TERMTYPE2 *_nc_fallback2(
284 { return(*(const TERMTYPE2 **)0); }
287 const TERMTYPE *_nc_fallback(
289 { return(*(const TERMTYPE **)0); }
291 /* ./tinfo/free_ttype.c */
293 #undef _nc_free_termtype
294 void _nc_free_termtype(
298 #undef _nc_free_termtype2
299 void _nc_free_termtype2(
303 #undef _nc_user_definable
304 NCURSES_BOOL _nc_user_definable;
306 #undef use_extended_names
307 int use_extended_names(
309 { return(*(int *)0); }
311 /* ./tinfo/getenv_num.c */
313 #undef _nc_getenv_num
316 { return(*(int *)0); }
318 #undef _nc_setenv_num
324 /* ./tinfo/home_terminfo.c */
326 #undef _nc_home_terminfo
327 char *_nc_home_terminfo(void)
328 { return(*(char **)0); }
330 /* ./tinfo/init_keytry.c */
332 #undef _nc_init_keytry
333 void _nc_init_keytry(
337 /* ./tinfo/lib_acs.c */
342 #undef _nc_init_acs_sp
343 void _nc_init_acs_sp(
348 void _nc_init_acs(void)
351 /* ./tinfo/lib_baudrate.c */
361 { return(*(int *)0); }
366 { return(*(int *)0); }
371 { return(*(int *)0); }
375 { return(*(int *)0); }
377 /* ./tinfo/lib_cur_term.c */
382 #undef set_curterm_sp
383 TERMINAL *set_curterm_sp(
386 { return(*(TERMINAL **)0); }
389 TERMINAL *set_curterm(
391 { return(*(TERMINAL **)0); }
393 #undef del_curterm_sp
397 { return(*(int *)0); }
402 { return(*(int *)0); }
404 /* ./tinfo/lib_data.c */
412 #undef _nc_screen_chain
413 SCREEN *_nc_screen_chain;
417 NCURSES_GLOBALS _nc_globals;
419 NCURSES_PRESCREEN _nc_prescreen;
422 SCREEN *_nc_screen_of(
424 { return(*(SCREEN **)0); }
426 /* ./tinfo/lib_has_cap.c */
429 NCURSES_BOOL has_ic_sp(
431 { return(*(NCURSES_BOOL *)0); }
434 NCURSES_BOOL has_ic(void)
435 { return(*(NCURSES_BOOL *)0); }
438 NCURSES_BOOL has_il_sp(
440 { return(*(NCURSES_BOOL *)0); }
443 NCURSES_BOOL has_il(void)
444 { return(*(NCURSES_BOOL *)0); }
446 /* ./tinfo/lib_kernel.c */
451 { return(*(char *)0); }
455 { return(*(char *)0); }
460 { return(*(char *)0); }
464 { return(*(char *)0); }
469 { return(*(int *)0); }
473 { return(*(int *)0); }
475 /* ./lib_keyname.c */
477 struct kn { short offset; int code; };
480 const char *keyname_sp(
483 { return(*(const char **)0); }
488 { return(*(const char **)0); }
490 /* ./tinfo/lib_longname.c */
495 { return(*(char **)0); }
499 { return(*(char **)0); }
501 /* ./tinfo/lib_napms.c */
507 { return(*(int *)0); }
512 { return(*(int *)0); }
514 /* ./tinfo/lib_options.c */
520 { return(*(int *)0); }
532 { return(*(int *)0); }
537 { return(*(int *)0); }
543 { return(*(int *)0); }
549 { return(*(int *)0); }
561 { return(*(int *)0); }
567 { return(*(int *)0); }
573 { return(*(int *)0); }
578 { return(*(int *)0); }
584 { return(*(int *)0); }
589 { return(*(int *)0); }
595 { return(*(int *)0); }
600 { return(*(int *)0); }
602 #undef _nc_putp_flush_sp
603 int _nc_putp_flush_sp(
607 { return(*(int *)0); }
613 { return(*(int *)0); }
615 /* ./tinfo/lib_raw.c */
620 { return(*(int *)0); }
624 { return(*(int *)0); }
629 { return(*(int *)0); }
633 { return(*(int *)0); }
647 { return(*(int *)0); }
651 { return(*(int *)0); }
656 { return(*(int *)0); }
660 { return(*(int *)0); }
676 { return(*(int *)0); }
682 { return(*(int *)0); }
684 /* ./tinfo/lib_setup.c */
695 #undef set_tabsize_sp
699 { return(*(int *)0); }
704 { return(*(int *)0); }
706 #undef _nc_handle_sigwinch
707 int _nc_handle_sigwinch(
709 { return(*(int *)0); }
733 #undef _nc_get_screensize
734 void _nc_get_screensize(
740 #undef _nc_update_screensize
741 void _nc_update_screensize(
745 #undef _nc_setup_tinfo
747 const char *const tn,
749 { return(*(int *)0); }
751 #undef _nc_tinfo_cmdch
752 void _nc_tinfo_cmdch(
757 #undef _nc_get_locale
758 char *_nc_get_locale(void)
759 { return(*(char **)0); }
761 #undef _nc_unicode_locale
762 int _nc_unicode_locale(void)
763 { return(*(int *)0); }
765 #undef _nc_locale_breaks_acs
766 int _nc_locale_breaks_acs(
768 { return(*(int *)0); }
776 { return(*(int *)0); }
779 SCREEN *new_prescr(void)
780 { return(*(SCREEN **)0); }
787 { return(*(int *)0); }
789 /* ./tinfo/lib_termcap.c */
801 { return(*(int *)0); }
807 { return(*(int *)0); }
813 { return(*(int *)0); }
818 { return(*(int *)0); }
824 { return(*(int *)0); }
829 { return(*(int *)0); }
836 { return(*(char **)0); }
842 { return(*(char **)0); }
844 /* ./tinfo/lib_termname.c */
849 { return(*(char **)0); }
853 { return(*(char **)0); }
855 /* ./tinfo/lib_tgoto.c */
862 { return(*(char **)0); }
864 /* ./tinfo/lib_ti.c */
870 { return(*(int *)0); }
875 { return(*(int *)0); }
881 { return(*(int *)0); }
886 { return(*(int *)0); }
892 { return(*(char **)0); }
897 { return(*(char **)0); }
899 /* ./tinfo/lib_tparm.c */
904 #undef _nc_tparm_analyze
905 int _nc_tparm_analyze(
909 { return(*(int *)0); }
915 { return(*(char **)0); }
921 { return(*(char **)0); }
923 /* ./tinfo/lib_tputs.c */
929 #undef _nc_nulls_sent
932 #undef _nc_set_no_padding
933 void _nc_set_no_padding(
937 #undef delay_output_sp
941 { return(*(int *)0); }
946 { return(*(int *)0); }
961 { return(*(int *)0); }
966 { return(*(int *)0); }
968 #undef _nc_putchar_sp
972 { return(*(int *)0); }
977 { return(*(int *)0); }
983 { return(*(int *)0); }
988 { return(*(int *)0); }
995 { return(*(int *)0); }
1001 { return(*(int *)0); }
1008 NCURSES_OUTC_sp outc)
1009 { return(*(int *)0); }
1011 #undef _nc_outc_wrapper
1012 int _nc_outc_wrapper(
1015 { return(*(int *)0); }
1023 { return(*(int *)0); }
1025 /* ./trace/lib_trace.c */
1028 unsigned _nc_tracing;
1029 #undef _nc_tputs_trace
1030 const char *_nc_tputs_trace = {0};
1036 const unsigned int tracelevel)
1045 #undef _nc_retrace_bool
1046 NCURSES_BOOL _nc_retrace_bool(
1048 { return(*(NCURSES_BOOL *)0); }
1050 #undef _nc_retrace_char
1051 char _nc_retrace_char(
1053 { return(*(char *)0); }
1055 #undef _nc_retrace_int
1056 int _nc_retrace_int(
1058 { return(*(int *)0); }
1060 #undef _nc_retrace_unsigned
1061 unsigned _nc_retrace_unsigned(
1063 { return(*(unsigned *)0); }
1065 #undef _nc_retrace_ptr
1066 char *_nc_retrace_ptr(
1068 { return(*(char **)0); }
1070 #undef _nc_retrace_cptr
1071 const char *_nc_retrace_cptr(
1073 { return(*(const char **)0); }
1075 #undef _nc_retrace_cvoid_ptr
1076 const void *_nc_retrace_cvoid_ptr(
1078 { return(*(const void **)0); }
1080 #undef _nc_retrace_void_ptr
1081 void *_nc_retrace_void_ptr(
1083 { return(*(void **)0); }
1085 #undef _nc_retrace_sp
1086 SCREEN *_nc_retrace_sp(
1088 { return(*(SCREEN **)0); }
1090 #undef _nc_retrace_win
1091 WINDOW *_nc_retrace_win(
1093 { return(*(WINDOW **)0); }
1095 #undef _nc_fmt_funcptr
1096 char *_nc_fmt_funcptr(
1100 { return(*(char **)0); }
1102 /* ./trace/lib_traceatr.c */
1108 { return(*(char **)0); }
1113 { return(*(char **)0); }
1115 #undef _nc_retrace_int_attr_t
1116 int _nc_retrace_int_attr_t(
1118 { return(*(int *)0); }
1120 #undef _nc_retrace_attr_t
1121 attr_t _nc_retrace_attr_t(
1123 { return(*(attr_t *)0); }
1125 #undef _nc_altcharset_name
1126 const char *_nc_altcharset_name(
1129 { return(*(const char **)0); }
1131 #undef _tracechtype2
1132 char *_tracechtype2(
1135 { return(*(char **)0); }
1140 { return(*(char **)0); }
1142 #undef _nc_retrace_chtype
1143 chtype _nc_retrace_chtype(
1145 { return(*(chtype *)0); }
1147 #undef _tracecchar_t2
1148 char *_tracecchar_t2(
1151 { return(*(char **)0); }
1153 #undef _tracecchar_t
1154 char *_tracecchar_t(
1156 { return(*(char **)0); }
1158 /* ./trace/lib_tracebits.c */
1160 #undef _nc_trace_ttymode
1161 char *_nc_trace_ttymode(
1162 struct termios *tty)
1163 { return(*(char **)0); }
1165 #undef _nc_tracebits
1166 char *_nc_tracebits(void)
1167 { return(*(char **)0); }
1169 /* ./trace/lib_tracechr.c */
1171 #undef _nc_tracechar
1172 char *_nc_tracechar(
1175 { return(*(char **)0); }
1180 { return(*(char **)0); }
1182 /* ./tinfo/lib_ttyflags.c */
1184 #undef _nc_get_tty_mode_sp
1185 int _nc_get_tty_mode_sp(
1187 struct termios *buf)
1188 { return(*(int *)0); }
1190 #undef _nc_get_tty_mode
1191 int _nc_get_tty_mode(
1192 struct termios *buf)
1193 { return(*(int *)0); }
1195 #undef _nc_set_tty_mode_sp
1196 int _nc_set_tty_mode_sp(
1198 struct termios *buf)
1199 { return(*(int *)0); }
1201 #undef _nc_set_tty_mode
1202 int _nc_set_tty_mode(
1203 struct termios *buf)
1204 { return(*(int *)0); }
1206 #undef def_shell_mode_sp
1207 int def_shell_mode_sp(
1209 { return(*(int *)0); }
1211 #undef def_shell_mode
1212 int def_shell_mode(void)
1213 { return(*(int *)0); }
1215 #undef def_prog_mode_sp
1216 int def_prog_mode_sp(
1218 { return(*(int *)0); }
1220 #undef def_prog_mode
1221 int def_prog_mode(void)
1222 { return(*(int *)0); }
1224 #undef reset_prog_mode_sp
1225 int reset_prog_mode_sp(
1227 { return(*(int *)0); }
1229 #undef reset_prog_mode
1230 int reset_prog_mode(void)
1231 { return(*(int *)0); }
1233 #undef reset_shell_mode_sp
1234 int reset_shell_mode_sp(
1236 { return(*(int *)0); }
1238 #undef reset_shell_mode
1239 int reset_shell_mode(void)
1240 { return(*(int *)0); }
1245 { return(*(int *)0); }
1249 { return(*(int *)0); }
1254 { return(*(int *)0); }
1258 { return(*(int *)0); }
1260 /* ./tty/lib_twait.c */
1262 #undef _nc_timed_wait
1268 { return(*(int *)0); }
1270 /* ./tinfo/name_match.c */
1272 #undef _nc_first_name
1273 char *_nc_first_name(
1274 const char *const sp)
1275 { return(*(char **)0); }
1277 #undef _nc_name_match
1279 const char *const namelst,
1280 const char *const name,
1281 const char *const delim)
1282 { return(*(int *)0); }
1287 const char *const boolnames[] = {0};
1289 const char *const boolfnames[] = {0};
1291 const char *const numnames[] = {0};
1293 const char *const numfnames[] = {0};
1295 const char *const strnames[] = {0};
1297 const char *const strfnames[] = {0};
1299 /* ./tinfo/obsolete.c */
1301 #undef _nc_set_buffer_sp
1302 void _nc_set_buffer_sp(
1308 #undef _nc_set_buffer
1309 void _nc_set_buffer(
1314 /* ./tinfo/read_entry.c */
1316 #undef _nc_init_termtype
1317 void _nc_init_termtype(
1318 TERMTYPE2 *const tp)
1321 #undef _nc_read_termtype
1322 int _nc_read_termtype(
1326 { return(*(int *)0); }
1328 #undef _nc_read_file_entry
1329 int _nc_read_file_entry(
1330 const char *const filename,
1332 { return(*(int *)0); }
1334 #undef _nc_read_entry2
1335 int _nc_read_entry2(
1336 const char *const name,
1337 char *const filename,
1338 TERMTYPE2 *const tp)
1339 { return(*(int *)0); }
1341 #undef _nc_read_entry
1343 const char *const name,
1344 char *const filename,
1346 { return(*(int *)0); }
1348 /* ./tinfo/read_termcap.c */
1350 #undef _nc_read_termcap
1351 void _nc_read_termcap(void)
1354 /* ./tinfo/strings.c */
1357 string_desc *_nc_str_init(
1361 { return(*(string_desc **)0); }
1364 string_desc *_nc_str_null(
1367 { return(*(string_desc **)0); }
1370 string_desc *_nc_str_copy(
1373 { return(*(string_desc **)0); }
1375 #undef _nc_safe_strcat
1376 NCURSES_BOOL _nc_safe_strcat(
1379 { return(*(NCURSES_BOOL *)0); }
1381 #undef _nc_safe_strcpy
1382 NCURSES_BOOL _nc_safe_strcpy(
1385 { return(*(NCURSES_BOOL *)0); }
1387 /* ./trace/trace_buf.c */
1389 #undef _nc_trace_buf
1390 char *_nc_trace_buf(
1393 { return(*(char **)0); }
1395 #undef _nc_trace_bufcat
1396 char *_nc_trace_bufcat(
1399 { return(*(char **)0); }
1401 /* ./trace/trace_tries.c */
1403 #undef _nc_trace_tries
1404 void _nc_trace_tries(
1408 /* ./base/tries.c */
1410 #undef _nc_expand_try
1411 char *_nc_expand_try(
1416 { return(*(char **)0); }
1418 #undef _nc_remove_key
1422 { return(*(int *)0); }
1424 #undef _nc_remove_string
1425 int _nc_remove_string(
1428 { return(*(int *)0); }
1430 /* ./tinfo/trim_sgr0.c */
1432 #undef _nc_trim_sgr0
1433 char *_nc_trim_sgr0(
1435 { return(*(char **)0); }
1440 const char *unctrl_sp(
1443 { return(*(const char **)0); }
1448 { return(*(const char **)0); }
1450 /* ./trace/visbuf.c */
1453 const char *_nc_visbuf2(
1456 { return(*(const char **)0); }
1459 const char *_nc_visbuf(
1461 { return(*(const char **)0); }
1464 const char *_nc_visbufn(
1467 { return(*(const char **)0); }
1470 const char *_nc_viswbuf2(
1473 { return(*(const char **)0); }
1476 const char *_nc_viswbuf(
1478 { return(*(const char **)0); }
1481 const char *_nc_viswbufn(
1484 { return(*(const char **)0); }
1487 const char *_nc_viswibuf(
1489 { return(*(const char **)0); }
1492 const char *_nc_viscbuf2(
1496 { return(*(const char **)0); }
1499 const char *_nc_viscbuf(
1502 { return(*(const char **)0); }
1504 /* ./base/define_key.c */
1506 #undef define_key_sp
1511 { return(*(int *)0); }
1517 { return(*(int *)0); }
1519 /* ./tinfo/hashed_db.c */
1521 #undef _nc_hashed_db
1522 void _nc_hashed_db(void)
1525 /* ./base/key_defined.c */
1527 #undef key_defined_sp
1531 { return(*(int *)0); }
1536 { return(*(int *)0); }
1538 /* ./base/keybound.c */
1545 { return(*(char **)0); }
1551 { return(*(char **)0); }
1553 /* ./base/keyok.c */
1560 { return(*(int *)0); }
1566 { return(*(int *)0); }
1568 /* ./base/version.c */
1570 #undef curses_version
1571 const char *curses_version(void)
1572 { return(*(const char **)0); }