1 /******************************************************************************
2 * Copyright 1996,1997 by Thomas E. Dickey <dickey@clark.net> *
3 * All Rights Reserved. *
5 * Permission to use, copy, modify, and distribute this software and its *
6 * documentation for any purpose and without fee is hereby granted, provided *
7 * that the above copyright notice appear in all copies and that both that *
8 * copyright notice and this permission notice appear in supporting *
9 * documentation, and that the name of the above listed copyright holder(s) *
10 * not be used in advertising or publicity pertaining to distribution of the *
11 * software without specific, written prior permission. THE ABOVE LISTED *
12 * COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, *
13 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO *
14 * EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY *
15 * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER *
16 * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF *
17 * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN *
18 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *
19 ******************************************************************************/
24 #include <curses.priv.h>
28 const TERMTYPE *_nc_fallback(
30 { return(*(const TERMTYPE **)0); }
35 void _nc_hash_map(void)
40 #undef _nc_scroll_optimize
41 void _nc_scroll_optimize(void)
61 { return(*(int *)0); }
67 { return(*(int *)0); }
76 { return(*(int *)0); }
79 chtype _nc_background(
81 { return(*(chtype *)0); }
87 { return(*(chtype *)0); }
89 #undef _nc_waddch_nosync
90 int _nc_waddch_nosync(
93 { return(*(int *)0); }
99 { return(*(int *)0); }
105 { return(*(int *)0); }
112 const char *const astr,
114 { return(*(int *)0); }
119 const chtype *const astr,
121 { return(*(int *)0); }
127 { return(*(int *)0); }
131 { return(*(int *)0); }
139 { return(*(int *)0); }
141 /* ./lib_baudrate.c */
150 { return(*(int *)0); }
165 { return(*(int *)0); }
172 { return(*(int *)0); }
179 { return(*(int *)0); }
186 { return(*(int *)0); }
193 { return(*(int *)0); }
200 { return(*(int *)0); }
210 int start_color(void)
211 { return(*(int *)0); }
218 { return(*(int *)0); }
226 { return(*(int *)0); }
228 #undef can_change_color
229 bool can_change_color(void)
230 { return(*(bool *)0); }
233 bool has_colors(void)
234 { return(*(bool *)0); }
242 { return(*(int *)0); }
249 { return(*(int *)0); }
267 struct _win_list *_nc_windows;
280 { return(*(int *)0); }
287 { return(*(int *)0); }
289 /* ./lib_doupdate.c */
291 #include <sys/time.h>
295 { return(*(int *)0); }
306 { return(*(int *)0); }
313 { return(*(int *)0); }
322 { return(*(int *)0); }
328 { return(*(int *)0); }
333 { return(*(int *)0); }
339 { return(*(int *)0); }
344 { return(*(int *)0); }
349 { return(*(int *)0); }
354 { return(*(int *)0); }
359 { return(*(int *)0); }
363 { return(*(int *)0); }
368 { return(*(int *)0); }
373 { return(*(int *)0); }
378 { return(*(int *)0); }
383 { return(*(int *)0); }
400 { return(*(int *)0); }
407 { return(*(int *)0); }
415 { return(*(int *)0); }
419 { return(*(int *)0); }
423 { return(*(int *)0); }
427 { return(*(int *)0); }
432 { return(*(int *)0); }
436 { return(*(int *)0); }
440 { return(*(int *)0); }
445 { return(*(int *)0); }
450 { return(*(chtype *)0); }
454 { return(*(int *)0); }
460 { return(*(int *)0); }
465 { return(*(int *)0); }
471 { return(*(int *)0); }
475 { return(*(chtype *)0); }
481 { return(*(int *)0); }
486 { return(*(int *)0); }
492 { return(*(int *)0); }
497 { return(*(int *)0); }
502 { return(*(int *)0); }
506 { return(*(int *)0); }
512 { return(*(int *)0); }
517 { return(*(int *)0); }
522 { return(*(int *)0); }
528 { return(*(int *)0); }
535 { return(*(int *)0); }
543 { return(*(int *)0); }
550 { return(*(int *)0); }
558 { return(*(int *)0); }
565 { return(*(int *)0); }
575 { return(*(int *)0); }
581 { return(*(int *)0); }
587 { return(*(int *)0); }
595 { return(*(int *)0); }
602 { return(*(int *)0); }
610 { return(*(int *)0); }
616 { return(*(chtype *)0); }
624 { return(*(int *)0); }
631 { return(*(int *)0); }
639 { return(*(int *)0); }
646 { return(*(int *)0); }
654 { return(*(int *)0); }
661 { return(*(int *)0); }
668 { return(*(int *)0); }
676 { return(*(int *)0); }
684 { return(*(int *)0); }
693 { return(*(int *)0); }
701 { return(*(int *)0); }
710 { return(*(int *)0); }
718 { return(*(int *)0); }
729 { return(*(int *)0); }
736 { return(*(int *)0); }
743 { return(*(int *)0); }
752 { return(*(int *)0); }
760 { return(*(int *)0); }
769 { return(*(int *)0); }
776 { return(*(chtype *)0); }
785 { return(*(int *)0); }
793 { return(*(int *)0); }
802 { return(*(int *)0); }
810 { return(*(int *)0); }
819 { return(*(int *)0); }
827 { return(*(int *)0); }
835 { return(*(int *)0); }
844 { return(*(int *)0); }
849 { return(*(int *)0); }
854 { return(*(int *)0); }
858 { return(*(int *)0); }
863 { return(*(int *)0); }
868 { return(*(int *)0); }
874 { return(*(int *)0); }
878 { return(*(int *)0); }
882 { return(*(int *)0); }
887 { return(*(int *)0); }
892 { return(*(int *)0); }
898 { return(*(int *)0); }
905 { return(*(int *)0); }
912 { return(*(int *)0); }
918 { return(*(int *)0); }
924 { return(*(int *)0); }
930 { return(*(int *)0); }
936 { return(*(int *)0); }
942 { return(*(int *)0); }
947 { return(*(attr_t *)0); }
953 { return(*(int *)0); }
964 { return(*(int *)0); }
970 { return(*(int *)0); }
975 { return(*(chtype *)0); }
981 { return(*(int *)0); }
986 { return(*(int *)0); }
992 { return(*(int *)0); }
998 { return(*(int *)0); }
1003 { return(*(int *)0); }
1008 { return(*(int *)0); }
1018 { return(*(int *)0); }
1020 #undef _nc_backspace
1028 { return(*(int *)0); }
1030 /* ./lib_getstr.c */
1037 { return(*(int *)0); }
1039 /* ./lib_inchstr.c */
1046 { return(*(int *)0); }
1048 /* ./lib_initscr.c */
1051 int _nc_initscr(void)
1052 { return(*(int *)0); }
1055 WINDOW *initscr(void)
1056 { return(*(WINDOW **)0); }
1059 char *termname(void)
1060 { return(*(char **)0); }
1068 { return(*(int *)0); }
1070 /* ./lib_insdel.c */
1076 { return(*(int *)0); }
1078 /* ./lib_insstr.c */
1085 { return(*(int *)0); }
1094 { return(*(int *)0); }
1096 /* ./lib_isendwin.c */
1100 { return(*(int *)0); }
1102 /* ./lib_kernel.c */
1107 { return(*(int *)0); }
1109 #undef reset_prog_mode
1110 int reset_prog_mode(void)
1111 { return(*(int *)0); }
1113 #undef reset_shell_mode
1114 int reset_shell_mode(void)
1115 { return(*(int *)0); }
1118 char erasechar(void)
1119 { return(*(char *)0); }
1123 { return(*(char *)0); }
1127 { return(*(int *)0); }
1131 { return(*(int *)0); }
1135 { return(*(int *)0); }
1137 /* ./lib_keyname.c */
1139 #include <ncurses_cfg.h>
1148 const struct kn key_names[] = {0};
1151 const char *keyname(
1153 { return(*(const char **)0); }
1155 /* ./lib_longname.c */
1158 char *longname(void)
1159 { return(*(char **)0); }
1163 #undef _nc_max_click_interval
1164 int _nc_max_click_interval;
1166 #undef _nc_mouse_init
1167 void _nc_mouse_init(
1172 int _nc_mouse_fd(void)
1173 { return(*(int *)0); }
1175 #undef _nc_mouse_event
1176 bool _nc_mouse_event(
1178 { return(*(bool *)0); }
1180 #undef _nc_mouse_inline
1181 bool _nc_mouse_inline(
1183 { return(*(bool *)0); }
1185 #undef _nc_mouse_parse
1186 bool _nc_mouse_parse(
1188 { return(*(bool *)0); }
1190 #undef _nc_mouse_wrap
1191 void _nc_mouse_wrap(
1195 #undef _nc_mouse_resume
1196 void _nc_mouse_resume(
1203 { return(*(int *)0); }
1208 { return(*(int *)0); }
1214 { return(*(mmask_t *)0); }
1221 { return(*(bool *)0); }
1223 #undef mouseinterval
1226 { return(*(int *)0); }
1235 { return(*(int *)0); }
1239 #undef _nc_mvcur_resume
1240 void _nc_mvcur_resume(void)
1243 #undef _nc_mvcur_init
1244 void _nc_mvcur_init(void)
1247 #undef _nc_mvcur_wrap
1248 void _nc_mvcur_wrap(void)
1257 { return(*(int *)0); }
1259 #undef _nc_mvcur_scrolln
1260 int _nc_mvcur_scrolln(
1265 { return(*(int *)0); }
1274 { return(*(int *)0); }
1276 /* ./lib_newterm.c */
1287 { return(*(SCREEN **)0); }
1289 /* ./lib_newwin.c */
1302 { return(*(WINDOW **)0); }
1311 { return(*(WINDOW **)0); }
1320 { return(*(WINDOW **)0); }
1323 WINDOW *_nc_makenew(
1329 { return(*(WINDOW **)0); }
1331 /* ./lib_options.c */
1335 { return(*(int *)0); }
1339 { return(*(int *)0); }
1345 { return(*(int *)0); }
1357 { return(*(int *)0); }
1369 { return(*(int *)0); }
1375 { return(*(int *)0); }
1380 { return(*(int *)0); }
1386 { return(*(int *)0); }
1392 { return(*(int *)0); }
1398 { return(*(int *)0); }
1403 { return(*(int *)0); }
1409 { return(*(int *)0); }
1415 { return(*(int *)0); }
1420 { return(*(int *)0); }
1424 #include <keys.tries>
1431 { return(*(int *)0); }
1436 { return(*(int *)0); }
1438 /* ./lib_overlay.c */
1444 { return(*(int *)0); }
1450 { return(*(int *)0); }
1463 { return(*(int *)0); }
1471 { return(*(WINDOW **)0); }
1480 { return(*(WINDOW **)0); }
1491 { return(*(int *)0); }
1502 { return(*(int *)0); }
1508 { return(*(int *)0); }
1516 { return(*(int *)0); }
1518 /* ./lib_printw.c */
1524 { return(*(int *)0); }
1531 { return(*(int *)0); }
1539 { return(*(int *)0); }
1548 { return(*(int *)0); }
1555 { return(*(int *)0); }
1561 { return(*(int *)0); }
1565 { return(*(int *)0); }
1569 { return(*(int *)0); }
1573 { return(*(int *)0); }
1577 { return(*(int *)0); }
1581 { return(*(int *)0); }
1585 { return(*(int *)0); }
1589 { return(*(int *)0); }
1593 { return(*(int *)0); }
1597 { return(*(int *)0); }
1603 { return(*(int *)0); }
1605 /* ./lib_refresh.c */
1612 { return(*(int *)0); }
1617 { return(*(int *)0); }
1622 { return(*(int *)0); }
1624 /* ./lib_restart.c */
1626 #undef def_shell_mode
1627 int def_shell_mode(void)
1628 { return(*(int *)0); }
1630 #undef def_prog_mode
1631 int def_prog_mode(void)
1632 { return(*(int *)0); }
1639 { return(*(int *)0); }
1642 TERMINAL *set_curterm(
1644 { return(*(TERMINAL **)0); }
1649 { return(*(int *)0); }
1658 { return(*(int *)0); }
1664 { return(*(int *)0); }
1671 { return(*(int *)0); }
1679 { return(*(int *)0); }
1688 { return(*(int *)0); }
1690 /* ./lib_screen.c */
1692 #include <sys/stat.h>
1698 { return(*(WINDOW **)0); }
1704 { return(*(int *)0); }
1709 { return(*(int *)0); }
1714 { return(*(int *)0); }
1719 { return(*(int *)0); }
1724 { return(*(int *)0); }
1726 /* ./lib_scroll.c */
1728 #undef _nc_scroll_window
1729 void _nc_scroll_window(
1740 { return(*(int *)0); }
1742 /* ./lib_scrreg.c */
1749 { return(*(int *)0); }
1751 /* ./lib_set_term.c */
1753 #undef _nc_set_buffer
1754 void _nc_set_buffer(
1762 { return(*(SCREEN **)0); }
1770 ripoff_t rippedoff[5];
1774 #undef _nc_setupscreen
1775 int _nc_setupscreen(
1777 short const scolumns,
1779 { return(*(int *)0); }
1781 #undef _nc_ripoffline
1787 { return(*(int *)0); }
1795 { return(*(int *)0); }
1799 #include <sys/ioctl.h>
1813 #undef _nc_get_screensize
1814 void _nc_get_screensize(void)
1825 { return(*(int *)0); }
1829 #undef _nc_slk_format
1835 { return(*(char **)0); }
1837 #undef slk_noutrefresh
1838 int slk_noutrefresh(void)
1839 { return(*(int *)0); }
1842 int slk_refresh(void)
1843 { return(*(int *)0); }
1846 int slk_restore(void)
1847 { return(*(int *)0); }
1854 { return(*(int *)0); }
1858 { return(*(int *)0); }
1862 { return(*(int *)0); }
1864 #undef _nc_slk_initialize
1865 int _nc_slk_initialize(
1868 { return(*(int *)0); }
1873 { return(*(int *)0); }
1878 { return(*(int *)0); }
1883 { return(*(int *)0); }
1888 { return(*(int *)0); }
1891 attr_t slk_attr(void)
1892 { return(*(attr_t *)0); }
1894 /* ./lib_termcap.c */
1896 #include <termcap.h>
1912 { return(*(int *)0); }
1916 #include <capdefaults.c>
1923 { return(*(int *)0); }
1928 { return(*(int *)0); }
1934 { return(*(char **)0); }
1941 { return(*(char **)0); }
1948 { return(*(int *)0); }
1953 { return(*(int *)0); }
1958 { return(*(char **)0); }
1962 #undef is_linetouched
1966 { return(*(int *)0); }
1968 #undef is_wintouched
1971 { return(*(int *)0); }
1979 { return(*(int *)0); }
1992 { return(*(char **)0); }
1999 { return(*(int *)0); }
2004 { return(*(int *)0); }
2009 { return(*(int *)0); }
2017 { return(*(int *)0); }
2024 unsigned _nc_tracing;
2025 #undef _nc_tputs_trace
2026 const char *_nc_tputs_trace = {0};
2029 #undef _nc_optimize_enable
2030 int _nc_optimize_enable;
2034 const unsigned int tracelevel)
2038 const char *_nc_visbuf(
2040 { return(*(const char **)0); }
2048 /* ./lib_traceatr.c */
2053 { return(*(char **)0); }
2058 { return(*(char **)0); }
2060 /* ./lib_tracechr.c */
2064 const unsigned char ch)
2065 { return(*(char **)0); }
2067 /* ./lib_tracedmp.c */
2075 /* ./lib_tracemse.c */
2080 { return(*(char **)0); }
2086 typedef struct sigaction sigaction_t;
2088 #undef _nc_signal_handler
2089 void _nc_signal_handler(
2095 #undef _nc_timed_wait
2100 { return(*(int *)0); }
2102 /* ./lib_unctrl.c */
2107 { return(*(char **)0); }
2109 /* ./lib_vidattr.c */
2116 { return(*(int *)0); }
2121 { return(*(int *)0); }
2124 attr_t termattrs(void)
2125 { return(*(attr_t *)0); }
2127 /* ./lib_window.c */
2139 { return(*(int *)0); }
2145 { return(*(int *)0); }
2165 { return(*(WINDOW **)0); }
2170 char *const boolnames[] = {0};
2172 char *const boolfnames[] = {0};
2174 char *const numnames[] = {0};
2176 char *const numfnames[] = {0};
2178 char *const strnames[] = {0};
2180 char *const strfnames[] = {0};
2184 char *const boolcodes[] = {0};
2186 char *const numcodes[] = {0};
2188 char *const strcodes[] = {0};
2190 /* ./read_entry.c */
2197 { return(*(char **)0); }
2199 #undef _nc_read_file_entry
2200 int _nc_read_file_entry(
2201 const char *const filename,
2203 { return(*(int *)0); }
2205 #undef _nc_read_entry
2207 const char *const tn,
2208 char *const filename,
2210 { return(*(int *)0); }
2212 #undef _nc_first_name
2213 char *_nc_first_name(
2214 const char *const sp)
2215 { return(*(char **)0); }
2217 #undef _nc_name_match
2219 const char *const namelst,
2220 const char *const name,
2221 const char *const delim)
2222 { return(*(int *)0); }
2224 /* ./read_termcap.c */
2226 #include <term_entry.h>
2228 #undef _nc_read_termcap_entry
2229 int _nc_read_termcap_entry(
2230 const char *const tn,
2232 { return(*(int *)0); }
2234 /* ./write_entry.c */
2236 #undef _nc_set_writedir
2237 void _nc_set_writedir(
2241 #undef _nc_write_entry
2242 void _nc_write_entry(
2246 #undef _nc_tic_written
2247 int _nc_tic_written(void)
2248 { return(*(int *)0); }
2252 #undef _nc_sigaction
2253 void _nc_sigaction(void)
2259 void _nc_vsscanf(void)
2262 /* ./alloc_entry.c */
2264 #undef _nc_init_entry
2265 void _nc_init_entry(
2271 const char *const string)
2272 { return(*(char **)0); }
2274 #undef _nc_wrap_entry
2275 void _nc_wrap_entry(
2279 #undef _nc_merge_entry
2280 void _nc_merge_entry(
2282 TERMTYPE *const from)
2287 #undef _nc_captoinfo
2288 char *_nc_captoinfo(
2291 int const parametrized)
2292 { return(*(char **)0); }
2294 #undef _nc_infotocap
2295 char *_nc_infotocap(
2298 int const parametrized)
2299 { return(*(char **)0); }
2301 /* ./comp_captab.c */
2303 #include <hashsize.h>
2305 #undef _nc_info_hash_table
2306 const struct name_table_entry *const _nc_info_hash_table[991] = {0};
2307 #undef _nc_cap_hash_table
2308 const struct name_table_entry *const _nc_cap_hash_table[991] = {0};
2309 #undef _nc_capalias_table
2310 const struct alias _nc_capalias_table[] = {0};
2311 #undef _nc_infoalias_table
2312 const struct alias _nc_infoalias_table[] = {0};
2314 #undef _nc_get_table
2315 const struct name_table_entry *_nc_get_table(
2317 { return(*(const struct name_table_entry **)0); }
2319 /* ./comp_error.c */
2321 #undef _nc_suppress_warnings
2322 bool _nc_suppress_warnings;
2324 #undef _nc_set_source
2325 void _nc_set_source(
2326 const char *const name)
2331 const char *const name)
2341 const char *const fmt,
2345 #undef _nc_err_abort
2347 const char *const fmt,
2351 #undef _nc_syserr_abort
2352 void _nc_syserr_abort(
2353 const char *const fmt,
2359 #undef _nc_find_entry
2360 struct name_table_entry const *_nc_find_entry(
2362 const struct name_table_entry *const *hash_table)
2363 { return(*(struct name_table_entry const **)0); }
2365 #undef _nc_find_type_entry
2366 struct name_table_entry const *_nc_find_type_entry(
2369 const struct name_table_entry *table)
2370 { return(*(struct name_table_entry const **)0); }
2372 /* ./comp_parse.c */
2379 #undef _nc_free_entries
2380 void _nc_free_entries(
2384 #undef _nc_entry_match
2385 bool _nc_entry_match(
2388 { return(*(bool *)0); }
2390 #undef _nc_read_entry_source
2391 void _nc_read_entry_source(
2400 #undef _nc_resolve_uses
2401 int _nc_resolve_uses(void)
2402 { return(*(int *)0); }
2408 #undef _nc_curr_line
2412 #undef _nc_curr_file_pos
2413 long _nc_curr_file_pos;
2414 #undef _nc_comment_start
2415 long _nc_comment_start;
2416 #undef _nc_comment_end
2417 long _nc_comment_end;
2418 #undef _nc_start_line
2419 long _nc_start_line;
2421 #undef _nc_get_token
2422 int _nc_get_token(void)
2423 { return(*(int *)0); }
2425 #undef _nc_push_token
2426 void _nc_push_token(
2430 #undef _nc_panic_mode
2431 void _nc_panic_mode(
2435 #undef _nc_reset_input
2436 void _nc_reset_input(
2441 /* ./parse_entry.c */
2443 #undef _nc_curr_token
2444 struct token _nc_curr_token;
2446 #undef _nc_parse_entry
2447 int _nc_parse_entry(
2448 struct entry *entryp,
2451 { return(*(int *)0); }
2457 { return(*(int *)0); }
2459 typedef struct {const char *from; const char *to;} assoc;
2461 /* ./lib_dft_fgbg.c */
2463 #undef use_default_colors
2464 int use_default_colors(void)
2465 { return(*(int *)0); }
2467 /* ./lib_freeall.c */
2469 #undef _nc_free_termtype
2470 void _nc_free_termtype(
2476 void _nc_freeall(void)
2479 #undef _nc_free_and_exit
2480 void _nc_free_and_exit(
2484 /* ./resizeterm.c */
2490 { return(*(int *)0); }
2499 { return(*(int *)0); }
2501 /* ./lib_adabind.c */
2503 #undef _nc_ada_getmaxyx
2504 int _nc_ada_getmaxyx(
2508 { return(*(int *)0); }
2510 #undef _nc_ada_getbegyx
2511 int _nc_ada_getbegyx(
2515 { return(*(int *)0); }
2517 #undef _nc_ada_getyx
2522 { return(*(int *)0); }
2524 #undef _nc_ada_getparyx
2525 int _nc_ada_getparyx(
2529 { return(*(int *)0); }
2531 #undef _nc_ada_isscroll
2532 int _nc_ada_isscroll(
2534 { return(*(int *)0); }
2536 #undef _nc_ada_coord_transform
2537 int _nc_ada_coord_transform(
2542 { return(*(int *)0); }
2544 #undef _nc_ada_mouse_event
2545 void _nc_ada_mouse_event(
2551 #undef _nc_ada_mouse_mask
2552 int _nc_ada_mouse_mask(
2556 { return(*(int *)0); }
2558 #undef _nc_ada_unregister_mouse
2559 void _nc_ada_unregister_mouse(void)