1 /****************************************************************************
2 * Copyright (c) 2013-2016,2017 Free Software Foundation, Inc. *
4 * Permission is hereby granted, free of charge, to any person obtaining a *
5 * copy of this software and associated documentation files (the *
6 * "Software"), to deal in the Software without restriction, including *
7 * without limitation the rights to use, copy, modify, merge, publish, *
8 * distribute, distribute with modifications, sublicense, and/or sell *
9 * copies of the Software, and to permit persons to whom the Software is *
10 * furnished to do so, subject to the following conditions: *
12 * The above copyright notice and this permission notice shall be included *
13 * in all copies or substantial portions of the Software. *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
16 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
18 * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
19 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
20 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
21 * THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
23 * Except as contained in this notice, the name(s) of the above copyright *
24 * holders shall not be used in advertising or otherwise to promote the *
25 * sale, use or other dealings in this Software without prior written *
27 ****************************************************************************/
29 /****************************************************************************
30 * Author: Thomas E. Dickey 2013-on *
31 ****************************************************************************/
34 /* ./tinfo/access.c */
36 #include <curses.priv.h>
41 { return(*(char **)0); }
43 #undef _nc_is_abs_path
44 NCURSES_BOOL _nc_is_abs_path(
46 { return(*(NCURSES_BOOL *)0); }
49 unsigned _nc_pathlast(
51 { return(*(unsigned *)0); }
56 { return(*(char **)0); }
62 { return(*(int *)0); }
64 #undef _nc_is_dir_path
65 NCURSES_BOOL _nc_is_dir_path(
67 { return(*(NCURSES_BOOL *)0); }
69 #undef _nc_is_file_path
70 NCURSES_BOOL _nc_is_file_path(
72 { return(*(NCURSES_BOOL *)0); }
75 int _nc_env_access(void)
76 { return(*(int *)0); }
78 /* ./tinfo/add_tries.c */
85 { return(*(int *)0); }
87 /* ./tinfo/alloc_ttype.c */
89 #undef _nc_align_termtype
90 void _nc_align_termtype(
95 #undef _nc_copy_termtype
96 void _nc_copy_termtype(
104 const char *const *_nc_boolcodes(void)
105 { return(*(const char **)0); }
108 const char *const *_nc_numcodes(void)
109 { return(*(const char **)0); }
112 const char *const *_nc_strcodes(void)
113 { return(*(const char **)0); }
115 /* ./comp_captab.c */
118 const struct name_table_entry *_nc_get_table(
119 NCURSES_BOOL termcap)
120 { return(*(const struct name_table_entry **)0); }
122 #undef _nc_get_hash_table
123 const HashValue *_nc_get_hash_table(
124 NCURSES_BOOL termcap)
125 { return(*(const HashValue **)0); }
127 #undef _nc_get_alias_table
128 const struct alias *_nc_get_alias_table(
129 NCURSES_BOOL termcap)
130 { return(*(const struct alias **)0); }
132 #undef _nc_get_hash_info
133 const HashData *_nc_get_hash_info(
134 NCURSES_BOOL termcap)
135 { return(*(const HashData **)0); }
137 /* ./tinfo/comp_error.c */
139 #undef _nc_suppress_warnings
140 NCURSES_BOOL _nc_suppress_warnings;
146 #undef _nc_get_source
147 const char *_nc_get_source(void)
148 { return(*(const char **)0); }
150 #undef _nc_set_source
152 const char *const name)
157 const char *const name)
167 const char *const fmt,
173 const char *const fmt,
177 #undef _nc_syserr_abort
178 void _nc_syserr_abort(
179 const char *const fmt,
183 /* ./tinfo/comp_hash.c */
185 #undef _nc_find_entry
186 struct name_table_entry const *_nc_find_entry(
188 const HashValue *hash_table)
189 { return(*(struct name_table_entry const **)0); }
191 #undef _nc_find_type_entry
192 struct name_table_entry const *_nc_find_type_entry(
195 NCURSES_BOOL termcap)
196 { return(*(struct name_table_entry const **)0); }
198 /* ./tinfo/db_iterator.c */
201 const char *_nc_tic_dir(
203 { return(*(const char **)0); }
205 #undef _nc_keep_tic_dir
206 void _nc_keep_tic_dir(
211 void _nc_last_db(void)
215 const char *_nc_next_db(
218 { return(*(const char **)0); }
226 /* ./tinfo/doalloc.c */
232 { return(*(void **)0); }
234 /* ./tinfo/entries.c */
241 #undef _nc_free_entry
247 #undef _nc_free_entries
248 void _nc_free_entries(
252 #undef _nc_leaks_tinfo
253 void _nc_leaks_tinfo(void)
259 const TERMTYPE2 *_nc_fallback(
261 { return(*(const TERMTYPE2 **)0); }
263 /* ./tinfo/free_ttype.c */
265 #undef _nc_free_termtype
266 void _nc_free_termtype(
270 #undef _nc_user_definable
271 NCURSES_BOOL _nc_user_definable;
273 #undef use_extended_names
274 int use_extended_names(
276 { return(*(int *)0); }
278 /* ./tinfo/getenv_num.c */
280 #undef _nc_getenv_num
283 { return(*(int *)0); }
285 #undef _nc_setenv_num
291 /* ./tinfo/home_terminfo.c */
293 #undef _nc_home_terminfo
294 char *_nc_home_terminfo(void)
295 { return(*(char **)0); }
297 /* ./tinfo/init_keytry.c */
299 #undef _nc_init_keytry
300 void _nc_init_keytry(
304 /* ./tinfo/lib_acs.c */
307 chtype *_nc_acs_map(void)
308 { return(*(chtype **)0); }
310 #undef _nc_init_acs_sp
311 void _nc_init_acs_sp(
316 void _nc_init_acs(void)
319 /* ./tinfo/lib_baudrate.c */
329 { return(*(int *)0); }
334 { return(*(int *)0); }
339 { return(*(int *)0); }
343 { return(*(int *)0); }
345 /* ./tinfo/lib_cur_term.c */
347 #undef _nc_get_cur_term_sp
348 TERMINAL *_nc_get_cur_term_sp(
350 { return(*(TERMINAL **)0); }
352 #undef _nc_get_cur_term
353 TERMINAL *_nc_get_cur_term(void)
354 { return(*(TERMINAL **)0); }
357 TERMINAL *_nc_cur_term(void)
358 { return(*(TERMINAL **)0); }
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 */
385 WINDOW *_nc_stdscr(void)
386 { return(*(WINDOW **)0); }
389 WINDOW *_nc_curscr(void)
390 { return(*(WINDOW **)0); }
393 WINDOW *_nc_newscr(void)
394 { return(*(WINDOW **)0); }
396 #undef _nc_screen_chain
397 SCREEN *_nc_screen_chain;
401 NCURSES_GLOBALS _nc_globals;
403 NCURSES_PRESCREEN _nc_prescreen;
406 SCREEN *_nc_screen_of(
408 { return(*(SCREEN **)0); }
410 #undef _nc_init_pthreads
411 void _nc_init_pthreads(void)
414 #undef _nc_mutex_init
416 pthread_mutex_t *obj)
419 #undef _nc_mutex_lock
421 pthread_mutex_t *obj)
422 { return(*(int *)0); }
424 #undef _nc_mutex_trylock
425 int _nc_mutex_trylock(
426 pthread_mutex_t *obj)
427 { return(*(int *)0); }
429 #undef _nc_mutex_unlock
430 int _nc_mutex_unlock(
431 pthread_mutex_t *obj)
432 { return(*(int *)0); }
434 /* ./tinfo/lib_has_cap.c */
437 NCURSES_BOOL has_ic_sp(
439 { return(*(NCURSES_BOOL *)0); }
442 NCURSES_BOOL has_ic(void)
443 { return(*(NCURSES_BOOL *)0); }
446 NCURSES_BOOL has_il_sp(
448 { return(*(NCURSES_BOOL *)0); }
451 NCURSES_BOOL has_il(void)
452 { return(*(NCURSES_BOOL *)0); }
454 /* ./tinfo/lib_kernel.c */
459 { return(*(char *)0); }
463 { return(*(char *)0); }
468 { return(*(char *)0); }
472 { return(*(char *)0); }
477 { return(*(int *)0); }
481 { return(*(int *)0); }
483 /* ./lib_keyname.c */
485 struct kn { short offset; int code; };
488 const char *keyname_sp(
491 { return(*(const char **)0); }
496 { return(*(const char **)0); }
498 /* ./tinfo/lib_longname.c */
503 { return(*(char **)0); }
507 { return(*(char **)0); }
509 /* ./tinfo/lib_napms.c */
515 { return(*(int *)0); }
520 { return(*(int *)0); }
522 /* ./tinfo/lib_options.c */
528 { return(*(int *)0); }
540 { return(*(int *)0); }
545 { return(*(int *)0); }
551 { return(*(int *)0); }
557 { return(*(int *)0); }
569 { return(*(int *)0); }
575 { return(*(int *)0); }
581 { return(*(int *)0); }
586 { return(*(int *)0); }
592 { return(*(int *)0); }
597 { return(*(int *)0); }
603 { return(*(int *)0); }
608 { return(*(int *)0); }
610 #undef _nc_putp_flush_sp
611 int _nc_putp_flush_sp(
615 { return(*(int *)0); }
621 { return(*(int *)0); }
623 /* ./tinfo/lib_raw.c */
628 { return(*(int *)0); }
632 { return(*(int *)0); }
637 { return(*(int *)0); }
641 { return(*(int *)0); }
655 { return(*(int *)0); }
659 { return(*(int *)0); }
664 { return(*(int *)0); }
668 { return(*(int *)0); }
684 { return(*(int *)0); }
690 { return(*(int *)0); }
692 /* ./tinfo/lib_setup.c */
695 char *_nc_ttytype(void)
696 { return(*(char **)0); }
701 { return(*(int **)0); }
705 { return(*(int *)0); }
710 { return(*(int **)0); }
714 { return(*(int *)0); }
716 #undef _nc_ptr_Tabsize
717 int *_nc_ptr_Tabsize(
719 { return(*(int **)0); }
722 int _nc_TABSIZE(void)
723 { return(*(int *)0); }
725 #undef set_tabsize_sp
729 { return(*(int *)0); }
734 { return(*(int *)0); }
736 #undef _nc_handle_sigwinch
737 int _nc_handle_sigwinch(
739 { return(*(int *)0); }
763 #undef _nc_get_screensize
764 void _nc_get_screensize(
770 #undef _nc_update_screensize
771 void _nc_update_screensize(
775 #undef _nc_setup_tinfo
777 const char *const tn,
779 { return(*(int *)0); }
781 #undef _nc_tinfo_cmdch
782 void _nc_tinfo_cmdch(
787 #undef _nc_get_locale
788 char *_nc_get_locale(void)
789 { return(*(char **)0); }
791 #undef _nc_unicode_locale
792 int _nc_unicode_locale(void)
793 { return(*(int *)0); }
795 #undef _nc_locale_breaks_acs
796 int _nc_locale_breaks_acs(
798 { return(*(int *)0); }
806 { return(*(int *)0); }
808 #undef _nc_find_prescr
809 SCREEN *_nc_find_prescr(void)
810 { return(*(SCREEN **)0); }
812 #undef _nc_forget_prescr
813 void _nc_forget_prescr(void)
817 SCREEN *new_prescr(void)
818 { return(*(SCREEN **)0); }
825 { return(*(int *)0); }
827 /* ./tinfo/lib_termcap.c */
839 { return(*(int *)0); }
845 { return(*(int *)0); }
851 { return(*(int *)0); }
856 { return(*(int *)0); }
862 { return(*(int *)0); }
867 { return(*(int *)0); }
874 { return(*(char **)0); }
880 { return(*(char **)0); }
882 /* ./tinfo/lib_termname.c */
887 { return(*(char **)0); }
891 { return(*(char **)0); }
893 /* ./tinfo/lib_tgoto.c */
900 { return(*(char **)0); }
902 /* ./tinfo/lib_ti.c */
908 { return(*(int *)0); }
913 { return(*(int *)0); }
919 { return(*(int *)0); }
924 { return(*(int *)0); }
930 { return(*(char **)0); }
935 { return(*(char **)0); }
937 /* ./tinfo/lib_tparm.c */
942 #undef _nc_tparm_analyze
943 int _nc_tparm_analyze(
947 { return(*(int *)0); }
953 { return(*(char **)0); }
959 { return(*(char **)0); }
961 /* ./tinfo/lib_tputs.c */
967 #undef _nc_nulls_sent
970 #undef _nc_set_no_padding
971 void _nc_set_no_padding(
975 #undef delay_output_sp
979 { return(*(int *)0); }
984 { return(*(int *)0); }
999 { return(*(int *)0); }
1004 { return(*(int *)0); }
1006 #undef _nc_putchar_sp
1010 { return(*(int *)0); }
1015 { return(*(int *)0); }
1021 { return(*(int *)0); }
1026 { return(*(int *)0); }
1033 { return(*(int *)0); }
1039 { return(*(int *)0); }
1046 NCURSES_OUTC_sp outc)
1047 { return(*(int *)0); }
1049 #undef _nc_outc_wrapper
1050 int _nc_outc_wrapper(
1053 { return(*(int *)0); }
1061 { return(*(int *)0); }
1063 /* ./trace/lib_trace.c */
1066 unsigned _nc_tracing;
1068 #undef _nc__nc_tputs_trace
1069 const char *_nc__nc_tputs_trace(void)
1070 { return(*(const char **)0); }
1072 #undef _nc__nc_outchars
1073 long _nc__nc_outchars(void)
1074 { return(*(long *)0); }
1076 #undef _nc_set_tputs_trace
1077 void _nc_set_tputs_trace(
1081 #undef _nc_count_outchars
1082 void _nc_count_outchars(
1088 const unsigned int tracelevel)
1097 #undef _nc_retrace_bool
1098 NCURSES_BOOL _nc_retrace_bool(
1100 { return(*(NCURSES_BOOL *)0); }
1102 #undef _nc_retrace_char
1103 char _nc_retrace_char(
1105 { return(*(char *)0); }
1107 #undef _nc_retrace_int
1108 int _nc_retrace_int(
1110 { return(*(int *)0); }
1112 #undef _nc_retrace_unsigned
1113 unsigned _nc_retrace_unsigned(
1115 { return(*(unsigned *)0); }
1117 #undef _nc_retrace_ptr
1118 char *_nc_retrace_ptr(
1120 { return(*(char **)0); }
1122 #undef _nc_retrace_cptr
1123 const char *_nc_retrace_cptr(
1125 { return(*(const char **)0); }
1127 #undef _nc_retrace_cvoid_ptr
1128 const void *_nc_retrace_cvoid_ptr(
1130 { return(*(const void **)0); }
1132 #undef _nc_retrace_void_ptr
1133 void *_nc_retrace_void_ptr(
1135 { return(*(void **)0); }
1137 #undef _nc_retrace_sp
1138 SCREEN *_nc_retrace_sp(
1140 { return(*(SCREEN **)0); }
1142 #undef _nc_retrace_win
1143 WINDOW *_nc_retrace_win(
1145 { return(*(WINDOW **)0); }
1147 #undef _nc_use_tracef
1150 { return(*(int *)0); }
1152 #undef _nc_locked_tracef
1153 void _nc_locked_tracef(
1158 /* ./trace/lib_traceatr.c */
1164 { return(*(char **)0); }
1169 { return(*(char **)0); }
1171 #undef _nc_retrace_int_attr_t
1172 int _nc_retrace_int_attr_t(
1174 { return(*(int *)0); }
1176 #undef _nc_retrace_attr_t
1177 attr_t _nc_retrace_attr_t(
1179 { return(*(attr_t *)0); }
1181 #undef _nc_altcharset_name
1182 const char *_nc_altcharset_name(
1185 { return(*(const char **)0); }
1187 #undef _tracechtype2
1188 char *_tracechtype2(
1191 { return(*(char **)0); }
1196 { return(*(char **)0); }
1198 #undef _nc_retrace_chtype
1199 chtype _nc_retrace_chtype(
1201 { return(*(chtype *)0); }
1203 /* ./trace/lib_tracebits.c */
1205 #undef _nc_trace_ttymode
1206 char *_nc_trace_ttymode(
1207 struct termios *tty)
1208 { return(*(char **)0); }
1210 #undef _nc_tracebits
1211 char *_nc_tracebits(void)
1212 { return(*(char **)0); }
1214 /* ./trace/lib_tracechr.c */
1216 #undef _nc_tracechar
1217 char *_nc_tracechar(
1220 { return(*(char **)0); }
1225 { return(*(char **)0); }
1227 /* ./tinfo/lib_ttyflags.c */
1229 #undef _nc_get_tty_mode_sp
1230 int _nc_get_tty_mode_sp(
1232 struct termios *buf)
1233 { return(*(int *)0); }
1235 #undef _nc_get_tty_mode
1236 int _nc_get_tty_mode(
1237 struct termios *buf)
1238 { return(*(int *)0); }
1240 #undef _nc_set_tty_mode_sp
1241 int _nc_set_tty_mode_sp(
1243 struct termios *buf)
1244 { return(*(int *)0); }
1246 #undef _nc_set_tty_mode
1247 int _nc_set_tty_mode(
1248 struct termios *buf)
1249 { return(*(int *)0); }
1251 #undef def_shell_mode_sp
1252 int def_shell_mode_sp(
1254 { return(*(int *)0); }
1256 #undef def_shell_mode
1257 int def_shell_mode(void)
1258 { return(*(int *)0); }
1260 #undef def_prog_mode_sp
1261 int def_prog_mode_sp(
1263 { return(*(int *)0); }
1265 #undef def_prog_mode
1266 int def_prog_mode(void)
1267 { return(*(int *)0); }
1269 #undef reset_prog_mode_sp
1270 int reset_prog_mode_sp(
1272 { return(*(int *)0); }
1274 #undef reset_prog_mode
1275 int reset_prog_mode(void)
1276 { return(*(int *)0); }
1278 #undef reset_shell_mode_sp
1279 int reset_shell_mode_sp(
1281 { return(*(int *)0); }
1283 #undef reset_shell_mode
1284 int reset_shell_mode(void)
1285 { return(*(int *)0); }
1290 { return(*(int *)0); }
1294 { return(*(int *)0); }
1299 { return(*(int *)0); }
1303 { return(*(int *)0); }
1305 /* ./tty/lib_twait.c */
1307 #undef _nc_timed_wait
1313 { return(*(int *)0); }
1315 /* ./tinfo/name_match.c */
1317 #undef _nc_first_name
1318 char *_nc_first_name(
1319 const char *const sp)
1320 { return(*(char **)0); }
1322 #undef _nc_name_match
1324 const char *const namelst,
1325 const char *const name,
1326 const char *const delim)
1327 { return(*(int *)0); }
1331 #undef _nc_boolnames
1332 const char *const *_nc_boolnames(void)
1333 { return(*(const char **)0); }
1335 #undef _nc_boolfnames
1336 const char *const *_nc_boolfnames(void)
1337 { return(*(const char **)0); }
1340 const char *const *_nc_numnames(void)
1341 { return(*(const char **)0); }
1343 #undef _nc_numfnames
1344 const char *const *_nc_numfnames(void)
1345 { return(*(const char **)0); }
1348 const char *const *_nc_strnames(void)
1349 { return(*(const char **)0); }
1351 #undef _nc_strfnames
1352 const char *const *_nc_strfnames(void)
1353 { return(*(const char **)0); }
1355 /* ./tinfo/obsolete.c */
1357 #undef _nc_set_buffer_sp
1358 void _nc_set_buffer_sp(
1364 #undef _nc_set_buffer
1365 void _nc_set_buffer(
1370 /* ./tinfo/read_entry.c */
1372 #undef _nc_init_termtype
1373 void _nc_init_termtype(
1374 TERMTYPE2 *const tp)
1377 #undef _nc_read_termtype
1378 int _nc_read_termtype(
1382 { return(*(int *)0); }
1384 #undef _nc_read_file_entry
1385 int _nc_read_file_entry(
1386 const char *const filename,
1388 { return(*(int *)0); }
1390 #undef _nc_read_entry
1392 const char *const name,
1393 char *const filename,
1394 TERMTYPE2 *const tp)
1395 { return(*(int *)0); }
1397 /* ./tinfo/read_termcap.c */
1399 #undef _nc_read_termcap
1400 void _nc_read_termcap(void)
1403 /* ./tinfo/strings.c */
1406 string_desc *_nc_str_init(
1410 { return(*(string_desc **)0); }
1413 string_desc *_nc_str_null(
1416 { return(*(string_desc **)0); }
1419 string_desc *_nc_str_copy(
1422 { return(*(string_desc **)0); }
1424 #undef _nc_safe_strcat
1425 NCURSES_BOOL _nc_safe_strcat(
1428 { return(*(NCURSES_BOOL *)0); }
1430 #undef _nc_safe_strcpy
1431 NCURSES_BOOL _nc_safe_strcpy(
1434 { return(*(NCURSES_BOOL *)0); }
1436 /* ./trace/trace_buf.c */
1438 #undef _nc_trace_buf
1439 char *_nc_trace_buf(
1442 { return(*(char **)0); }
1444 #undef _nc_trace_bufcat
1445 char *_nc_trace_bufcat(
1448 { return(*(char **)0); }
1450 /* ./trace/trace_tries.c */
1452 #undef _nc_trace_tries
1453 void _nc_trace_tries(
1457 /* ./base/tries.c */
1459 #undef _nc_expand_try
1460 char *_nc_expand_try(
1465 { return(*(char **)0); }
1467 #undef _nc_remove_key
1471 { return(*(int *)0); }
1473 #undef _nc_remove_string
1474 int _nc_remove_string(
1477 { return(*(int *)0); }
1479 /* ./tinfo/trim_sgr0.c */
1481 #undef _nc_trim_sgr0
1482 char *_nc_trim_sgr0(
1484 { return(*(char **)0); }
1489 const char *unctrl_sp(
1492 { return(*(const char **)0); }
1497 { return(*(const char **)0); }
1499 /* ./trace/visbuf.c */
1502 const char *_nc_visbuf2(
1505 { return(*(const char **)0); }
1508 const char *_nc_visbuf(
1510 { return(*(const char **)0); }
1513 const char *_nc_visbufn(
1516 { return(*(const char **)0); }
1519 const char *_nc_viscbuf2(
1523 { return(*(const char **)0); }
1526 const char *_nc_viscbuf(
1529 { return(*(const char **)0); }
1531 /* ./base/define_key.c */
1533 #undef define_key_sp
1538 { return(*(int *)0); }
1544 { return(*(int *)0); }
1546 /* ./tinfo/hashed_db.c */
1548 #undef _nc_hashed_db
1549 void _nc_hashed_db(void)
1552 /* ./base/key_defined.c */
1554 #undef key_defined_sp
1558 { return(*(int *)0); }
1563 { return(*(int *)0); }
1565 /* ./base/keybound.c */
1572 { return(*(char **)0); }
1578 { return(*(char **)0); }
1580 /* ./base/keyok.c */
1587 { return(*(int *)0); }
1593 { return(*(int *)0); }
1595 /* ./base/version.c */
1597 #undef curses_version
1598 const char *curses_version(void)
1599 { return(*(const char **)0); }