1 /****************************************************************************
2 * Copyright 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(
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)
270 const TERMTYPE2 *_nc_fallback(
272 { return(*(const TERMTYPE2 **)0); }
274 /* ./tinfo/free_ttype.c */
276 #undef _nc_free_termtype
277 void _nc_free_termtype(
281 #undef _nc_user_definable
282 NCURSES_BOOL _nc_user_definable;
284 #undef use_extended_names
285 int use_extended_names(
287 { return(*(int *)0); }
289 /* ./tinfo/getenv_num.c */
291 #undef _nc_getenv_num
294 { return(*(int *)0); }
296 #undef _nc_setenv_num
302 /* ./tinfo/home_terminfo.c */
304 #undef _nc_home_terminfo
305 char *_nc_home_terminfo(void)
306 { return(*(char **)0); }
308 /* ./tinfo/init_keytry.c */
310 #undef _nc_init_keytry
311 void _nc_init_keytry(
315 /* ./tinfo/lib_acs.c */
320 #undef _nc_init_acs_sp
321 void _nc_init_acs_sp(
326 void _nc_init_acs(void)
329 /* ./tinfo/lib_baudrate.c */
339 { return(*(int *)0); }
344 { return(*(int *)0); }
349 { return(*(int *)0); }
353 { return(*(int *)0); }
355 /* ./tinfo/lib_cur_term.c */
360 #undef set_curterm_sp
361 TERMINAL *set_curterm_sp(
364 { return(*(TERMINAL **)0); }
367 TERMINAL *set_curterm(
369 { return(*(TERMINAL **)0); }
371 #undef del_curterm_sp
375 { return(*(int *)0); }
380 { return(*(int *)0); }
382 /* ./tinfo/lib_data.c */
390 #undef _nc_screen_chain
391 SCREEN *_nc_screen_chain;
395 NCURSES_GLOBALS _nc_globals;
397 NCURSES_PRESCREEN _nc_prescreen;
400 SCREEN *_nc_screen_of(
402 { return(*(SCREEN **)0); }
404 /* ./tinfo/lib_has_cap.c */
407 NCURSES_BOOL has_ic_sp(
409 { return(*(NCURSES_BOOL *)0); }
412 NCURSES_BOOL has_ic(void)
413 { return(*(NCURSES_BOOL *)0); }
416 NCURSES_BOOL has_il_sp(
418 { return(*(NCURSES_BOOL *)0); }
421 NCURSES_BOOL has_il(void)
422 { return(*(NCURSES_BOOL *)0); }
424 /* ./tinfo/lib_kernel.c */
429 { return(*(char *)0); }
433 { return(*(char *)0); }
438 { return(*(char *)0); }
442 { return(*(char *)0); }
447 { return(*(int *)0); }
451 { return(*(int *)0); }
453 /* ./lib_keyname.c */
455 struct kn { short offset; int code; };
458 const char *keyname_sp(
461 { return(*(const char **)0); }
466 { return(*(const char **)0); }
468 /* ./tinfo/lib_longname.c */
473 { return(*(char **)0); }
477 { return(*(char **)0); }
479 /* ./tinfo/lib_napms.c */
485 { return(*(int *)0); }
490 { return(*(int *)0); }
492 /* ./tinfo/lib_options.c */
498 { return(*(int *)0); }
510 { return(*(int *)0); }
515 { return(*(int *)0); }
521 { return(*(int *)0); }
527 { return(*(int *)0); }
539 { return(*(int *)0); }
545 { return(*(int *)0); }
551 { return(*(int *)0); }
556 { return(*(int *)0); }
562 { return(*(int *)0); }
567 { return(*(int *)0); }
573 { return(*(int *)0); }
578 { return(*(int *)0); }
580 #undef _nc_putp_flush_sp
581 int _nc_putp_flush_sp(
585 { return(*(int *)0); }
591 { return(*(int *)0); }
593 /* ./tinfo/lib_raw.c */
598 { return(*(int *)0); }
602 { return(*(int *)0); }
607 { return(*(int *)0); }
611 { return(*(int *)0); }
625 { return(*(int *)0); }
629 { return(*(int *)0); }
634 { return(*(int *)0); }
638 { return(*(int *)0); }
654 { return(*(int *)0); }
660 { return(*(int *)0); }
662 /* ./tinfo/lib_setup.c */
673 #undef set_tabsize_sp
677 { return(*(int *)0); }
682 { return(*(int *)0); }
684 #undef _nc_handle_sigwinch
685 int _nc_handle_sigwinch(
687 { return(*(int *)0); }
711 #undef _nc_get_screensize
712 void _nc_get_screensize(
718 #undef _nc_update_screensize
719 void _nc_update_screensize(
723 #undef _nc_setup_tinfo
725 const char *const tn,
727 { return(*(int *)0); }
729 #undef _nc_tinfo_cmdch
730 void _nc_tinfo_cmdch(
735 #undef _nc_get_locale
736 char *_nc_get_locale(void)
737 { return(*(char **)0); }
739 #undef _nc_unicode_locale
740 int _nc_unicode_locale(void)
741 { return(*(int *)0); }
743 #undef _nc_locale_breaks_acs
744 int _nc_locale_breaks_acs(
746 { return(*(int *)0); }
754 { return(*(int *)0); }
757 SCREEN *new_prescr(void)
758 { return(*(SCREEN **)0); }
765 { return(*(int *)0); }
767 /* ./tinfo/lib_termcap.c */
779 { return(*(int *)0); }
785 { return(*(int *)0); }
791 { return(*(int *)0); }
796 { return(*(int *)0); }
802 { return(*(int *)0); }
807 { return(*(int *)0); }
814 { return(*(char **)0); }
820 { return(*(char **)0); }
822 /* ./tinfo/lib_termname.c */
827 { return(*(char **)0); }
831 { return(*(char **)0); }
833 /* ./tinfo/lib_tgoto.c */
840 { return(*(char **)0); }
842 /* ./tinfo/lib_ti.c */
848 { return(*(int *)0); }
853 { return(*(int *)0); }
859 { return(*(int *)0); }
864 { return(*(int *)0); }
870 { return(*(char **)0); }
875 { return(*(char **)0); }
877 /* ./tinfo/lib_tparm.c */
882 #undef _nc_tparm_analyze
883 int _nc_tparm_analyze(
887 { return(*(int *)0); }
893 { return(*(char **)0); }
899 { return(*(char **)0); }
901 /* ./tinfo/lib_tputs.c */
907 #undef _nc_nulls_sent
910 #undef _nc_set_no_padding
911 void _nc_set_no_padding(
915 #undef delay_output_sp
919 { return(*(int *)0); }
924 { return(*(int *)0); }
939 { return(*(int *)0); }
944 { return(*(int *)0); }
946 #undef _nc_putchar_sp
950 { return(*(int *)0); }
955 { return(*(int *)0); }
961 { return(*(int *)0); }
966 { return(*(int *)0); }
973 { return(*(int *)0); }
979 { return(*(int *)0); }
986 NCURSES_OUTC_sp outc)
987 { return(*(int *)0); }
989 #undef _nc_outc_wrapper
990 int _nc_outc_wrapper(
993 { return(*(int *)0); }
1001 { return(*(int *)0); }
1003 /* ./trace/lib_trace.c */
1006 unsigned _nc_tracing;
1007 #undef _nc_tputs_trace
1008 const char *_nc_tputs_trace = {0};
1014 const unsigned int tracelevel)
1023 #undef _nc_retrace_bool
1024 NCURSES_BOOL _nc_retrace_bool(
1026 { return(*(NCURSES_BOOL *)0); }
1028 #undef _nc_retrace_char
1029 char _nc_retrace_char(
1031 { return(*(char *)0); }
1033 #undef _nc_retrace_int
1034 int _nc_retrace_int(
1036 { return(*(int *)0); }
1038 #undef _nc_retrace_unsigned
1039 unsigned _nc_retrace_unsigned(
1041 { return(*(unsigned *)0); }
1043 #undef _nc_retrace_ptr
1044 char *_nc_retrace_ptr(
1046 { return(*(char **)0); }
1048 #undef _nc_retrace_cptr
1049 const char *_nc_retrace_cptr(
1051 { return(*(const char **)0); }
1053 #undef _nc_retrace_cvoid_ptr
1054 const void *_nc_retrace_cvoid_ptr(
1056 { return(*(const void **)0); }
1058 #undef _nc_retrace_void_ptr
1059 void *_nc_retrace_void_ptr(
1061 { return(*(void **)0); }
1063 #undef _nc_retrace_sp
1064 SCREEN *_nc_retrace_sp(
1066 { return(*(SCREEN **)0); }
1068 #undef _nc_retrace_win
1069 WINDOW *_nc_retrace_win(
1071 { return(*(WINDOW **)0); }
1073 #undef _nc_fmt_funcptr
1074 char *_nc_fmt_funcptr(
1078 { return(*(char **)0); }
1080 /* ./trace/lib_traceatr.c */
1086 { return(*(char **)0); }
1091 { return(*(char **)0); }
1093 #undef _nc_retrace_int_attr_t
1094 int _nc_retrace_int_attr_t(
1096 { return(*(int *)0); }
1098 #undef _nc_retrace_attr_t
1099 attr_t _nc_retrace_attr_t(
1101 { return(*(attr_t *)0); }
1103 #undef _nc_altcharset_name
1104 const char *_nc_altcharset_name(
1107 { return(*(const char **)0); }
1109 #undef _tracechtype2
1110 char *_tracechtype2(
1113 { return(*(char **)0); }
1118 { return(*(char **)0); }
1120 #undef _nc_retrace_chtype
1121 chtype _nc_retrace_chtype(
1123 { return(*(chtype *)0); }
1125 /* ./trace/lib_tracebits.c */
1127 #undef _nc_trace_ttymode
1128 char *_nc_trace_ttymode(
1129 struct termios *tty)
1130 { return(*(char **)0); }
1132 #undef _nc_tracebits
1133 char *_nc_tracebits(void)
1134 { return(*(char **)0); }
1136 /* ./trace/lib_tracechr.c */
1138 #undef _nc_tracechar
1139 char *_nc_tracechar(
1142 { return(*(char **)0); }
1147 { return(*(char **)0); }
1149 /* ./tinfo/lib_ttyflags.c */
1151 #undef _nc_get_tty_mode_sp
1152 int _nc_get_tty_mode_sp(
1154 struct termios *buf)
1155 { return(*(int *)0); }
1157 #undef _nc_get_tty_mode
1158 int _nc_get_tty_mode(
1159 struct termios *buf)
1160 { return(*(int *)0); }
1162 #undef _nc_set_tty_mode_sp
1163 int _nc_set_tty_mode_sp(
1165 struct termios *buf)
1166 { return(*(int *)0); }
1168 #undef _nc_set_tty_mode
1169 int _nc_set_tty_mode(
1170 struct termios *buf)
1171 { return(*(int *)0); }
1173 #undef def_shell_mode_sp
1174 int def_shell_mode_sp(
1176 { return(*(int *)0); }
1178 #undef def_shell_mode
1179 int def_shell_mode(void)
1180 { return(*(int *)0); }
1182 #undef def_prog_mode_sp
1183 int def_prog_mode_sp(
1185 { return(*(int *)0); }
1187 #undef def_prog_mode
1188 int def_prog_mode(void)
1189 { return(*(int *)0); }
1191 #undef reset_prog_mode_sp
1192 int reset_prog_mode_sp(
1194 { return(*(int *)0); }
1196 #undef reset_prog_mode
1197 int reset_prog_mode(void)
1198 { return(*(int *)0); }
1200 #undef reset_shell_mode_sp
1201 int reset_shell_mode_sp(
1203 { return(*(int *)0); }
1205 #undef reset_shell_mode
1206 int reset_shell_mode(void)
1207 { return(*(int *)0); }
1212 { return(*(int *)0); }
1216 { return(*(int *)0); }
1221 { return(*(int *)0); }
1225 { return(*(int *)0); }
1227 /* ./tty/lib_twait.c */
1229 #undef _nc_timed_wait
1235 { return(*(int *)0); }
1237 /* ./tinfo/name_match.c */
1239 #undef _nc_first_name
1240 char *_nc_first_name(
1241 const char *const sp)
1242 { return(*(char **)0); }
1244 #undef _nc_name_match
1246 const char *const namelst,
1247 const char *const name,
1248 const char *const delim)
1249 { return(*(int *)0); }
1254 const char *const boolnames[] = {0};
1256 const char *const boolfnames[] = {0};
1258 const char *const numnames[] = {0};
1260 const char *const numfnames[] = {0};
1262 const char *const strnames[] = {0};
1264 const char *const strfnames[] = {0};
1266 /* ./tinfo/obsolete.c */
1268 #undef _nc_set_buffer_sp
1269 void _nc_set_buffer_sp(
1275 #undef _nc_set_buffer
1276 void _nc_set_buffer(
1281 /* ./tinfo/read_entry.c */
1283 #undef _nc_init_termtype
1284 void _nc_init_termtype(
1285 TERMTYPE2 *const tp)
1288 #undef _nc_read_termtype
1289 int _nc_read_termtype(
1293 { return(*(int *)0); }
1295 #undef _nc_read_file_entry
1296 int _nc_read_file_entry(
1297 const char *const filename,
1299 { return(*(int *)0); }
1301 #undef _nc_read_entry
1303 const char *const name,
1304 char *const filename,
1305 TERMTYPE2 *const tp)
1306 { return(*(int *)0); }
1308 /* ./tinfo/read_termcap.c */
1310 #undef _nc_read_termcap
1311 void _nc_read_termcap(void)
1314 /* ./tinfo/strings.c */
1317 string_desc *_nc_str_init(
1321 { return(*(string_desc **)0); }
1324 string_desc *_nc_str_null(
1327 { return(*(string_desc **)0); }
1330 string_desc *_nc_str_copy(
1333 { return(*(string_desc **)0); }
1335 #undef _nc_safe_strcat
1336 NCURSES_BOOL _nc_safe_strcat(
1339 { return(*(NCURSES_BOOL *)0); }
1341 #undef _nc_safe_strcpy
1342 NCURSES_BOOL _nc_safe_strcpy(
1345 { return(*(NCURSES_BOOL *)0); }
1347 /* ./trace/trace_buf.c */
1349 #undef _nc_trace_buf
1350 char *_nc_trace_buf(
1353 { return(*(char **)0); }
1355 #undef _nc_trace_bufcat
1356 char *_nc_trace_bufcat(
1359 { return(*(char **)0); }
1361 /* ./trace/trace_tries.c */
1363 #undef _nc_trace_tries
1364 void _nc_trace_tries(
1368 /* ./base/tries.c */
1370 #undef _nc_expand_try
1371 char *_nc_expand_try(
1376 { return(*(char **)0); }
1378 #undef _nc_remove_key
1382 { return(*(int *)0); }
1384 #undef _nc_remove_string
1385 int _nc_remove_string(
1388 { return(*(int *)0); }
1390 /* ./tinfo/trim_sgr0.c */
1392 #undef _nc_trim_sgr0
1393 char *_nc_trim_sgr0(
1395 { return(*(char **)0); }
1400 const char *unctrl_sp(
1403 { return(*(const char **)0); }
1408 { return(*(const char **)0); }
1410 /* ./trace/visbuf.c */
1413 const char *_nc_visbuf2(
1416 { return(*(const char **)0); }
1419 const char *_nc_visbuf(
1421 { return(*(const char **)0); }
1424 const char *_nc_visbufn(
1427 { return(*(const char **)0); }
1430 const char *_nc_viscbuf2(
1434 { return(*(const char **)0); }
1437 const char *_nc_viscbuf(
1440 { return(*(const char **)0); }
1442 /* ./base/define_key.c */
1444 #undef define_key_sp
1449 { return(*(int *)0); }
1455 { return(*(int *)0); }
1457 /* ./tinfo/hashed_db.c */
1459 #undef _nc_hashed_db
1460 void _nc_hashed_db(void)
1463 /* ./base/key_defined.c */
1465 #undef key_defined_sp
1469 { return(*(int *)0); }
1474 { return(*(int *)0); }
1476 /* ./base/keybound.c */
1483 { return(*(char **)0); }
1489 { return(*(char **)0); }
1491 /* ./base/keyok.c */
1498 { return(*(int *)0); }
1504 { return(*(int *)0); }
1506 /* ./base/version.c */
1508 #undef curses_version
1509 const char *curses_version(void)
1510 { return(*(const char **)0); }