1 /****************************************************************************
2 * Copyright 2019-2020,2021 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(
105 const char *const boolcodes[] = {0};
107 const char *const numcodes[] = {0};
109 const char *const strcodes[] = {0};
111 /* ./comp_captab.c */
114 const struct name_table_entry *_nc_get_table(
115 NCURSES_BOOL termcap)
116 { return(*(const struct name_table_entry **)0); }
118 #undef _nc_get_hash_table
119 const HashValue *_nc_get_hash_table(
120 NCURSES_BOOL termcap)
121 { return(*(const HashValue **)0); }
123 #undef _nc_get_alias_table
124 const struct alias *_nc_get_alias_table(
125 NCURSES_BOOL termcap)
126 { return(*(const struct alias **)0); }
128 #undef _nc_get_hash_info
129 const HashData *_nc_get_hash_info(
130 NCURSES_BOOL termcap)
131 { return(*(const HashData **)0); }
133 /* ./tinfo/comp_error.c */
135 #undef _nc_suppress_warnings
136 NCURSES_BOOL _nc_suppress_warnings;
142 #undef _nc_get_source
143 const char *_nc_get_source(void)
144 { return(*(const char **)0); }
146 #undef _nc_set_source
148 const char *const name)
153 const char *const name)
163 const char *const fmt,
169 const char *const fmt,
173 #undef _nc_syserr_abort
174 void _nc_syserr_abort(
175 const char *const fmt,
179 /* ./tinfo/comp_hash.c */
181 #undef _nc_find_entry
182 struct name_table_entry const *_nc_find_entry(
184 const HashValue *hash_table)
185 { return(*(struct name_table_entry const **)0); }
187 #undef _nc_find_type_entry
188 struct name_table_entry const *_nc_find_type_entry(
191 NCURSES_BOOL termcap)
192 { return(*(struct name_table_entry const **)0); }
194 #undef _nc_find_user_entry
195 struct user_table_entry const *_nc_find_user_entry(
197 { return(*(struct user_table_entry const **)0); }
199 /* ./comp_userdefs.c */
201 #undef _nc_get_userdefs_table
202 const struct user_table_entry *_nc_get_userdefs_table(void)
203 { return(*(const struct user_table_entry **)0); }
205 #undef _nc_get_hash_user
206 const HashData *_nc_get_hash_user(void)
207 { return(*(const HashData **)0); }
209 /* ./tinfo/db_iterator.c */
212 const char *_nc_tic_dir(
214 { return(*(const char **)0); }
216 #undef _nc_keep_tic_dir
217 void _nc_keep_tic_dir(
222 void _nc_last_db(void)
226 const char *_nc_next_db(
229 { return(*(const char **)0); }
237 /* ./tinfo/doalloc.c */
243 { return(*(void **)0); }
245 /* ./tinfo/entries.c */
252 #undef _nc_free_entry
258 #undef _nc_free_entries
259 void _nc_free_entries(
263 #undef _nc_leaks_tinfo
264 void _nc_leaks_tinfo(void)
275 const TERMTYPE2 *_nc_fallback(
277 { return(*(const TERMTYPE2 **)0); }
279 /* ./tinfo/free_ttype.c */
281 #undef _nc_free_termtype
282 void _nc_free_termtype(
286 #undef _nc_user_definable
287 NCURSES_BOOL _nc_user_definable;
289 #undef use_extended_names
290 int use_extended_names(
292 { return(*(int *)0); }
294 /* ./tinfo/getenv_num.c */
296 #undef _nc_getenv_num
299 { return(*(int *)0); }
301 #undef _nc_setenv_num
307 /* ./tinfo/home_terminfo.c */
309 #undef _nc_home_terminfo
310 char *_nc_home_terminfo(void)
311 { return(*(char **)0); }
313 /* ./tinfo/init_keytry.c */
315 #undef _nc_init_keytry
316 void _nc_init_keytry(
320 /* ./tinfo/lib_acs.c */
325 #undef _nc_init_acs_sp
326 void _nc_init_acs_sp(
331 void _nc_init_acs(void)
334 /* ./tinfo/lib_baudrate.c */
344 { return(*(int *)0); }
349 { return(*(int *)0); }
354 { return(*(int *)0); }
358 { return(*(int *)0); }
360 /* ./tinfo/lib_cur_term.c */
365 #undef set_curterm_sp
366 TERMINAL *set_curterm_sp(
369 { return(*(TERMINAL **)0); }
372 TERMINAL *set_curterm(
374 { return(*(TERMINAL **)0); }
376 #undef del_curterm_sp
380 { return(*(int *)0); }
385 { return(*(int *)0); }
387 /* ./tinfo/lib_data.c */
395 #undef _nc_screen_chain
396 SCREEN *_nc_screen_chain;
400 NCURSES_GLOBALS _nc_globals;
402 NCURSES_PRESCREEN _nc_prescreen;
405 SCREEN *_nc_screen_of(
407 { return(*(SCREEN **)0); }
409 /* ./tinfo/lib_has_cap.c */
412 NCURSES_BOOL has_ic_sp(
414 { return(*(NCURSES_BOOL *)0); }
417 NCURSES_BOOL has_ic(void)
418 { return(*(NCURSES_BOOL *)0); }
421 NCURSES_BOOL has_il_sp(
423 { return(*(NCURSES_BOOL *)0); }
426 NCURSES_BOOL has_il(void)
427 { return(*(NCURSES_BOOL *)0); }
429 /* ./tinfo/lib_kernel.c */
434 { return(*(char *)0); }
438 { return(*(char *)0); }
443 { return(*(char *)0); }
447 { return(*(char *)0); }
452 { return(*(int *)0); }
456 { return(*(int *)0); }
458 /* ./lib_keyname.c */
460 struct kn { short offset; int code; };
463 const char *keyname_sp(
466 { return(*(const char **)0); }
471 { return(*(const char **)0); }
473 /* ./tinfo/lib_longname.c */
478 { return(*(char **)0); }
482 { return(*(char **)0); }
484 /* ./tinfo/lib_napms.c */
490 { return(*(int *)0); }
495 { return(*(int *)0); }
497 /* ./tinfo/lib_options.c */
503 { return(*(int *)0); }
515 { return(*(int *)0); }
520 { return(*(int *)0); }
526 { return(*(int *)0); }
532 { return(*(int *)0); }
544 { return(*(int *)0); }
550 { return(*(int *)0); }
556 { return(*(int *)0); }
561 { return(*(int *)0); }
567 { return(*(int *)0); }
572 { return(*(int *)0); }
578 { return(*(int *)0); }
583 { return(*(int *)0); }
585 #undef _nc_putp_flush_sp
586 int _nc_putp_flush_sp(
590 { return(*(int *)0); }
596 { return(*(int *)0); }
598 /* ./tinfo/lib_raw.c */
603 { return(*(int *)0); }
607 { return(*(int *)0); }
612 { return(*(int *)0); }
616 { return(*(int *)0); }
630 { return(*(int *)0); }
634 { return(*(int *)0); }
639 { return(*(int *)0); }
643 { return(*(int *)0); }
659 { return(*(int *)0); }
665 { return(*(int *)0); }
667 /* ./tinfo/lib_setup.c */
678 #undef set_tabsize_sp
682 { return(*(int *)0); }
687 { return(*(int *)0); }
689 #undef _nc_handle_sigwinch
690 int _nc_handle_sigwinch(
692 { return(*(int *)0); }
716 #undef _nc_get_screensize
717 void _nc_get_screensize(
723 #undef _nc_update_screensize
724 void _nc_update_screensize(
728 #undef _nc_setup_tinfo
730 const char *const tn,
732 { return(*(int *)0); }
734 #undef _nc_tinfo_cmdch
735 void _nc_tinfo_cmdch(
740 #undef _nc_get_locale
741 char *_nc_get_locale(void)
742 { return(*(char **)0); }
744 #undef _nc_unicode_locale
745 int _nc_unicode_locale(void)
746 { return(*(int *)0); }
748 #undef _nc_locale_breaks_acs
749 int _nc_locale_breaks_acs(
751 { return(*(int *)0); }
759 { return(*(int *)0); }
762 SCREEN *new_prescr(void)
763 { return(*(SCREEN **)0); }
770 { return(*(int *)0); }
772 /* ./tinfo/lib_termcap.c */
784 { return(*(int *)0); }
790 { return(*(int *)0); }
796 { return(*(int *)0); }
801 { return(*(int *)0); }
807 { return(*(int *)0); }
812 { return(*(int *)0); }
819 { return(*(char **)0); }
825 { return(*(char **)0); }
827 /* ./tinfo/lib_termname.c */
832 { return(*(char **)0); }
836 { return(*(char **)0); }
838 /* ./tinfo/lib_tgoto.c */
845 { return(*(char **)0); }
847 /* ./tinfo/lib_ti.c */
853 { return(*(int *)0); }
858 { return(*(int *)0); }
864 { return(*(int *)0); }
869 { return(*(int *)0); }
875 { return(*(char **)0); }
880 { return(*(char **)0); }
882 /* ./tinfo/lib_tparm.c */
887 #undef _nc_tparm_analyze
888 int _nc_tparm_analyze(
892 { return(*(int *)0); }
898 { return(*(char **)0); }
904 { return(*(char **)0); }
911 { return(*(char **)0); }
913 /* ./tinfo/lib_tputs.c */
919 #undef _nc_nulls_sent
922 #undef _nc_set_no_padding
923 void _nc_set_no_padding(
927 #undef delay_output_sp
931 { return(*(int *)0); }
936 { return(*(int *)0); }
951 { return(*(int *)0); }
956 { return(*(int *)0); }
958 #undef _nc_putchar_sp
962 { return(*(int *)0); }
967 { return(*(int *)0); }
973 { return(*(int *)0); }
978 { return(*(int *)0); }
985 { return(*(int *)0); }
991 { return(*(int *)0); }
998 NCURSES_OUTC_sp outc)
999 { return(*(int *)0); }
1001 #undef _nc_outc_wrapper
1002 int _nc_outc_wrapper(
1005 { return(*(int *)0); }
1013 { return(*(int *)0); }
1015 /* ./trace/lib_trace.c */
1018 unsigned _nc_tracing;
1019 #undef _nc_tputs_trace
1020 const char *_nc_tputs_trace = {0};
1025 unsigned curses_trace(
1026 unsigned tracelevel)
1027 { return(*(unsigned *)0); }
1031 const unsigned int tracelevel)
1040 #undef _nc_retrace_bool
1041 NCURSES_BOOL _nc_retrace_bool(
1043 { return(*(NCURSES_BOOL *)0); }
1045 #undef _nc_retrace_char
1046 char _nc_retrace_char(
1048 { return(*(char *)0); }
1050 #undef _nc_retrace_int
1051 int _nc_retrace_int(
1053 { return(*(int *)0); }
1055 #undef _nc_retrace_unsigned
1056 unsigned _nc_retrace_unsigned(
1058 { return(*(unsigned *)0); }
1060 #undef _nc_retrace_ptr
1061 char *_nc_retrace_ptr(
1063 { return(*(char **)0); }
1065 #undef _nc_retrace_cptr
1066 const char *_nc_retrace_cptr(
1068 { return(*(const char **)0); }
1070 #undef _nc_retrace_cvoid_ptr
1071 const void *_nc_retrace_cvoid_ptr(
1073 { return(*(const void **)0); }
1075 #undef _nc_retrace_void_ptr
1076 void *_nc_retrace_void_ptr(
1078 { return(*(void **)0); }
1080 #undef _nc_retrace_sp
1081 SCREEN *_nc_retrace_sp(
1083 { return(*(SCREEN **)0); }
1085 #undef _nc_retrace_win
1086 WINDOW *_nc_retrace_win(
1088 { return(*(WINDOW **)0); }
1090 #undef _nc_fmt_funcptr
1091 char *_nc_fmt_funcptr(
1095 { return(*(char **)0); }
1097 /* ./trace/lib_traceatr.c */
1103 { return(*(char **)0); }
1108 { return(*(char **)0); }
1110 #undef _nc_retrace_int_attr_t
1111 int _nc_retrace_int_attr_t(
1113 { return(*(int *)0); }
1115 #undef _nc_retrace_attr_t
1116 attr_t _nc_retrace_attr_t(
1118 { return(*(attr_t *)0); }
1120 #undef _nc_altcharset_name
1121 const char *_nc_altcharset_name(
1124 { return(*(const char **)0); }
1126 #undef _tracechtype2
1127 char *_tracechtype2(
1130 { return(*(char **)0); }
1135 { return(*(char **)0); }
1137 #undef _nc_retrace_chtype
1138 chtype _nc_retrace_chtype(
1140 { return(*(chtype *)0); }
1142 /* ./trace/lib_tracebits.c */
1144 #undef _nc_trace_ttymode
1145 char *_nc_trace_ttymode(
1146 const struct termios *tty)
1147 { return(*(char **)0); }
1149 #undef _nc_tracebits
1150 char *_nc_tracebits(void)
1151 { return(*(char **)0); }
1153 /* ./trace/lib_tracechr.c */
1155 #undef _nc_tracechar
1156 char *_nc_tracechar(
1159 { return(*(char **)0); }
1164 { return(*(char **)0); }
1166 /* ./tinfo/lib_ttyflags.c */
1168 #undef _nc_get_tty_mode_sp
1169 int _nc_get_tty_mode_sp(
1171 struct termios *buf)
1172 { return(*(int *)0); }
1174 #undef _nc_get_tty_mode
1175 int _nc_get_tty_mode(
1176 struct termios *buf)
1177 { return(*(int *)0); }
1179 #undef _nc_set_tty_mode_sp
1180 int _nc_set_tty_mode_sp(
1182 struct termios *buf)
1183 { return(*(int *)0); }
1185 #undef _nc_set_tty_mode
1186 int _nc_set_tty_mode(
1187 struct termios *buf)
1188 { return(*(int *)0); }
1190 #undef def_shell_mode_sp
1191 int def_shell_mode_sp(
1193 { return(*(int *)0); }
1195 #undef def_shell_mode
1196 int def_shell_mode(void)
1197 { return(*(int *)0); }
1199 #undef def_prog_mode_sp
1200 int def_prog_mode_sp(
1202 { return(*(int *)0); }
1204 #undef def_prog_mode
1205 int def_prog_mode(void)
1206 { return(*(int *)0); }
1208 #undef reset_prog_mode_sp
1209 int reset_prog_mode_sp(
1211 { return(*(int *)0); }
1213 #undef reset_prog_mode
1214 int reset_prog_mode(void)
1215 { return(*(int *)0); }
1217 #undef reset_shell_mode_sp
1218 int reset_shell_mode_sp(
1220 { return(*(int *)0); }
1222 #undef reset_shell_mode
1223 int reset_shell_mode(void)
1224 { return(*(int *)0); }
1229 { return(*(int *)0); }
1233 { return(*(int *)0); }
1238 { return(*(int *)0); }
1242 { return(*(int *)0); }
1244 /* ./tty/lib_twait.c */
1246 #undef _nc_timed_wait
1252 { return(*(int *)0); }
1254 /* ./tinfo/name_match.c */
1256 #undef _nc_first_name
1257 char *_nc_first_name(
1258 const char *const sp)
1259 { return(*(char **)0); }
1261 #undef _nc_name_match
1263 const char *const namelst,
1264 const char *const name,
1265 const char *const delim)
1266 { return(*(int *)0); }
1271 const char *const boolnames[] = {0};
1273 const char *const boolfnames[] = {0};
1275 const char *const numnames[] = {0};
1277 const char *const numfnames[] = {0};
1279 const char *const strnames[] = {0};
1281 const char *const strfnames[] = {0};
1283 /* ./tinfo/obsolete.c */
1285 #undef _nc_set_buffer_sp
1286 void _nc_set_buffer_sp(
1292 #undef _nc_set_buffer
1293 void _nc_set_buffer(
1298 /* ./tinfo/read_entry.c */
1300 #undef _nc_init_termtype
1301 void _nc_init_termtype(
1302 TERMTYPE2 *const tp)
1305 #undef _nc_read_termtype
1306 int _nc_read_termtype(
1310 { return(*(int *)0); }
1312 #undef _nc_read_file_entry
1313 int _nc_read_file_entry(
1314 const char *const filename,
1316 { return(*(int *)0); }
1318 #undef _nc_read_entry
1320 const char *const name,
1321 char *const filename,
1322 TERMTYPE2 *const tp)
1323 { return(*(int *)0); }
1325 /* ./tinfo/read_termcap.c */
1327 #undef _nc_read_termcap
1328 void _nc_read_termcap(void)
1331 /* ./tinfo/strings.c */
1334 string_desc *_nc_str_init(
1338 { return(*(string_desc **)0); }
1341 string_desc *_nc_str_null(
1344 { return(*(string_desc **)0); }
1347 string_desc *_nc_str_copy(
1350 { return(*(string_desc **)0); }
1352 #undef _nc_safe_strcat
1353 NCURSES_BOOL _nc_safe_strcat(
1356 { return(*(NCURSES_BOOL *)0); }
1358 #undef _nc_safe_strcpy
1359 NCURSES_BOOL _nc_safe_strcpy(
1362 { return(*(NCURSES_BOOL *)0); }
1364 /* ./trace/trace_buf.c */
1366 #undef _nc_trace_buf
1367 char *_nc_trace_buf(
1370 { return(*(char **)0); }
1372 #undef _nc_trace_bufcat
1373 char *_nc_trace_bufcat(
1376 { return(*(char **)0); }
1378 /* ./trace/trace_tries.c */
1380 #undef _nc_trace_tries
1381 void _nc_trace_tries(
1385 /* ./base/tries.c */
1387 #undef _nc_expand_try
1388 char *_nc_expand_try(
1393 { return(*(char **)0); }
1395 #undef _nc_remove_key
1399 { return(*(int *)0); }
1401 #undef _nc_remove_string
1402 int _nc_remove_string(
1405 { return(*(int *)0); }
1407 /* ./tinfo/trim_sgr0.c */
1409 #undef _nc_trim_sgr0
1410 char *_nc_trim_sgr0(
1412 { return(*(char **)0); }
1417 const char *unctrl_sp(
1420 { return(*(const char **)0); }
1425 { return(*(const char **)0); }
1427 /* ./trace/visbuf.c */
1430 const char *_nc_visbuf2(
1433 { return(*(const char **)0); }
1436 const char *_nc_visbuf(
1438 { return(*(const char **)0); }
1441 const char *_nc_visbufn(
1444 { return(*(const char **)0); }
1447 const char *_nc_viscbuf2(
1451 { return(*(const char **)0); }
1454 const char *_nc_viscbuf(
1457 { return(*(const char **)0); }
1459 /* ./base/define_key.c */
1461 #undef define_key_sp
1466 { return(*(int *)0); }
1472 { return(*(int *)0); }
1474 /* ./tinfo/hashed_db.c */
1476 #undef _nc_hashed_db
1477 void _nc_hashed_db(void)
1480 /* ./base/key_defined.c */
1482 #undef key_defined_sp
1486 { return(*(int *)0); }
1491 { return(*(int *)0); }
1493 /* ./base/keybound.c */
1500 { return(*(char **)0); }
1506 { return(*(char **)0); }
1508 /* ./base/keyok.c */
1515 { return(*(int *)0); }
1521 { return(*(int *)0); }
1523 /* ./base/version.c */
1525 #undef curses_version
1526 const char *curses_version(void)
1527 { return(*(const char **)0); }