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); }
809 SCREEN *new_prescr(void)
810 { return(*(SCREEN **)0); }
817 { return(*(int *)0); }
819 /* ./tinfo/lib_termcap.c */
831 { return(*(int *)0); }
837 { return(*(int *)0); }
843 { return(*(int *)0); }
848 { return(*(int *)0); }
854 { return(*(int *)0); }
859 { return(*(int *)0); }
866 { return(*(char **)0); }
872 { return(*(char **)0); }
874 /* ./tinfo/lib_termname.c */
879 { return(*(char **)0); }
883 { return(*(char **)0); }
885 /* ./tinfo/lib_tgoto.c */
892 { return(*(char **)0); }
894 /* ./tinfo/lib_ti.c */
900 { return(*(int *)0); }
905 { return(*(int *)0); }
911 { return(*(int *)0); }
916 { return(*(int *)0); }
922 { return(*(char **)0); }
927 { return(*(char **)0); }
929 /* ./tinfo/lib_tparm.c */
934 #undef _nc_tparm_analyze
935 int _nc_tparm_analyze(
939 { return(*(int *)0); }
945 { return(*(char **)0); }
951 { return(*(char **)0); }
953 /* ./tinfo/lib_tputs.c */
959 #undef _nc_nulls_sent
962 #undef _nc_set_no_padding
963 void _nc_set_no_padding(
967 #undef delay_output_sp
971 { return(*(int *)0); }
976 { return(*(int *)0); }
991 { return(*(int *)0); }
996 { return(*(int *)0); }
998 #undef _nc_putchar_sp
1002 { return(*(int *)0); }
1007 { return(*(int *)0); }
1013 { return(*(int *)0); }
1018 { return(*(int *)0); }
1025 { return(*(int *)0); }
1031 { return(*(int *)0); }
1038 NCURSES_OUTC_sp outc)
1039 { return(*(int *)0); }
1041 #undef _nc_outc_wrapper
1042 int _nc_outc_wrapper(
1045 { return(*(int *)0); }
1053 { return(*(int *)0); }
1055 /* ./trace/lib_trace.c */
1058 unsigned _nc_tracing;
1060 #undef _nc__nc_tputs_trace
1061 const char *_nc__nc_tputs_trace(void)
1062 { return(*(const char **)0); }
1064 #undef _nc__nc_outchars
1065 long _nc__nc_outchars(void)
1066 { return(*(long *)0); }
1068 #undef _nc_set_tputs_trace
1069 void _nc_set_tputs_trace(
1073 #undef _nc_count_outchars
1074 void _nc_count_outchars(
1080 const unsigned int tracelevel)
1089 #undef _nc_retrace_bool
1090 NCURSES_BOOL _nc_retrace_bool(
1092 { return(*(NCURSES_BOOL *)0); }
1094 #undef _nc_retrace_char
1095 char _nc_retrace_char(
1097 { return(*(char *)0); }
1099 #undef _nc_retrace_int
1100 int _nc_retrace_int(
1102 { return(*(int *)0); }
1104 #undef _nc_retrace_unsigned
1105 unsigned _nc_retrace_unsigned(
1107 { return(*(unsigned *)0); }
1109 #undef _nc_retrace_ptr
1110 char *_nc_retrace_ptr(
1112 { return(*(char **)0); }
1114 #undef _nc_retrace_cptr
1115 const char *_nc_retrace_cptr(
1117 { return(*(const char **)0); }
1119 #undef _nc_retrace_cvoid_ptr
1120 const void *_nc_retrace_cvoid_ptr(
1122 { return(*(const void **)0); }
1124 #undef _nc_retrace_void_ptr
1125 void *_nc_retrace_void_ptr(
1127 { return(*(void **)0); }
1129 #undef _nc_retrace_sp
1130 SCREEN *_nc_retrace_sp(
1132 { return(*(SCREEN **)0); }
1134 #undef _nc_retrace_win
1135 WINDOW *_nc_retrace_win(
1137 { return(*(WINDOW **)0); }
1139 #undef _nc_use_tracef
1142 { return(*(int *)0); }
1144 #undef _nc_locked_tracef
1145 void _nc_locked_tracef(
1150 /* ./trace/lib_traceatr.c */
1156 { return(*(char **)0); }
1161 { return(*(char **)0); }
1163 #undef _nc_retrace_int_attr_t
1164 int _nc_retrace_int_attr_t(
1166 { return(*(int *)0); }
1168 #undef _nc_retrace_attr_t
1169 attr_t _nc_retrace_attr_t(
1171 { return(*(attr_t *)0); }
1173 #undef _nc_altcharset_name
1174 const char *_nc_altcharset_name(
1177 { return(*(const char **)0); }
1179 #undef _tracechtype2
1180 char *_tracechtype2(
1183 { return(*(char **)0); }
1188 { return(*(char **)0); }
1190 #undef _nc_retrace_chtype
1191 chtype _nc_retrace_chtype(
1193 { return(*(chtype *)0); }
1195 /* ./trace/lib_tracebits.c */
1197 #undef _nc_trace_ttymode
1198 char *_nc_trace_ttymode(
1199 struct termios *tty)
1200 { return(*(char **)0); }
1202 #undef _nc_tracebits
1203 char *_nc_tracebits(void)
1204 { return(*(char **)0); }
1206 /* ./trace/lib_tracechr.c */
1208 #undef _nc_tracechar
1209 char *_nc_tracechar(
1212 { return(*(char **)0); }
1217 { return(*(char **)0); }
1219 /* ./tinfo/lib_ttyflags.c */
1221 #undef _nc_get_tty_mode_sp
1222 int _nc_get_tty_mode_sp(
1224 struct termios *buf)
1225 { return(*(int *)0); }
1227 #undef _nc_get_tty_mode
1228 int _nc_get_tty_mode(
1229 struct termios *buf)
1230 { return(*(int *)0); }
1232 #undef _nc_set_tty_mode_sp
1233 int _nc_set_tty_mode_sp(
1235 struct termios *buf)
1236 { return(*(int *)0); }
1238 #undef _nc_set_tty_mode
1239 int _nc_set_tty_mode(
1240 struct termios *buf)
1241 { return(*(int *)0); }
1243 #undef def_shell_mode_sp
1244 int def_shell_mode_sp(
1246 { return(*(int *)0); }
1248 #undef def_shell_mode
1249 int def_shell_mode(void)
1250 { return(*(int *)0); }
1252 #undef def_prog_mode_sp
1253 int def_prog_mode_sp(
1255 { return(*(int *)0); }
1257 #undef def_prog_mode
1258 int def_prog_mode(void)
1259 { return(*(int *)0); }
1261 #undef reset_prog_mode_sp
1262 int reset_prog_mode_sp(
1264 { return(*(int *)0); }
1266 #undef reset_prog_mode
1267 int reset_prog_mode(void)
1268 { return(*(int *)0); }
1270 #undef reset_shell_mode_sp
1271 int reset_shell_mode_sp(
1273 { return(*(int *)0); }
1275 #undef reset_shell_mode
1276 int reset_shell_mode(void)
1277 { return(*(int *)0); }
1282 { return(*(int *)0); }
1286 { return(*(int *)0); }
1291 { return(*(int *)0); }
1295 { return(*(int *)0); }
1297 /* ./tty/lib_twait.c */
1299 #undef _nc_timed_wait
1305 { return(*(int *)0); }
1307 /* ./tinfo/name_match.c */
1309 #undef _nc_first_name
1310 char *_nc_first_name(
1311 const char *const sp)
1312 { return(*(char **)0); }
1314 #undef _nc_name_match
1316 const char *const namelst,
1317 const char *const name,
1318 const char *const delim)
1319 { return(*(int *)0); }
1323 #undef _nc_boolnames
1324 const char *const *_nc_boolnames(void)
1325 { return(*(const char **)0); }
1327 #undef _nc_boolfnames
1328 const char *const *_nc_boolfnames(void)
1329 { return(*(const char **)0); }
1332 const char *const *_nc_numnames(void)
1333 { return(*(const char **)0); }
1335 #undef _nc_numfnames
1336 const char *const *_nc_numfnames(void)
1337 { return(*(const char **)0); }
1340 const char *const *_nc_strnames(void)
1341 { return(*(const char **)0); }
1343 #undef _nc_strfnames
1344 const char *const *_nc_strfnames(void)
1345 { return(*(const char **)0); }
1347 /* ./tinfo/obsolete.c */
1349 #undef _nc_set_buffer_sp
1350 void _nc_set_buffer_sp(
1356 #undef _nc_set_buffer
1357 void _nc_set_buffer(
1362 /* ./tinfo/read_entry.c */
1364 #undef _nc_init_termtype
1365 void _nc_init_termtype(
1366 TERMTYPE2 *const tp)
1369 #undef _nc_read_termtype
1370 int _nc_read_termtype(
1374 { return(*(int *)0); }
1376 #undef _nc_read_file_entry
1377 int _nc_read_file_entry(
1378 const char *const filename,
1380 { return(*(int *)0); }
1382 #undef _nc_read_entry2
1383 int _nc_read_entry2(
1384 const char *const name,
1385 char *const filename,
1386 TERMTYPE2 *const tp)
1387 { return(*(int *)0); }
1389 /* ./tinfo/read_termcap.c */
1391 #undef _nc_read_termcap
1392 void _nc_read_termcap(void)
1395 /* ./tinfo/strings.c */
1398 string_desc *_nc_str_init(
1402 { return(*(string_desc **)0); }
1405 string_desc *_nc_str_null(
1408 { return(*(string_desc **)0); }
1411 string_desc *_nc_str_copy(
1414 { return(*(string_desc **)0); }
1416 #undef _nc_safe_strcat
1417 NCURSES_BOOL _nc_safe_strcat(
1420 { return(*(NCURSES_BOOL *)0); }
1422 #undef _nc_safe_strcpy
1423 NCURSES_BOOL _nc_safe_strcpy(
1426 { return(*(NCURSES_BOOL *)0); }
1428 /* ./trace/trace_buf.c */
1430 #undef _nc_trace_buf
1431 char *_nc_trace_buf(
1434 { return(*(char **)0); }
1436 #undef _nc_trace_bufcat
1437 char *_nc_trace_bufcat(
1440 { return(*(char **)0); }
1442 /* ./trace/trace_tries.c */
1444 #undef _nc_trace_tries
1445 void _nc_trace_tries(
1449 /* ./base/tries.c */
1451 #undef _nc_expand_try
1452 char *_nc_expand_try(
1457 { return(*(char **)0); }
1459 #undef _nc_remove_key
1463 { return(*(int *)0); }
1465 #undef _nc_remove_string
1466 int _nc_remove_string(
1469 { return(*(int *)0); }
1471 /* ./tinfo/trim_sgr0.c */
1473 #undef _nc_trim_sgr0
1474 char *_nc_trim_sgr0(
1476 { return(*(char **)0); }
1481 const char *unctrl_sp(
1484 { return(*(const char **)0); }
1489 { return(*(const char **)0); }
1491 /* ./trace/visbuf.c */
1494 const char *_nc_visbuf2(
1497 { return(*(const char **)0); }
1500 const char *_nc_visbuf(
1502 { return(*(const char **)0); }
1505 const char *_nc_visbufn(
1508 { return(*(const char **)0); }
1511 const char *_nc_viscbuf2(
1515 { return(*(const char **)0); }
1518 const char *_nc_viscbuf(
1521 { return(*(const char **)0); }
1523 /* ./base/define_key.c */
1525 #undef define_key_sp
1530 { return(*(int *)0); }
1536 { return(*(int *)0); }
1538 /* ./tinfo/hashed_db.c */
1540 #undef _nc_hashed_db
1541 void _nc_hashed_db(void)
1544 /* ./base/key_defined.c */
1546 #undef key_defined_sp
1550 { return(*(int *)0); }
1555 { return(*(int *)0); }
1557 /* ./base/keybound.c */
1564 { return(*(char **)0); }
1570 { return(*(char **)0); }
1572 /* ./base/keyok.c */
1579 { return(*(int *)0); }
1585 { return(*(int *)0); }
1587 /* ./base/version.c */
1589 #undef curses_version
1590 const char *curses_version(void)
1591 { return(*(const char **)0); }