1 /****************************************************************************
2 * Copyright (c) 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 2013-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 /* ./trace/lib_tracebits.c */
1202 #undef _nc_trace_ttymode
1203 char *_nc_trace_ttymode(
1204 struct termios *tty)
1205 { return(*(char **)0); }
1207 #undef _nc_tracebits
1208 char *_nc_tracebits(void)
1209 { return(*(char **)0); }
1211 /* ./trace/lib_tracechr.c */
1213 #undef _nc_tracechar
1214 char *_nc_tracechar(
1217 { return(*(char **)0); }
1222 { return(*(char **)0); }
1224 /* ./tinfo/lib_ttyflags.c */
1226 #undef _nc_get_tty_mode_sp
1227 int _nc_get_tty_mode_sp(
1229 struct termios *buf)
1230 { return(*(int *)0); }
1232 #undef _nc_get_tty_mode
1233 int _nc_get_tty_mode(
1234 struct termios *buf)
1235 { return(*(int *)0); }
1237 #undef _nc_set_tty_mode_sp
1238 int _nc_set_tty_mode_sp(
1240 struct termios *buf)
1241 { return(*(int *)0); }
1243 #undef _nc_set_tty_mode
1244 int _nc_set_tty_mode(
1245 struct termios *buf)
1246 { return(*(int *)0); }
1248 #undef def_shell_mode_sp
1249 int def_shell_mode_sp(
1251 { return(*(int *)0); }
1253 #undef def_shell_mode
1254 int def_shell_mode(void)
1255 { return(*(int *)0); }
1257 #undef def_prog_mode_sp
1258 int def_prog_mode_sp(
1260 { return(*(int *)0); }
1262 #undef def_prog_mode
1263 int def_prog_mode(void)
1264 { return(*(int *)0); }
1266 #undef reset_prog_mode_sp
1267 int reset_prog_mode_sp(
1269 { return(*(int *)0); }
1271 #undef reset_prog_mode
1272 int reset_prog_mode(void)
1273 { return(*(int *)0); }
1275 #undef reset_shell_mode_sp
1276 int reset_shell_mode_sp(
1278 { return(*(int *)0); }
1280 #undef reset_shell_mode
1281 int reset_shell_mode(void)
1282 { return(*(int *)0); }
1287 { return(*(int *)0); }
1291 { return(*(int *)0); }
1296 { return(*(int *)0); }
1300 { return(*(int *)0); }
1302 /* ./tty/lib_twait.c */
1304 #undef _nc_timed_wait
1310 { return(*(int *)0); }
1312 /* ./tinfo/name_match.c */
1314 #undef _nc_first_name
1315 char *_nc_first_name(
1316 const char *const sp)
1317 { return(*(char **)0); }
1319 #undef _nc_name_match
1321 const char *const namelst,
1322 const char *const name,
1323 const char *const delim)
1324 { return(*(int *)0); }
1328 #undef _nc_boolnames
1329 const char *const *_nc_boolnames(void)
1330 { return(*(const char **)0); }
1332 #undef _nc_boolfnames
1333 const char *const *_nc_boolfnames(void)
1334 { return(*(const char **)0); }
1337 const char *const *_nc_numnames(void)
1338 { return(*(const char **)0); }
1340 #undef _nc_numfnames
1341 const char *const *_nc_numfnames(void)
1342 { return(*(const char **)0); }
1345 const char *const *_nc_strnames(void)
1346 { return(*(const char **)0); }
1348 #undef _nc_strfnames
1349 const char *const *_nc_strfnames(void)
1350 { return(*(const char **)0); }
1352 /* ./tinfo/obsolete.c */
1354 #undef _nc_set_buffer_sp
1355 void _nc_set_buffer_sp(
1361 #undef _nc_set_buffer
1362 void _nc_set_buffer(
1367 /* ./tinfo/read_entry.c */
1369 #undef _nc_init_termtype
1370 void _nc_init_termtype(
1374 #undef _nc_read_termtype
1375 int _nc_read_termtype(
1379 { return(*(int *)0); }
1381 #undef _nc_read_file_entry
1382 int _nc_read_file_entry(
1383 const char *const filename,
1385 { return(*(int *)0); }
1387 #undef _nc_read_entry
1389 const char *const name,
1390 char *const filename,
1392 { return(*(int *)0); }
1394 /* ./tinfo/read_termcap.c */
1396 #undef _nc_read_termcap
1397 void _nc_read_termcap(void)
1400 /* ./tinfo/strings.c */
1403 string_desc *_nc_str_init(
1407 { return(*(string_desc **)0); }
1410 string_desc *_nc_str_null(
1413 { return(*(string_desc **)0); }
1416 string_desc *_nc_str_copy(
1419 { return(*(string_desc **)0); }
1421 #undef _nc_safe_strcat
1422 NCURSES_BOOL _nc_safe_strcat(
1425 { return(*(NCURSES_BOOL *)0); }
1427 #undef _nc_safe_strcpy
1428 NCURSES_BOOL _nc_safe_strcpy(
1431 { return(*(NCURSES_BOOL *)0); }
1433 /* ./trace/trace_buf.c */
1435 #undef _nc_trace_buf
1436 char *_nc_trace_buf(
1439 { return(*(char **)0); }
1441 #undef _nc_trace_bufcat
1442 char *_nc_trace_bufcat(
1445 { return(*(char **)0); }
1447 /* ./trace/trace_tries.c */
1449 #undef _nc_trace_tries
1450 void _nc_trace_tries(
1454 /* ./base/tries.c */
1456 #undef _nc_expand_try
1457 char *_nc_expand_try(
1462 { return(*(char **)0); }
1464 #undef _nc_remove_key
1468 { return(*(int *)0); }
1470 #undef _nc_remove_string
1471 int _nc_remove_string(
1474 { return(*(int *)0); }
1476 /* ./tinfo/trim_sgr0.c */
1478 #undef _nc_trim_sgr0
1479 char *_nc_trim_sgr0(
1481 { return(*(char **)0); }
1486 const char *unctrl_sp(
1489 { return(*(const char **)0); }
1494 { return(*(const char **)0); }
1496 /* ./trace/visbuf.c */
1499 const char *_nc_visbuf2(
1502 { return(*(const char **)0); }
1505 const char *_nc_visbuf(
1507 { return(*(const char **)0); }
1510 const char *_nc_visbufn(
1513 { return(*(const char **)0); }
1516 const char *_nc_viscbuf2(
1520 { return(*(const char **)0); }
1523 const char *_nc_viscbuf(
1526 { return(*(const char **)0); }
1528 /* ./base/define_key.c */
1530 #undef define_key_sp
1535 { return(*(int *)0); }
1541 { return(*(int *)0); }
1543 /* ./tinfo/hashed_db.c */
1545 #undef _nc_hashed_db
1546 void _nc_hashed_db(void)
1549 /* ./base/key_defined.c */
1551 #undef key_defined_sp
1555 { return(*(int *)0); }
1560 { return(*(int *)0); }
1562 /* ./base/keybound.c */
1569 { return(*(char **)0); }
1575 { return(*(char **)0); }
1577 /* ./base/keyok.c */
1584 { return(*(int *)0); }
1590 { return(*(int *)0); }
1592 /* ./base/version.c */
1594 #undef curses_version
1595 const char *curses_version(void)
1596 { return(*(const char **)0); }