1 /****************************************************************************
2 * Copyright (c) 2012-2013,2015 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 2012-on *
31 ****************************************************************************/
34 /* ./tinfo/access.c */
36 #include <curses.priv.h>
40 { return(*(char **)0); }
42 #undef _nc_is_abs_path
43 NCURSES_BOOL _nc_is_abs_path(
45 { return(*(NCURSES_BOOL *)0); }
48 unsigned _nc_pathlast(
50 { return(*(unsigned *)0); }
55 { return(*(char **)0); }
61 { return(*(int *)0); }
63 #undef _nc_is_dir_path
64 NCURSES_BOOL _nc_is_dir_path(
66 { return(*(NCURSES_BOOL *)0); }
68 #undef _nc_is_file_path
69 NCURSES_BOOL _nc_is_file_path(
71 { return(*(NCURSES_BOOL *)0); }
74 int _nc_env_access(void)
75 { return(*(int *)0); }
77 /* ./tinfo/add_tries.c */
84 { return(*(int *)0); }
86 /* ./tinfo/alloc_ttype.c */
88 #undef _nc_align_termtype
89 void _nc_align_termtype(
94 #undef _nc_copy_termtype
95 void _nc_copy_termtype(
103 const char *const *_nc_boolcodes(void)
104 { return(*(const char **)0); }
107 const char *const *_nc_numcodes(void)
108 { return(*(const char **)0); }
111 const char *const *_nc_strcodes(void)
112 { return(*(const char **)0); }
114 /* ./comp_captab.c */
117 const struct name_table_entry *_nc_get_table(
118 NCURSES_BOOL termcap)
119 { return(*(const struct name_table_entry **)0); }
121 #undef _nc_get_hash_table
122 const HashValue *_nc_get_hash_table(
123 NCURSES_BOOL termcap)
124 { return(*(const HashValue **)0); }
126 #undef _nc_get_alias_table
127 const struct alias *_nc_get_alias_table(
128 NCURSES_BOOL termcap)
129 { return(*(const struct alias **)0); }
131 #undef _nc_get_hash_info
132 const HashData *_nc_get_hash_info(
133 NCURSES_BOOL termcap)
134 { return(*(const HashData **)0); }
136 /* ./tinfo/comp_error.c */
138 #undef _nc_suppress_warnings
139 NCURSES_BOOL _nc_suppress_warnings;
145 #undef _nc_get_source
146 const char *_nc_get_source(void)
147 { return(*(const char **)0); }
149 #undef _nc_set_source
151 const char *const name)
156 const char *const name)
166 const char *const fmt,
172 const char *const fmt,
176 #undef _nc_syserr_abort
177 void _nc_syserr_abort(
178 const char *const fmt,
182 /* ./tinfo/comp_hash.c */
184 #undef _nc_find_entry
185 struct name_table_entry const *_nc_find_entry(
187 const HashValue *hash_table)
188 { return(*(struct name_table_entry const **)0); }
190 #undef _nc_find_type_entry
191 struct name_table_entry const *_nc_find_type_entry(
194 NCURSES_BOOL termcap)
195 { return(*(struct name_table_entry const **)0); }
197 /* ./tinfo/db_iterator.c */
200 const char *_nc_tic_dir(
202 { return(*(const char **)0); }
204 #undef _nc_keep_tic_dir
205 void _nc_keep_tic_dir(
210 void _nc_last_db(void)
214 const char *_nc_next_db(
217 { return(*(const char **)0); }
225 /* ./tinfo/doalloc.c */
231 { return(*(void **)0); }
233 /* ./tinfo/entries.c */
240 #undef _nc_free_entry
246 #undef _nc_free_entries
247 void _nc_free_entries(
251 #undef _nc_delink_entry
252 ENTRY *_nc_delink_entry(
255 { return(*(ENTRY **)0); }
257 #undef _nc_leaks_tinfo
258 void _nc_leaks_tinfo(void)
264 const TERMTYPE *_nc_fallback(
266 { return(*(const TERMTYPE **)0); }
268 /* ./tinfo/free_ttype.c */
270 #undef _nc_free_termtype
271 void _nc_free_termtype(
275 #undef _nc_user_definable
276 NCURSES_BOOL _nc_user_definable;
278 #undef use_extended_names
279 int use_extended_names(
281 { return(*(int *)0); }
283 /* ./tinfo/getenv_num.c */
285 #undef _nc_getenv_num
288 { return(*(int *)0); }
290 #undef _nc_setenv_num
296 /* ./tinfo/home_terminfo.c */
298 #undef _nc_home_terminfo
299 char *_nc_home_terminfo(void)
300 { return(*(char **)0); }
302 /* ./tinfo/init_keytry.c */
304 #undef _nc_init_keytry
305 void _nc_init_keytry(
309 /* ./tinfo/lib_acs.c */
312 chtype *_nc_acs_map(void)
313 { return(*(chtype **)0); }
315 #undef _nc_init_acs_sp
316 void _nc_init_acs_sp(
321 void _nc_init_acs(void)
324 /* ./tinfo/lib_baudrate.c */
334 { return(*(int *)0); }
339 { return(*(int *)0); }
344 { return(*(int *)0); }
348 { return(*(int *)0); }
350 /* ./tinfo/lib_cur_term.c */
352 #undef _nc_get_cur_term_sp
353 TERMINAL *_nc_get_cur_term_sp(
355 { return(*(TERMINAL **)0); }
357 #undef _nc_get_cur_term
358 TERMINAL *_nc_get_cur_term(void)
359 { return(*(TERMINAL **)0); }
362 TERMINAL *_nc_cur_term(void)
363 { return(*(TERMINAL **)0); }
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 */
390 WINDOW *_nc_stdscr(void)
391 { return(*(WINDOW **)0); }
394 WINDOW *_nc_curscr(void)
395 { return(*(WINDOW **)0); }
398 WINDOW *_nc_newscr(void)
399 { return(*(WINDOW **)0); }
401 #undef _nc_screen_chain
402 SCREEN *_nc_screen_chain;
406 NCURSES_GLOBALS _nc_globals;
408 NCURSES_PRESCREEN _nc_prescreen;
411 SCREEN *_nc_screen_of(
413 { return(*(SCREEN **)0); }
415 #undef _nc_init_pthreads
416 void _nc_init_pthreads(void)
419 #undef _nc_mutex_init
421 pthread_mutex_t *obj)
424 #undef _nc_mutex_lock
426 pthread_mutex_t *obj)
427 { return(*(int *)0); }
429 #undef _nc_mutex_trylock
430 int _nc_mutex_trylock(
431 pthread_mutex_t *obj)
432 { return(*(int *)0); }
434 #undef _nc_mutex_unlock
435 int _nc_mutex_unlock(
436 pthread_mutex_t *obj)
437 { return(*(int *)0); }
439 /* ./tinfo/lib_has_cap.c */
442 NCURSES_BOOL has_ic_sp(
444 { return(*(NCURSES_BOOL *)0); }
447 NCURSES_BOOL has_ic(void)
448 { return(*(NCURSES_BOOL *)0); }
451 NCURSES_BOOL has_il_sp(
453 { return(*(NCURSES_BOOL *)0); }
456 NCURSES_BOOL has_il(void)
457 { return(*(NCURSES_BOOL *)0); }
459 /* ./tinfo/lib_kernel.c */
464 { return(*(char *)0); }
468 { return(*(char *)0); }
473 { return(*(char *)0); }
477 { return(*(char *)0); }
482 { return(*(int *)0); }
486 { return(*(int *)0); }
488 /* ./lib_keyname.c */
490 struct kn { short offset; int code; };
493 const char *keyname_sp(
496 { return(*(const char **)0); }
501 { return(*(const char **)0); }
503 /* ./tinfo/lib_longname.c */
508 { return(*(char **)0); }
512 { return(*(char **)0); }
514 /* ./tinfo/lib_napms.c */
520 { return(*(int *)0); }
525 { return(*(int *)0); }
527 /* ./tinfo/lib_options.c */
533 { return(*(int *)0); }
545 { return(*(int *)0); }
550 { return(*(int *)0); }
556 { return(*(int *)0); }
562 { return(*(int *)0); }
574 { return(*(int *)0); }
580 { return(*(int *)0); }
586 { return(*(int *)0); }
591 { return(*(int *)0); }
597 { return(*(int *)0); }
602 { return(*(int *)0); }
608 { return(*(int *)0); }
613 { return(*(int *)0); }
615 #undef _nc_putp_flush_sp
616 int _nc_putp_flush_sp(
620 { return(*(int *)0); }
626 { return(*(int *)0); }
628 /* ./tinfo/lib_raw.c */
633 { return(*(int *)0); }
637 { return(*(int *)0); }
642 { return(*(int *)0); }
646 { return(*(int *)0); }
660 { return(*(int *)0); }
664 { return(*(int *)0); }
669 { return(*(int *)0); }
673 { return(*(int *)0); }
689 { return(*(int *)0); }
695 { return(*(int *)0); }
697 /* ./tinfo/lib_setup.c */
700 char *_nc_ttytype(void)
701 { return(*(char **)0); }
706 { return(*(int **)0); }
710 { return(*(int *)0); }
715 { return(*(int **)0); }
719 { return(*(int *)0); }
721 #undef _nc_ptr_Tabsize
722 int *_nc_ptr_Tabsize(
724 { return(*(int **)0); }
727 int _nc_TABSIZE(void)
728 { return(*(int *)0); }
730 #undef set_tabsize_sp
734 { return(*(int *)0); }
739 { return(*(int *)0); }
741 #undef _nc_handle_sigwinch
742 int _nc_handle_sigwinch(
744 { return(*(int *)0); }
768 #undef _nc_get_screensize
769 void _nc_get_screensize(
775 #undef _nc_update_screensize
776 void _nc_update_screensize(
780 #undef _nc_setup_tinfo
782 const char *const tn,
784 { return(*(int *)0); }
786 #undef _nc_tinfo_cmdch
787 void _nc_tinfo_cmdch(
792 #undef _nc_get_locale
793 char *_nc_get_locale(void)
794 { return(*(char **)0); }
796 #undef _nc_unicode_locale
797 int _nc_unicode_locale(void)
798 { return(*(int *)0); }
800 #undef _nc_locale_breaks_acs
801 int _nc_locale_breaks_acs(
803 { return(*(int *)0); }
811 { return(*(int *)0); }
814 SCREEN *new_prescr(void)
815 { return(*(SCREEN **)0); }
822 { return(*(int *)0); }
824 /* ./tinfo/lib_termcap.c */
836 { return(*(int *)0); }
842 { return(*(int *)0); }
848 { return(*(int *)0); }
853 { return(*(int *)0); }
859 { return(*(int *)0); }
864 { return(*(int *)0); }
871 { return(*(char **)0); }
877 { return(*(char **)0); }
879 /* ./tinfo/lib_termname.c */
884 { return(*(char **)0); }
888 { return(*(char **)0); }
890 /* ./tinfo/lib_tgoto.c */
897 { return(*(char **)0); }
899 /* ./tinfo/lib_ti.c */
905 { return(*(int *)0); }
910 { return(*(int *)0); }
916 { return(*(int *)0); }
921 { return(*(int *)0); }
927 { return(*(char **)0); }
932 { return(*(char **)0); }
934 /* ./tinfo/lib_tparm.c */
939 #undef _nc_tparm_analyze
940 int _nc_tparm_analyze(
944 { return(*(int *)0); }
950 { return(*(char **)0); }
956 { return(*(char **)0); }
958 /* ./tinfo/lib_tputs.c */
964 #undef _nc_nulls_sent
967 #undef _nc_set_no_padding
968 void _nc_set_no_padding(
972 #undef delay_output_sp
976 { return(*(int *)0); }
981 { return(*(int *)0); }
996 { return(*(int *)0); }
1001 { return(*(int *)0); }
1003 #undef _nc_putchar_sp
1007 { return(*(int *)0); }
1012 { return(*(int *)0); }
1018 { return(*(int *)0); }
1023 { return(*(int *)0); }
1030 { return(*(int *)0); }
1036 { return(*(int *)0); }
1043 NCURSES_OUTC_sp outc)
1044 { return(*(int *)0); }
1046 #undef _nc_outc_wrapper
1047 int _nc_outc_wrapper(
1050 { return(*(int *)0); }
1058 { return(*(int *)0); }
1060 /* ./trace/lib_trace.c */
1063 unsigned _nc_tracing;
1065 #undef _nc__nc_tputs_trace
1066 const char *_nc__nc_tputs_trace(void)
1067 { return(*(const char **)0); }
1069 #undef _nc__nc_outchars
1070 long _nc__nc_outchars(void)
1071 { return(*(long *)0); }
1073 #undef _nc_set_tputs_trace
1074 void _nc_set_tputs_trace(
1078 #undef _nc_count_outchars
1079 void _nc_count_outchars(
1085 const unsigned int tracelevel)
1094 #undef _nc_retrace_bool
1095 NCURSES_BOOL _nc_retrace_bool(
1097 { return(*(NCURSES_BOOL *)0); }
1099 #undef _nc_retrace_char
1100 char _nc_retrace_char(
1102 { return(*(char *)0); }
1104 #undef _nc_retrace_int
1105 int _nc_retrace_int(
1107 { return(*(int *)0); }
1109 #undef _nc_retrace_unsigned
1110 unsigned _nc_retrace_unsigned(
1112 { return(*(unsigned *)0); }
1114 #undef _nc_retrace_ptr
1115 char *_nc_retrace_ptr(
1117 { return(*(char **)0); }
1119 #undef _nc_retrace_cptr
1120 const char *_nc_retrace_cptr(
1122 { return(*(const char **)0); }
1124 #undef _nc_retrace_cvoid_ptr
1125 const void *_nc_retrace_cvoid_ptr(
1127 { return(*(const void **)0); }
1129 #undef _nc_retrace_void_ptr
1130 void *_nc_retrace_void_ptr(
1132 { return(*(void **)0); }
1134 #undef _nc_retrace_sp
1135 SCREEN *_nc_retrace_sp(
1137 { return(*(SCREEN **)0); }
1139 #undef _nc_retrace_win
1140 WINDOW *_nc_retrace_win(
1142 { return(*(WINDOW **)0); }
1144 #undef _nc_use_tracef
1147 { return(*(int *)0); }
1149 #undef _nc_locked_tracef
1150 void _nc_locked_tracef(
1155 /* ./trace/lib_traceatr.c */
1161 { return(*(char **)0); }
1166 { return(*(char **)0); }
1168 #undef _nc_retrace_int_attr_t
1169 int _nc_retrace_int_attr_t(
1171 { return(*(int *)0); }
1173 #undef _nc_retrace_attr_t
1174 attr_t _nc_retrace_attr_t(
1176 { return(*(attr_t *)0); }
1178 #undef _nc_altcharset_name
1179 const char *_nc_altcharset_name(
1182 { return(*(const char **)0); }
1184 #undef _tracechtype2
1185 char *_tracechtype2(
1188 { return(*(char **)0); }
1193 { return(*(char **)0); }
1195 #undef _nc_retrace_chtype
1196 chtype _nc_retrace_chtype(
1198 { return(*(chtype *)0); }
1200 #undef _tracecchar_t2
1201 char *_tracecchar_t2(
1204 { return(*(char **)0); }
1206 #undef _tracecchar_t
1207 char *_tracecchar_t(
1209 { return(*(char **)0); }
1211 /* ./trace/lib_tracebits.c */
1213 #undef _nc_trace_ttymode
1214 char *_nc_trace_ttymode(
1215 struct termios *tty)
1216 { return(*(char **)0); }
1218 #undef _nc_tracebits
1219 char *_nc_tracebits(void)
1220 { return(*(char **)0); }
1222 /* ./trace/lib_tracechr.c */
1224 #undef _nc_tracechar
1225 char *_nc_tracechar(
1228 { return(*(char **)0); }
1233 { return(*(char **)0); }
1235 /* ./tinfo/lib_ttyflags.c */
1237 #undef _nc_get_tty_mode_sp
1238 int _nc_get_tty_mode_sp(
1240 struct termios *buf)
1241 { return(*(int *)0); }
1243 #undef _nc_get_tty_mode
1244 int _nc_get_tty_mode(
1245 struct termios *buf)
1246 { return(*(int *)0); }
1248 #undef _nc_set_tty_mode_sp
1249 int _nc_set_tty_mode_sp(
1251 struct termios *buf)
1252 { return(*(int *)0); }
1254 #undef _nc_set_tty_mode
1255 int _nc_set_tty_mode(
1256 struct termios *buf)
1257 { return(*(int *)0); }
1259 #undef def_shell_mode_sp
1260 int def_shell_mode_sp(
1262 { return(*(int *)0); }
1264 #undef def_shell_mode
1265 int def_shell_mode(void)
1266 { return(*(int *)0); }
1268 #undef def_prog_mode_sp
1269 int def_prog_mode_sp(
1271 { return(*(int *)0); }
1273 #undef def_prog_mode
1274 int def_prog_mode(void)
1275 { return(*(int *)0); }
1277 #undef reset_prog_mode_sp
1278 int reset_prog_mode_sp(
1280 { return(*(int *)0); }
1282 #undef reset_prog_mode
1283 int reset_prog_mode(void)
1284 { return(*(int *)0); }
1286 #undef reset_shell_mode_sp
1287 int reset_shell_mode_sp(
1289 { return(*(int *)0); }
1291 #undef reset_shell_mode
1292 int reset_shell_mode(void)
1293 { return(*(int *)0); }
1298 { return(*(int *)0); }
1302 { return(*(int *)0); }
1307 { return(*(int *)0); }
1311 { return(*(int *)0); }
1313 /* ./tty/lib_twait.c */
1315 #undef _nc_timed_wait
1321 { return(*(int *)0); }
1323 /* ./tinfo/name_match.c */
1325 #undef _nc_first_name
1326 char *_nc_first_name(
1327 const char *const sp)
1328 { return(*(char **)0); }
1330 #undef _nc_name_match
1332 const char *const namelst,
1333 const char *const name,
1334 const char *const delim)
1335 { return(*(int *)0); }
1339 #undef _nc_boolnames
1340 const char *const *_nc_boolnames(void)
1341 { return(*(const char **)0); }
1343 #undef _nc_boolfnames
1344 const char *const *_nc_boolfnames(void)
1345 { return(*(const char **)0); }
1348 const char *const *_nc_numnames(void)
1349 { return(*(const char **)0); }
1351 #undef _nc_numfnames
1352 const char *const *_nc_numfnames(void)
1353 { return(*(const char **)0); }
1356 const char *const *_nc_strnames(void)
1357 { return(*(const char **)0); }
1359 #undef _nc_strfnames
1360 const char *const *_nc_strfnames(void)
1361 { return(*(const char **)0); }
1363 /* ./tinfo/obsolete.c */
1365 #undef _nc_set_buffer_sp
1366 void _nc_set_buffer_sp(
1372 #undef _nc_set_buffer
1373 void _nc_set_buffer(
1378 /* ./tinfo/read_entry.c */
1380 #undef _nc_init_termtype
1381 void _nc_init_termtype(
1385 #undef _nc_read_termtype
1386 int _nc_read_termtype(
1390 { return(*(int *)0); }
1392 #undef _nc_read_file_entry
1393 int _nc_read_file_entry(
1394 const char *const filename,
1396 { return(*(int *)0); }
1398 #undef _nc_read_entry
1400 const char *const name,
1401 char *const filename,
1403 { return(*(int *)0); }
1405 /* ./tinfo/read_termcap.c */
1407 #undef _nc_read_termcap
1408 void _nc_read_termcap(void)
1411 /* ./tinfo/strings.c */
1414 string_desc *_nc_str_init(
1418 { return(*(string_desc **)0); }
1421 string_desc *_nc_str_null(
1424 { return(*(string_desc **)0); }
1427 string_desc *_nc_str_copy(
1430 { return(*(string_desc **)0); }
1432 #undef _nc_safe_strcat
1433 NCURSES_BOOL _nc_safe_strcat(
1436 { return(*(NCURSES_BOOL *)0); }
1438 #undef _nc_safe_strcpy
1439 NCURSES_BOOL _nc_safe_strcpy(
1442 { return(*(NCURSES_BOOL *)0); }
1444 /* ./trace/trace_buf.c */
1446 #undef _nc_trace_buf
1447 char *_nc_trace_buf(
1450 { return(*(char **)0); }
1452 #undef _nc_trace_bufcat
1453 char *_nc_trace_bufcat(
1456 { return(*(char **)0); }
1458 /* ./trace/trace_tries.c */
1460 #undef _nc_trace_tries
1461 void _nc_trace_tries(
1465 /* ./base/tries.c */
1467 #undef _nc_expand_try
1468 char *_nc_expand_try(
1473 { return(*(char **)0); }
1475 #undef _nc_remove_key
1479 { return(*(int *)0); }
1481 #undef _nc_remove_string
1482 int _nc_remove_string(
1485 { return(*(int *)0); }
1487 /* ./tinfo/trim_sgr0.c */
1489 #undef _nc_trim_sgr0
1490 char *_nc_trim_sgr0(
1492 { return(*(char **)0); }
1497 const char *unctrl_sp(
1500 { return(*(const char **)0); }
1505 { return(*(const char **)0); }
1507 /* ./trace/visbuf.c */
1510 const char *_nc_visbuf2(
1513 { return(*(const char **)0); }
1516 const char *_nc_visbuf(
1518 { return(*(const char **)0); }
1521 const char *_nc_visbufn(
1524 { return(*(const char **)0); }
1527 const char *_nc_viswbuf2(
1530 { return(*(const char **)0); }
1533 const char *_nc_viswbuf(
1535 { return(*(const char **)0); }
1538 const char *_nc_viswbufn(
1541 { return(*(const char **)0); }
1544 const char *_nc_viswibuf(
1546 { return(*(const char **)0); }
1549 const char *_nc_viscbuf2(
1553 { return(*(const char **)0); }
1556 const char *_nc_viscbuf(
1559 { return(*(const char **)0); }
1561 /* ./base/define_key.c */
1563 #undef define_key_sp
1568 { return(*(int *)0); }
1574 { return(*(int *)0); }
1576 /* ./tinfo/hashed_db.c */
1578 #undef _nc_hashed_db
1579 void _nc_hashed_db(void)
1582 /* ./base/key_defined.c */
1584 #undef key_defined_sp
1588 { return(*(int *)0); }
1593 { return(*(int *)0); }
1595 /* ./base/keybound.c */
1602 { return(*(char **)0); }
1608 { return(*(char **)0); }
1610 /* ./base/keyok.c */
1617 { return(*(int *)0); }
1623 { return(*(int *)0); }
1625 /* ./base/version.c */
1627 #undef curses_version
1628 const char *curses_version(void)
1629 { return(*(const char **)0); }