X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fllib-ltinfotw;h=0fd8d287a38750d0ca83a0167ac753f1ef8a6fff;hp=23218c3ab064e45be446e531d6f89f516d644b91;hb=95bcbd4bb8e933c86e6fc4aba9ea1c7fd3d30e3d;hpb=265e45e43e9917e8b9ecc2bf9d23867a3ede2ecd diff --git a/ncurses/llib-ltinfotw b/ncurses/llib-ltinfotw index 23218c3a..0fd8d287 100644 --- a/ncurses/llib-ltinfotw +++ b/ncurses/llib-ltinfotw @@ -58,7 +58,7 @@ char *_nc_basename( #undef _nc_access int _nc_access( - const char *path, + const char *path, int mode) { return(*(int *)0); } @@ -76,12 +76,25 @@ NCURSES_BOOL _nc_is_file_path( int _nc_env_access(void) { return(*(int *)0); } +#undef _nc_safe_fopen +FILE *_nc_safe_fopen( + const char *path, + const char *mode) + { return(*(FILE **)0); } + +#undef _nc_safe_open3 +int _nc_safe_open3( + const char *path, + int flags, + mode_t mode) + { return(*(int *)0); } + /* ./tinfo/add_tries.c */ #undef _nc_add_to_try int _nc_add_to_try( - TRIES **tree, - const char *str, + TRIES **tree, + const char *str, unsigned code) { return(*(int *)0); } @@ -89,25 +102,25 @@ int _nc_add_to_try( #undef _nc_align_termtype void _nc_align_termtype( - TERMTYPE2 *to, + TERMTYPE2 *to, TERMTYPE2 *from) { /* void */ } #undef _nc_copy_termtype void _nc_copy_termtype( - TERMTYPE *dst, + TERMTYPE *dst, const TERMTYPE *src) { /* void */ } #undef _nc_copy_termtype2 void _nc_copy_termtype2( - TERMTYPE2 *dst, + TERMTYPE2 *dst, const TERMTYPE2 *src) { /* void */ } #undef _nc_export_termtype2 void _nc_export_termtype2( - TERMTYPE *dst, + TERMTYPE *dst, const TERMTYPE2 *src) { /* void */ } @@ -177,19 +190,19 @@ void _nc_get_type( #undef _nc_warning void _nc_warning( - const char *const fmt, + const char *const fmt, ...) { /* void */ } #undef _nc_err_abort void _nc_err_abort( - const char *const fmt, + const char *const fmt, ...) { /* void */ } #undef _nc_syserr_abort void _nc_syserr_abort( - const char *const fmt, + const char *const fmt, ...) { /* void */ } @@ -197,14 +210,14 @@ void _nc_syserr_abort( #undef _nc_find_entry struct name_table_entry const *_nc_find_entry( - const char *string, + const char *string, const HashValue *hash_table) { return(*(struct name_table_entry const **)0); } #undef _nc_find_type_entry struct name_table_entry const *_nc_find_type_entry( - const char *string, - int type, + const char *string, + int type, NCURSES_BOOL termcap) { return(*(struct name_table_entry const **)0); } @@ -241,13 +254,13 @@ void _nc_last_db(void) #undef _nc_next_db const char *_nc_next_db( - DBDIRS *state, + DBDIRS *state, int *offset) { return(*(const char **)0); } #undef _nc_first_db void _nc_first_db( - DBDIRS *state, + DBDIRS *state, int *offset) { /* void */ } @@ -255,7 +268,7 @@ void _nc_first_db( #undef _nc_doalloc void *_nc_doalloc( - void *oldp, + void *oldp, size_t amount) { return(*(void **)0); } @@ -268,7 +281,7 @@ ENTRY *_nc_tail; #undef _nc_free_entry void _nc_free_entry( - ENTRY *headp, + ENTRY *headp, TERMTYPE2 *tterm) { /* void */ } @@ -327,7 +340,7 @@ int _nc_getenv_num( #undef _nc_setenv_num void _nc_setenv_num( - const char *name, + const char *name, int value) { /* void */ } @@ -362,8 +375,8 @@ void _nc_init_acs(void) /* ./tinfo/lib_baudrate.c */ struct speed { - int given_speed; - int actual_speed; + int given_speed; + int actual_speed; }; #undef _nc_baudrate @@ -402,7 +415,7 @@ TERMINAL *_nc_cur_term(void) #undef set_curterm_sp TERMINAL *set_curterm_sp( - SCREEN *sp, + SCREEN *sp, TERMINAL *termp) { return(*(TERMINAL **)0); } @@ -413,7 +426,7 @@ TERMINAL *set_curterm( #undef del_curterm_sp int del_curterm_sp( - SCREEN *sp, + SCREEN *sp, TERMINAL *termp) { return(*(int *)0); } @@ -529,7 +542,7 @@ struct kn { short offset; int code; }; #undef keyname_sp const char *keyname_sp( - SCREEN *sp, + SCREEN *sp, int c) { return(*(const char **)0); } @@ -553,7 +566,7 @@ char *longname(void) #undef napms_sp int napms_sp( - SCREEN *sp, + SCREEN *sp, int ms) { return(*(int *)0); } @@ -566,19 +579,19 @@ int napms( #undef idlok int idlok( - WINDOW *win, + WINDOW *win, NCURSES_BOOL flag) { return(*(int *)0); } #undef idcok void idcok( - WINDOW *win, + WINDOW *win, NCURSES_BOOL flag) { /* void */ } #undef halfdelay_sp int halfdelay_sp( - SCREEN *sp, + SCREEN *sp, int t) { return(*(int *)0); } @@ -589,37 +602,37 @@ int halfdelay( #undef nodelay int nodelay( - WINDOW *win, + WINDOW *win, NCURSES_BOOL flag) { return(*(int *)0); } #undef notimeout int notimeout( - WINDOW *win, + WINDOW *win, NCURSES_BOOL f) { return(*(int *)0); } #undef wtimeout void wtimeout( - WINDOW *win, + WINDOW *win, int delay) { /* void */ } #undef keypad int keypad( - WINDOW *win, + WINDOW *win, NCURSES_BOOL flag) { return(*(int *)0); } #undef meta int meta( - WINDOW *win, + WINDOW *win, NCURSES_BOOL flag) { return(*(int *)0); } #undef curs_set_sp int curs_set_sp( - SCREEN *sp, + SCREEN *sp, int vis) { return(*(int *)0); } @@ -630,7 +643,7 @@ int curs_set( #undef typeahead_sp int typeahead_sp( - SCREEN *sp, + SCREEN *sp, int fd) { return(*(int *)0); } @@ -641,7 +654,7 @@ int typeahead( #undef has_key_sp int has_key_sp( - SCREEN *sp, + SCREEN *sp, int keycode) { return(*(int *)0); } @@ -652,14 +665,14 @@ int has_key( #undef _nc_putp_flush_sp int _nc_putp_flush_sp( - SCREEN *sp, - const char *name, + SCREEN *sp, + const char *name, const char *value) { return(*(int *)0); } #undef _nc_keypad int _nc_keypad( - SCREEN *sp, + SCREEN *sp, int flag) { return(*(int *)0); } @@ -721,14 +734,14 @@ void noqiflush(void) #undef intrflush_sp int intrflush_sp( - SCREEN *sp, - WINDOW *win, + SCREEN *sp, + WINDOW *win, NCURSES_BOOL flag) { return(*(int *)0); } #undef intrflush int intrflush( - WINDOW *win, + WINDOW *win, NCURSES_BOOL flag) { return(*(int *)0); } @@ -767,7 +780,7 @@ int _nc_TABSIZE(void) #undef set_tabsize_sp int set_tabsize_sp( - SCREEN *sp, + SCREEN *sp, int value) { return(*(int *)0); } @@ -783,13 +796,13 @@ int _nc_handle_sigwinch( #undef use_env_sp void use_env_sp( - SCREEN *sp, + SCREEN *sp, NCURSES_BOOL f) { /* void */ } #undef use_tioctl_sp void use_tioctl_sp( - SCREEN *sp, + SCREEN *sp, NCURSES_BOOL f) { /* void */ } @@ -805,8 +818,8 @@ void use_tioctl( #undef _nc_get_screensize void _nc_get_screensize( - SCREEN *sp, - int *linep, + SCREEN *sp, + int *linep, int *colp) { /* void */ } @@ -817,13 +830,13 @@ void _nc_update_screensize( #undef _nc_setup_tinfo int _nc_setup_tinfo( - const char *const tn, + const char *const tn, TERMTYPE2 *const tp) { return(*(int *)0); } #undef _nc_tinfo_cmdch void _nc_tinfo_cmdch( - TERMINAL *termp, + TERMINAL *termp, int proto) { /* void */ } @@ -842,9 +855,9 @@ int _nc_locale_breaks_acs( #undef _nc_setupterm int _nc_setupterm( - const char *tname, - int Filedes, - int *errret, + const char *tname, + int Filedes, + int *errret, int reuse) { return(*(int *)0); } @@ -862,8 +875,8 @@ SCREEN *new_prescr(void) #undef setupterm int setupterm( - const char *tname, - int Filedes, + const char *tname, + int Filedes, int *errret) { return(*(int *)0); } @@ -876,20 +889,20 @@ char *BC; #undef tgetent_sp int tgetent_sp( - SCREEN *sp, - char *bufp, + SCREEN *sp, + char *bufp, const char *name) { return(*(int *)0); } #undef tgetent int tgetent( - char *bufp, + char *bufp, const char *name) { return(*(int *)0); } #undef tgetflag_sp int tgetflag_sp( - SCREEN *sp, + SCREEN *sp, const char *id) { return(*(int *)0); } @@ -900,7 +913,7 @@ int tgetflag( #undef tgetnum_sp int tgetnum_sp( - SCREEN *sp, + SCREEN *sp, const char *id) { return(*(int *)0); } @@ -911,14 +924,14 @@ int tgetnum( #undef tgetstr_sp char *tgetstr_sp( - SCREEN *sp, - const char *id, + SCREEN *sp, + const char *id, char **area) { return(*(char **)0); } #undef tgetstr char *tgetstr( - const char *id, + const char *id, char **area) { return(*(char **)0); } @@ -937,8 +950,8 @@ char *termname(void) #undef tgoto char *tgoto( - const char *string, - int x, + const char *string, + int x, int y) { return(*(char **)0); } @@ -946,7 +959,7 @@ char *tgoto( #undef tigetflag_sp int tigetflag_sp( - SCREEN *sp, + SCREEN *sp, const char *str) { return(*(int *)0); } @@ -957,7 +970,7 @@ int tigetflag( #undef tigetnum_sp int tigetnum_sp( - SCREEN *sp, + SCREEN *sp, const char *str) { return(*(int *)0); } @@ -968,7 +981,7 @@ int tigetnum( #undef tigetstr_sp char *tigetstr_sp( - SCREEN *sp, + SCREEN *sp, const char *str) { return(*(char **)0); } @@ -984,30 +997,36 @@ int _nc_tparm_err; #undef _nc_tparm_analyze int _nc_tparm_analyze( - const char *string, - char **p_is_s, + TERMINAL *term, + const char *string, + char **p_is_s, int *_nc_popcount) { return(*(int *)0); } #undef tparm char *tparm( - const char *string, + const char *string, ...) { return(*(char **)0); } #undef tiparm char *tiparm( - const char *string, + const char *string, ...) { return(*(char **)0); } #undef _nc_tiparm char *_nc_tiparm( - int expected, - const char *string, + int expected, + const char *string, ...) { return(*(char **)0); } +#undef _nc_reset_tparm +void _nc_reset_tparm( + TERMINAL *term) + { /* void */ } + /* ./tinfo/lib_tputs.c */ #undef PC @@ -1024,7 +1043,7 @@ void _nc_set_no_padding( #undef delay_output_sp int delay_output_sp( - SCREEN *sp, + SCREEN *sp, int ms) { return(*(int *)0); } @@ -1044,7 +1063,7 @@ void _nc_flush(void) #undef _nc_outch_sp int _nc_outch_sp( - SCREEN *sp, + SCREEN *sp, int ch) { return(*(int *)0); } @@ -1055,7 +1074,7 @@ int _nc_outch( #undef _nc_putchar_sp int _nc_putchar_sp( - SCREEN *sp, + SCREEN *sp, int ch) { return(*(int *)0); } @@ -1066,7 +1085,7 @@ int _nc_putchar( #undef putp_sp int putp_sp( - SCREEN *sp, + SCREEN *sp, const char *string) { return(*(int *)0); } @@ -1077,35 +1096,35 @@ int putp( #undef _nc_putp_sp int _nc_putp_sp( - SCREEN *sp, - const char *name, + SCREEN *sp, + const char *name, const char *string) { return(*(int *)0); } #undef _nc_putp int _nc_putp( - const char *name, + const char *name, const char *string) { return(*(int *)0); } #undef tputs_sp int tputs_sp( - SCREEN *sp, - const char *string, - int affcnt, + SCREEN *sp, + const char *string, + int affcnt, NCURSES_OUTC_sp outc) { return(*(int *)0); } #undef _nc_outc_wrapper int _nc_outc_wrapper( - SCREEN *sp, + SCREEN *sp, int c) { return(*(int *)0); } #undef tputs int tputs( - const char *string, - int affcnt, + const char *string, + int affcnt, int (*outc)( int p1)) { return(*(int *)0); } @@ -1145,7 +1164,7 @@ void trace( #undef _tracef void _tracef( - const char *fmt, + const char *fmt, ...) { /* void */ } @@ -1201,8 +1220,8 @@ WINDOW *_nc_retrace_win( #undef _nc_fmt_funcptr char *_nc_fmt_funcptr( - char *target, - const char *source, + char *target, + const char *source, size_t size) { return(*(char **)0); } @@ -1213,7 +1232,7 @@ int _nc_use_tracef( #undef _nc_locked_tracef void _nc_locked_tracef( - const char *fmt, + const char *fmt, ...) { /* void */ } @@ -1221,7 +1240,7 @@ void _nc_locked_tracef( #undef _traceattr2 char *_traceattr2( - int bufnum, + int bufnum, chtype newmode) { return(*(char **)0); } @@ -1242,13 +1261,13 @@ attr_t _nc_retrace_attr_t( #undef _nc_altcharset_name const char *_nc_altcharset_name( - attr_t attr, + attr_t attr, chtype ch) { return(*(const char **)0); } #undef _tracechtype2 char *_tracechtype2( - int bufnum, + int bufnum, chtype ch) { return(*(char **)0); } @@ -1264,7 +1283,7 @@ chtype _nc_retrace_chtype( #undef _tracecchar_t2 char *_tracecchar_t2( - int bufnum, + int bufnum, const cchar_t *ch) { return(*(char **)0); } @@ -1288,7 +1307,7 @@ char *_nc_tracebits(void) #undef _nc_tracechar char *_nc_tracechar( - SCREEN *sp, + SCREEN *sp, int ch) { return(*(char **)0); } @@ -1301,7 +1320,7 @@ char *_tracechar( #undef _nc_get_tty_mode_sp int _nc_get_tty_mode_sp( - SCREEN *sp, + SCREEN *sp, struct termios *buf) { return(*(int *)0); } @@ -1312,7 +1331,7 @@ int _nc_get_tty_mode( #undef _nc_set_tty_mode_sp int _nc_set_tty_mode_sp( - SCREEN *sp, + SCREEN *sp, struct termios *buf) { return(*(int *)0); } @@ -1379,9 +1398,9 @@ int resetty(void) #undef _nc_timed_wait int _nc_timed_wait( - SCREEN *sp, - int mode, - int milliseconds, + SCREEN *sp, + int mode, + int milliseconds, int *timeleft) { return(*(int *)0); } @@ -1394,8 +1413,8 @@ char *_nc_first_name( #undef _nc_name_match int _nc_name_match( - const char *const namelst, - const char *const name, + const char *const namelst, + const char *const name, const char *const delim) { return(*(int *)0); } @@ -1429,14 +1448,14 @@ const char *const *_nc_strfnames(void) #undef _nc_set_buffer_sp void _nc_set_buffer_sp( - SCREEN *sp, - FILE *ofp, + SCREEN *sp, + FILE *ofp, int buffered) { /* void */ } #undef _nc_set_buffer void _nc_set_buffer( - FILE *ofp, + FILE *ofp, int buffered) { /* void */ } @@ -1449,28 +1468,28 @@ void _nc_init_termtype( #undef _nc_read_termtype int _nc_read_termtype( - TERMTYPE2 *ptr, - char *buffer, + TERMTYPE2 *ptr, + char *buffer, int limit) { return(*(int *)0); } #undef _nc_read_file_entry int _nc_read_file_entry( - const char *const filename, + const char *const filename, TERMTYPE2 *ptr) { return(*(int *)0); } #undef _nc_read_entry2 int _nc_read_entry2( - const char *const name, - char *const filename, + const char *const name, + char *const filename, TERMTYPE2 *const tp) { return(*(int *)0); } #undef _nc_read_entry int _nc_read_entry( - const char *const name, - char *const filename, + const char *const name, + char *const filename, TERMTYPE *const tp) { return(*(int *)0); } @@ -1484,32 +1503,32 @@ void _nc_read_termcap(void) #undef _nc_str_init string_desc *_nc_str_init( - string_desc *dst, - char *src, + string_desc *dst, + char *src, size_t len) { return(*(string_desc **)0); } #undef _nc_str_null string_desc *_nc_str_null( - string_desc *dst, + string_desc *dst, size_t len) { return(*(string_desc **)0); } #undef _nc_str_copy string_desc *_nc_str_copy( - string_desc *dst, + string_desc *dst, string_desc *src) { return(*(string_desc **)0); } #undef _nc_safe_strcat NCURSES_BOOL _nc_safe_strcat( - string_desc *dst, + string_desc *dst, const char *src) { return(*(NCURSES_BOOL *)0); } #undef _nc_safe_strcpy NCURSES_BOOL _nc_safe_strcpy( - string_desc *dst, + string_desc *dst, const char *src) { return(*(NCURSES_BOOL *)0); } @@ -1517,13 +1536,13 @@ NCURSES_BOOL _nc_safe_strcpy( #undef _nc_trace_buf char *_nc_trace_buf( - int bufnum, + int bufnum, size_t want) { return(*(char **)0); } #undef _nc_trace_bufcat char *_nc_trace_bufcat( - int bufnum, + int bufnum, const char *value) { return(*(char **)0); } @@ -1538,21 +1557,21 @@ void _nc_trace_tries( #undef _nc_expand_try char *_nc_expand_try( - TRIES *tree, - unsigned code, - int *count, + TRIES *tree, + unsigned code, + int *count, size_t len) { return(*(char **)0); } #undef _nc_remove_key int _nc_remove_key( - TRIES **tree, + TRIES **tree, unsigned code) { return(*(int *)0); } #undef _nc_remove_string int _nc_remove_string( - TRIES **tree, + TRIES **tree, const char *string) { return(*(int *)0); } @@ -1567,7 +1586,7 @@ char *_nc_trim_sgr0( #undef unctrl_sp const char *unctrl_sp( - SCREEN *sp, + SCREEN *sp, chtype ch) { return(*(const char **)0); } @@ -1580,7 +1599,7 @@ const char *unctrl( #undef _nc_visbuf2 const char *_nc_visbuf2( - int bufnum, + int bufnum, const char *buf) { return(*(const char **)0); } @@ -1591,13 +1610,13 @@ const char *_nc_visbuf( #undef _nc_visbufn const char *_nc_visbufn( - const char *buf, + const char *buf, int len) { return(*(const char **)0); } #undef _nc_viswbuf2 const char *_nc_viswbuf2( - int bufnum, + int bufnum, const wchar_t *buf) { return(*(const char **)0); } @@ -1608,7 +1627,7 @@ const char *_nc_viswbuf( #undef _nc_viswbufn const char *_nc_viswbufn( - const wchar_t *buf, + const wchar_t *buf, int len) { return(*(const char **)0); } @@ -1619,14 +1638,14 @@ const char *_nc_viswibuf( #undef _nc_viscbuf2 const char *_nc_viscbuf2( - int bufnum, - const cchar_t *buf, + int bufnum, + const cchar_t *buf, int len) { return(*(const char **)0); } #undef _nc_viscbuf const char *_nc_viscbuf( - const cchar_t *buf, + const cchar_t *buf, int len) { return(*(const char **)0); } @@ -1634,14 +1653,14 @@ const char *_nc_viscbuf( #undef define_key_sp int define_key_sp( - SCREEN *sp, - const char *str, + SCREEN *sp, + const char *str, int keycode) { return(*(int *)0); } #undef define_key int define_key( - const char *str, + const char *str, int keycode) { return(*(int *)0); } @@ -1655,7 +1674,7 @@ void _nc_hashed_db(void) #undef key_defined_sp int key_defined_sp( - SCREEN *sp, + SCREEN *sp, const char *str) { return(*(int *)0); } @@ -1668,14 +1687,14 @@ int key_defined( #undef keybound_sp char *keybound_sp( - SCREEN *sp, - int code, + SCREEN *sp, + int code, int count) { return(*(char **)0); } #undef keybound char *keybound( - int code, + int code, int count) { return(*(char **)0); } @@ -1683,14 +1702,14 @@ char *keybound( #undef keyok_sp int keyok_sp( - SCREEN *sp, - int c, + SCREEN *sp, + int c, NCURSES_BOOL flag) { return(*(int *)0); } #undef keyok int keyok( - int c, + int c, NCURSES_BOOL flag) { return(*(int *)0); }