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)
287 const TERMTYPE2 *_nc_fallback2(
289 { return(*(const TERMTYPE2 **)0); }
292 const TERMTYPE *_nc_fallback(
294 { return(*(const TERMTYPE **)0); }
296 /* ./tinfo/free_ttype.c */
298 #undef _nc_free_termtype
299 void _nc_free_termtype(
303 #undef _nc_free_termtype2
304 void _nc_free_termtype2(
308 #undef _nc_user_definable
309 NCURSES_BOOL _nc_user_definable;
311 #undef use_extended_names
312 int use_extended_names(
314 { return(*(int *)0); }
316 /* ./tinfo/getenv_num.c */
318 #undef _nc_getenv_num
321 { return(*(int *)0); }
323 #undef _nc_setenv_num
329 /* ./tinfo/home_terminfo.c */
331 #undef _nc_home_terminfo
332 char *_nc_home_terminfo(void)
333 { return(*(char **)0); }
335 /* ./tinfo/init_keytry.c */
337 #undef _nc_init_keytry
338 void _nc_init_keytry(
342 /* ./tinfo/lib_acs.c */
347 #undef _nc_init_acs_sp
348 void _nc_init_acs_sp(
353 void _nc_init_acs(void)
356 /* ./tinfo/lib_baudrate.c */
366 { return(*(int *)0); }
371 { return(*(int *)0); }
376 { return(*(int *)0); }
380 { return(*(int *)0); }
382 /* ./tinfo/lib_cur_term.c */
387 #undef set_curterm_sp
388 TERMINAL *set_curterm_sp(
391 { return(*(TERMINAL **)0); }
394 TERMINAL *set_curterm(
396 { return(*(TERMINAL **)0); }
398 #undef del_curterm_sp
402 { return(*(int *)0); }
407 { return(*(int *)0); }
409 /* ./tinfo/lib_data.c */
417 #undef _nc_screen_chain
418 SCREEN *_nc_screen_chain;
422 NCURSES_GLOBALS _nc_globals;
424 NCURSES_PRESCREEN _nc_prescreen;
427 SCREEN *_nc_screen_of(
429 { return(*(SCREEN **)0); }
431 /* ./tinfo/lib_has_cap.c */
434 NCURSES_BOOL has_ic_sp(
436 { return(*(NCURSES_BOOL *)0); }
439 NCURSES_BOOL has_ic(void)
440 { return(*(NCURSES_BOOL *)0); }
443 NCURSES_BOOL has_il_sp(
445 { return(*(NCURSES_BOOL *)0); }
448 NCURSES_BOOL has_il(void)
449 { return(*(NCURSES_BOOL *)0); }
451 /* ./tinfo/lib_kernel.c */
456 { return(*(char *)0); }
460 { return(*(char *)0); }
465 { return(*(char *)0); }
469 { return(*(char *)0); }
474 { return(*(int *)0); }
478 { return(*(int *)0); }
480 /* ./lib_keyname.c */
482 struct kn { short offset; int code; };
485 const char *keyname_sp(
488 { return(*(const char **)0); }
493 { return(*(const char **)0); }
495 /* ./tinfo/lib_longname.c */
500 { return(*(char **)0); }
504 { return(*(char **)0); }
506 /* ./tinfo/lib_napms.c */
512 { return(*(int *)0); }
517 { return(*(int *)0); }
519 /* ./tinfo/lib_options.c */
525 { return(*(int *)0); }
537 { return(*(int *)0); }
542 { return(*(int *)0); }
548 { return(*(int *)0); }
554 { return(*(int *)0); }
566 { return(*(int *)0); }
572 { return(*(int *)0); }
578 { return(*(int *)0); }
583 { return(*(int *)0); }
589 { return(*(int *)0); }
594 { return(*(int *)0); }
600 { return(*(int *)0); }
605 { return(*(int *)0); }
607 #undef _nc_putp_flush_sp
608 int _nc_putp_flush_sp(
612 { return(*(int *)0); }
618 { return(*(int *)0); }
620 /* ./tinfo/lib_raw.c */
625 { return(*(int *)0); }
629 { return(*(int *)0); }
634 { return(*(int *)0); }
638 { return(*(int *)0); }
652 { return(*(int *)0); }
656 { return(*(int *)0); }
661 { return(*(int *)0); }
665 { return(*(int *)0); }
681 { return(*(int *)0); }
687 { return(*(int *)0); }
689 /* ./tinfo/lib_setup.c */
700 #undef set_tabsize_sp
704 { return(*(int *)0); }
709 { return(*(int *)0); }
711 #undef _nc_handle_sigwinch
712 int _nc_handle_sigwinch(
714 { return(*(int *)0); }
738 #undef _nc_get_screensize
739 void _nc_get_screensize(
745 #undef _nc_update_screensize
746 void _nc_update_screensize(
750 #undef _nc_setup_tinfo
752 const char *const tn,
754 { return(*(int *)0); }
756 #undef _nc_tinfo_cmdch
757 void _nc_tinfo_cmdch(
762 #undef _nc_get_locale
763 char *_nc_get_locale(void)
764 { return(*(char **)0); }
766 #undef _nc_unicode_locale
767 int _nc_unicode_locale(void)
768 { return(*(int *)0); }
770 #undef _nc_locale_breaks_acs
771 int _nc_locale_breaks_acs(
773 { return(*(int *)0); }
781 { return(*(int *)0); }
784 SCREEN *new_prescr(void)
785 { return(*(SCREEN **)0); }
792 { return(*(int *)0); }
794 /* ./tinfo/lib_termcap.c */
806 { return(*(int *)0); }
812 { return(*(int *)0); }
818 { return(*(int *)0); }
823 { return(*(int *)0); }
829 { return(*(int *)0); }
834 { return(*(int *)0); }
841 { return(*(char **)0); }
847 { return(*(char **)0); }
849 /* ./tinfo/lib_termname.c */
854 { return(*(char **)0); }
858 { return(*(char **)0); }
860 /* ./tinfo/lib_tgoto.c */
867 { return(*(char **)0); }
869 /* ./tinfo/lib_ti.c */
875 { return(*(int *)0); }
880 { return(*(int *)0); }
886 { return(*(int *)0); }
891 { return(*(int *)0); }
897 { return(*(char **)0); }
902 { return(*(char **)0); }
904 /* ./tinfo/lib_tparm.c */
909 #undef _nc_tparm_analyze
910 int _nc_tparm_analyze(
914 { return(*(int *)0); }
920 { return(*(char **)0); }
926 { return(*(char **)0); }
933 { return(*(char **)0); }
935 /* ./tinfo/lib_tputs.c */
941 #undef _nc_nulls_sent
944 #undef _nc_set_no_padding
945 void _nc_set_no_padding(
949 #undef delay_output_sp
953 { return(*(int *)0); }
958 { return(*(int *)0); }
973 { return(*(int *)0); }
978 { return(*(int *)0); }
980 #undef _nc_putchar_sp
984 { return(*(int *)0); }
989 { return(*(int *)0); }
995 { return(*(int *)0); }
1000 { return(*(int *)0); }
1007 { return(*(int *)0); }
1013 { return(*(int *)0); }
1020 NCURSES_OUTC_sp outc)
1021 { return(*(int *)0); }
1023 #undef _nc_outc_wrapper
1024 int _nc_outc_wrapper(
1027 { return(*(int *)0); }
1035 { return(*(int *)0); }
1037 /* ./trace/lib_trace.c */
1040 unsigned _nc_tracing;
1041 #undef _nc_tputs_trace
1042 const char *_nc_tputs_trace = {0};
1047 unsigned curses_trace(
1048 unsigned tracelevel)
1049 { return(*(unsigned *)0); }
1053 const unsigned int tracelevel)
1062 #undef _nc_retrace_bool
1063 NCURSES_BOOL _nc_retrace_bool(
1065 { return(*(NCURSES_BOOL *)0); }
1067 #undef _nc_retrace_char
1068 char _nc_retrace_char(
1070 { return(*(char *)0); }
1072 #undef _nc_retrace_int
1073 int _nc_retrace_int(
1075 { return(*(int *)0); }
1077 #undef _nc_retrace_unsigned
1078 unsigned _nc_retrace_unsigned(
1080 { return(*(unsigned *)0); }
1082 #undef _nc_retrace_ptr
1083 char *_nc_retrace_ptr(
1085 { return(*(char **)0); }
1087 #undef _nc_retrace_cptr
1088 const char *_nc_retrace_cptr(
1090 { return(*(const char **)0); }
1092 #undef _nc_retrace_cvoid_ptr
1093 const void *_nc_retrace_cvoid_ptr(
1095 { return(*(const void **)0); }
1097 #undef _nc_retrace_void_ptr
1098 void *_nc_retrace_void_ptr(
1100 { return(*(void **)0); }
1102 #undef _nc_retrace_sp
1103 SCREEN *_nc_retrace_sp(
1105 { return(*(SCREEN **)0); }
1107 #undef _nc_retrace_win
1108 WINDOW *_nc_retrace_win(
1110 { return(*(WINDOW **)0); }
1112 #undef _nc_fmt_funcptr
1113 char *_nc_fmt_funcptr(
1117 { return(*(char **)0); }
1119 /* ./trace/lib_traceatr.c */
1125 { return(*(char **)0); }
1130 { return(*(char **)0); }
1132 #undef _nc_retrace_int_attr_t
1133 int _nc_retrace_int_attr_t(
1135 { return(*(int *)0); }
1137 #undef _nc_retrace_attr_t
1138 attr_t _nc_retrace_attr_t(
1140 { return(*(attr_t *)0); }
1142 #undef _nc_altcharset_name
1143 const char *_nc_altcharset_name(
1146 { return(*(const char **)0); }
1148 #undef _tracechtype2
1149 char *_tracechtype2(
1152 { return(*(char **)0); }
1157 { return(*(char **)0); }
1159 #undef _nc_retrace_chtype
1160 chtype _nc_retrace_chtype(
1162 { return(*(chtype *)0); }
1164 #undef _tracecchar_t2
1165 char *_tracecchar_t2(
1168 { return(*(char **)0); }
1170 #undef _tracecchar_t
1171 char *_tracecchar_t(
1173 { return(*(char **)0); }
1175 /* ./trace/lib_tracebits.c */
1177 #undef _nc_trace_ttymode
1178 char *_nc_trace_ttymode(
1179 struct termios *tty)
1180 { return(*(char **)0); }
1182 #undef _nc_tracebits
1183 char *_nc_tracebits(void)
1184 { return(*(char **)0); }
1186 /* ./trace/lib_tracechr.c */
1188 #undef _nc_tracechar
1189 char *_nc_tracechar(
1192 { return(*(char **)0); }
1197 { return(*(char **)0); }
1199 /* ./tinfo/lib_ttyflags.c */
1201 #undef _nc_get_tty_mode_sp
1202 int _nc_get_tty_mode_sp(
1204 struct termios *buf)
1205 { return(*(int *)0); }
1207 #undef _nc_get_tty_mode
1208 int _nc_get_tty_mode(
1209 struct termios *buf)
1210 { return(*(int *)0); }
1212 #undef _nc_set_tty_mode_sp
1213 int _nc_set_tty_mode_sp(
1215 struct termios *buf)
1216 { return(*(int *)0); }
1218 #undef _nc_set_tty_mode
1219 int _nc_set_tty_mode(
1220 struct termios *buf)
1221 { return(*(int *)0); }
1223 #undef def_shell_mode_sp
1224 int def_shell_mode_sp(
1226 { return(*(int *)0); }
1228 #undef def_shell_mode
1229 int def_shell_mode(void)
1230 { return(*(int *)0); }
1232 #undef def_prog_mode_sp
1233 int def_prog_mode_sp(
1235 { return(*(int *)0); }
1237 #undef def_prog_mode
1238 int def_prog_mode(void)
1239 { return(*(int *)0); }
1241 #undef reset_prog_mode_sp
1242 int reset_prog_mode_sp(
1244 { return(*(int *)0); }
1246 #undef reset_prog_mode
1247 int reset_prog_mode(void)
1248 { return(*(int *)0); }
1250 #undef reset_shell_mode_sp
1251 int reset_shell_mode_sp(
1253 { return(*(int *)0); }
1255 #undef reset_shell_mode
1256 int reset_shell_mode(void)
1257 { return(*(int *)0); }
1262 { return(*(int *)0); }
1266 { return(*(int *)0); }
1271 { return(*(int *)0); }
1275 { return(*(int *)0); }
1277 /* ./tty/lib_twait.c */
1279 #undef _nc_timed_wait
1285 { return(*(int *)0); }
1287 /* ./tinfo/name_match.c */
1289 #undef _nc_first_name
1290 char *_nc_first_name(
1291 const char *const sp)
1292 { return(*(char **)0); }
1294 #undef _nc_name_match
1296 const char *const namelst,
1297 const char *const name,
1298 const char *const delim)
1299 { return(*(int *)0); }
1304 const char *const boolnames[] = {0};
1306 const char *const boolfnames[] = {0};
1308 const char *const numnames[] = {0};
1310 const char *const numfnames[] = {0};
1312 const char *const strnames[] = {0};
1314 const char *const strfnames[] = {0};
1316 /* ./tinfo/obsolete.c */
1318 #undef _nc_set_buffer_sp
1319 void _nc_set_buffer_sp(
1325 #undef _nc_set_buffer
1326 void _nc_set_buffer(
1331 /* ./tinfo/read_entry.c */
1333 #undef _nc_init_termtype
1334 void _nc_init_termtype(
1335 TERMTYPE2 *const tp)
1338 #undef _nc_read_termtype
1339 int _nc_read_termtype(
1343 { return(*(int *)0); }
1345 #undef _nc_read_file_entry
1346 int _nc_read_file_entry(
1347 const char *const filename,
1349 { return(*(int *)0); }
1351 #undef _nc_read_entry2
1352 int _nc_read_entry2(
1353 const char *const name,
1354 char *const filename,
1355 TERMTYPE2 *const tp)
1356 { return(*(int *)0); }
1358 #undef _nc_read_entry
1360 const char *const name,
1361 char *const filename,
1363 { return(*(int *)0); }
1365 /* ./tinfo/read_termcap.c */
1367 #undef _nc_read_termcap
1368 void _nc_read_termcap(void)
1371 /* ./tinfo/strings.c */
1374 string_desc *_nc_str_init(
1378 { return(*(string_desc **)0); }
1381 string_desc *_nc_str_null(
1384 { return(*(string_desc **)0); }
1387 string_desc *_nc_str_copy(
1390 { return(*(string_desc **)0); }
1392 #undef _nc_safe_strcat
1393 NCURSES_BOOL _nc_safe_strcat(
1396 { return(*(NCURSES_BOOL *)0); }
1398 #undef _nc_safe_strcpy
1399 NCURSES_BOOL _nc_safe_strcpy(
1402 { return(*(NCURSES_BOOL *)0); }
1404 /* ./trace/trace_buf.c */
1406 #undef _nc_trace_buf
1407 char *_nc_trace_buf(
1410 { return(*(char **)0); }
1412 #undef _nc_trace_bufcat
1413 char *_nc_trace_bufcat(
1416 { return(*(char **)0); }
1418 /* ./trace/trace_tries.c */
1420 #undef _nc_trace_tries
1421 void _nc_trace_tries(
1425 /* ./base/tries.c */
1427 #undef _nc_expand_try
1428 char *_nc_expand_try(
1433 { return(*(char **)0); }
1435 #undef _nc_remove_key
1439 { return(*(int *)0); }
1441 #undef _nc_remove_string
1442 int _nc_remove_string(
1445 { return(*(int *)0); }
1447 /* ./tinfo/trim_sgr0.c */
1449 #undef _nc_trim_sgr0
1450 char *_nc_trim_sgr0(
1452 { return(*(char **)0); }
1457 const char *unctrl_sp(
1460 { return(*(const char **)0); }
1465 { return(*(const char **)0); }
1467 /* ./trace/visbuf.c */
1470 const char *_nc_visbuf2(
1473 { return(*(const char **)0); }
1476 const char *_nc_visbuf(
1478 { return(*(const char **)0); }
1481 const char *_nc_visbufn(
1484 { return(*(const char **)0); }
1487 const char *_nc_viswbuf2(
1490 { return(*(const char **)0); }
1493 const char *_nc_viswbuf(
1495 { return(*(const char **)0); }
1498 const char *_nc_viswbufn(
1501 { return(*(const char **)0); }
1504 const char *_nc_viswibuf(
1506 { return(*(const char **)0); }
1509 const char *_nc_viscbuf2(
1513 { return(*(const char **)0); }
1516 const char *_nc_viscbuf(
1519 { return(*(const char **)0); }
1521 /* ./base/define_key.c */
1523 #undef define_key_sp
1528 { return(*(int *)0); }
1534 { return(*(int *)0); }
1536 /* ./tinfo/hashed_db.c */
1538 #undef _nc_hashed_db
1539 void _nc_hashed_db(void)
1542 /* ./base/key_defined.c */
1544 #undef key_defined_sp
1548 { return(*(int *)0); }
1553 { return(*(int *)0); }
1555 /* ./base/keybound.c */
1562 { return(*(char **)0); }
1568 { return(*(char **)0); }
1570 /* ./base/keyok.c */
1577 { return(*(int *)0); }
1583 { return(*(int *)0); }
1585 /* ./base/version.c */
1587 #undef curses_version
1588 const char *curses_version(void)
1589 { return(*(const char **)0); }