X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fllib-ltinfo;h=b2160d4f66b7da59433b84e8c886227b364b3d3e;hp=44a086825434d6b996028b68f857407a2555d7ea;hb=a6eb34d7fec8170a8715f9e53ca2f96452dd30dd;hpb=4060536b87c0e484b2c0633978766a109bc763f0 diff --git a/ncurses/llib-ltinfo b/ncurses/llib-ltinfo index 44a08682..b2160d4f 100644 --- a/ncurses/llib-ltinfo +++ b/ncurses/llib-ltinfo @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2012-2013,2015 Free Software Foundation, Inc. * + * Copyright 2019,2020 Thomas E. Dickey * + * Copyright 2012-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -34,6 +35,7 @@ /* ./tinfo/access.c */ #include + #undef _nc_rootname char *_nc_rootname( char *path) @@ -87,8 +89,8 @@ int _nc_add_to_try( #undef _nc_align_termtype void _nc_align_termtype( - TERMTYPE *to, - TERMTYPE *from) + TERMTYPE2 *to, + TERMTYPE2 *from) { /* void */ } #undef _nc_copy_termtype @@ -189,6 +191,21 @@ struct name_table_entry const *_nc_find_type_entry( NCURSES_BOOL termcap) { return(*(struct name_table_entry const **)0); } +#undef _nc_find_user_entry +struct user_table_entry const *_nc_find_user_entry( + const char *string) + { return(*(struct user_table_entry const **)0); } + +/* ./comp_userdefs.c */ + +#undef _nc_get_userdefs_table +const struct user_table_entry *_nc_get_userdefs_table(void) + { return(*(const struct user_table_entry **)0); } + +#undef _nc_get_hash_user +const HashData *_nc_get_hash_user(void) + { return(*(const HashData **)0); } + /* ./tinfo/db_iterator.c */ #undef _nc_tic_dir @@ -235,7 +252,7 @@ ENTRY *_nc_tail; #undef _nc_free_entry void _nc_free_entry( ENTRY *headp, - TERMTYPE *tterm) + TERMTYPE2 *tterm) { /* void */ } #undef _nc_free_entries @@ -243,22 +260,21 @@ void _nc_free_entries( ENTRY *headp) { /* void */ } -#undef _nc_delink_entry -ENTRY *_nc_delink_entry( - ENTRY *headp, - TERMTYPE *tterm) - { return(*(ENTRY **)0); } - #undef _nc_leaks_tinfo void _nc_leaks_tinfo(void) { /* void */ } +#undef exit_terminfo +void exit_terminfo( + int code) + { /* void */ } + /* ./fallback.c */ #undef _nc_fallback -const TERMTYPE *_nc_fallback( +const TERMTYPE2 *_nc_fallback( const char *name) - { return(*(const TERMTYPE **)0); } + { return(*(const TERMTYPE2 **)0); } /* ./tinfo/free_ttype.c */ @@ -318,8 +334,8 @@ void _nc_init_acs(void) /* ./tinfo/lib_baudrate.c */ struct speed { - short s; - int sp; + int given_speed; + int actual_speed; }; #undef _nc_baudrate @@ -712,7 +728,7 @@ void _nc_update_screensize( #undef _nc_setup_tinfo int _nc_setup_tinfo( const char *const tn, - TERMTYPE *const tp) + TERMTYPE2 *const tp) { return(*(int *)0); } #undef _nc_tinfo_cmdch @@ -887,6 +903,13 @@ char *tiparm( ...) { return(*(char **)0); } +#undef _nc_tiparm +char *_nc_tiparm( + int expected, + const char *string, + ...) + { return(*(char **)0); } + /* ./tinfo/lib_tputs.c */ #undef PC @@ -998,6 +1021,11 @@ const char *_nc_tputs_trace = {0}; #undef _nc_outchars long _nc_outchars; +#undef curses_trace +unsigned curses_trace( + unsigned tracelevel) + { return(*(unsigned *)0); } + #undef trace void trace( const unsigned int tracelevel) @@ -1059,6 +1087,13 @@ WINDOW *_nc_retrace_win( WINDOW *code) { return(*(WINDOW **)0); } +#undef _nc_fmt_funcptr +char *_nc_fmt_funcptr( + char *target, + const char *source, + size_t size) + { return(*(char **)0); } + /* ./trace/lib_traceatr.c */ #undef _traceattr2 @@ -1264,12 +1299,12 @@ void _nc_set_buffer( #undef _nc_init_termtype void _nc_init_termtype( - TERMTYPE *const tp) + TERMTYPE2 *const tp) { /* void */ } #undef _nc_read_termtype int _nc_read_termtype( - TERMTYPE *ptr, + TERMTYPE2 *ptr, char *buffer, int limit) { return(*(int *)0); } @@ -1277,14 +1312,14 @@ int _nc_read_termtype( #undef _nc_read_file_entry int _nc_read_file_entry( const char *const filename, - TERMTYPE *ptr) + TERMTYPE2 *ptr) { return(*(int *)0); } #undef _nc_read_entry int _nc_read_entry( const char *const name, char *const filename, - TERMTYPE *const tp) + TERMTYPE2 *const tp) { return(*(int *)0); } /* ./tinfo/read_termcap.c */ @@ -1373,7 +1408,7 @@ int _nc_remove_string( #undef _nc_trim_sgr0 char *_nc_trim_sgr0( - TERMTYPE *tp) + TERMTYPE2 *tp) { return(*(char **)0); } /* ./unctrl.c */