]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/llib-ltinfow
ncurses 6.2 - patch 20210403
[ncurses.git] / ncurses / llib-ltinfow
index 6df32966082abeeb07d074b7a23d73d483b35773..815e6b3e3c3e5de0958ad65a2f460ec6c68948bc 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
 /****************************************************************************
- * Copyright (c) 2012-2013,2015 Free Software Foundation, Inc.              *
+ * Copyright 2018-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            *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -34,8 +35,6 @@
 /* ./tinfo/access.c */
 
 #include <curses.priv.h>
 /* ./tinfo/access.c */
 
 #include <curses.priv.h>
-#include <ctype.h>
-#include <tic.h>
 
 #undef _nc_rootname
 char   *_nc_rootname(
 
 #undef _nc_rootname
 char   *_nc_rootname(
@@ -90,8 +89,8 @@ int   _nc_add_to_try(
 
 #undef _nc_align_termtype
 void   _nc_align_termtype(
 
 #undef _nc_align_termtype
 void   _nc_align_termtype(
-               TERMTYPE *to, 
-               TERMTYPE *from)
+               TERMTYPE2 *to, 
+               TERMTYPE2 *from)
                { /* void */ }
 
 #undef _nc_copy_termtype
                { /* void */ }
 
 #undef _nc_copy_termtype
@@ -100,6 +99,18 @@ void        _nc_copy_termtype(
                const TERMTYPE *src)
                { /* void */ }
 
                const TERMTYPE *src)
                { /* void */ }
 
+#undef _nc_copy_termtype2
+void   _nc_copy_termtype2(
+               TERMTYPE2 *dst, 
+               const TERMTYPE2 *src)
+               { /* void */ }
+
+#undef _nc_export_termtype2
+void   _nc_export_termtype2(
+               TERMTYPE *dst, 
+               const TERMTYPE2 *src)
+               { /* void */ }
+
 /* ./codes.c */
 
 #undef boolcodes
 /* ./codes.c */
 
 #undef boolcodes
@@ -111,8 +122,6 @@ const char *const strcodes[] = {0};
 
 /* ./comp_captab.c */
 
 
 /* ./comp_captab.c */
 
-#include <hashsize.h>
-
 #undef _nc_get_table
 const struct name_table_entry *_nc_get_table(
                NCURSES_BOOL termcap)
 #undef _nc_get_table
 const struct name_table_entry *_nc_get_table(
                NCURSES_BOOL termcap)
@@ -194,9 +203,22 @@ struct name_table_entry const *_nc_find_type_entry(
                NCURSES_BOOL termcap)
                { return(*(struct name_table_entry const **)0); }
 
                NCURSES_BOOL termcap)
                { return(*(struct name_table_entry const **)0); }
 
-/* ./tinfo/db_iterator.c */
+#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); }
 
 
-#include <time.h>
+#undef _nc_get_hash_user
+const HashData *_nc_get_hash_user(void)
+               { return(*(const HashData **)0); }
+
+/* ./tinfo/db_iterator.c */
 
 #undef _nc_tic_dir
 const char *_nc_tic_dir(
 
 #undef _nc_tic_dir
 const char *_nc_tic_dir(
@@ -242,7 +264,7 @@ ENTRY       *_nc_tail;
 #undef _nc_free_entry
 void   _nc_free_entry(
                ENTRY   *headp, 
 #undef _nc_free_entry
 void   _nc_free_entry(
                ENTRY   *headp, 
-               TERMTYPE *tterm)
+               TERMTYPE2 *tterm)
                { /* void */ }
 
 #undef _nc_free_entries
                { /* void */ }
 
 #undef _nc_free_entries
@@ -250,18 +272,22 @@ void      _nc_free_entries(
                ENTRY   *headp)
                { /* void */ }
 
                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 _nc_leaks_tinfo
 void   _nc_leaks_tinfo(void)
                { /* void */ }
 
+#undef exit_terminfo
+void   exit_terminfo(
+               int     code)
+               { /* void */ }
+
 /* ./fallback.c */
 
 /* ./fallback.c */
 
+#undef _nc_fallback2
+const TERMTYPE2 *_nc_fallback2(
+               const char *name)
+               { return(*(const TERMTYPE2 **)0); }
+
 #undef _nc_fallback
 const TERMTYPE *_nc_fallback(
                const char *name)
 #undef _nc_fallback
 const TERMTYPE *_nc_fallback(
                const char *name)
@@ -274,6 +300,11 @@ void       _nc_free_termtype(
                TERMTYPE *ptr)
                { /* void */ }
 
                TERMTYPE *ptr)
                { /* void */ }
 
+#undef _nc_free_termtype2
+void   _nc_free_termtype2(
+               TERMTYPE2 *ptr)
+               { /* void */ }
+
 #undef _nc_user_definable
 NCURSES_BOOL _nc_user_definable;
 
 #undef _nc_user_definable
 NCURSES_BOOL _nc_user_definable;
 
@@ -303,15 +334,6 @@ char       *_nc_home_terminfo(void)
 
 /* ./tinfo/init_keytry.c */
 
 
 /* ./tinfo/init_keytry.c */
 
-#if 0
-
-#include <init_keytry.h>
-
-#undef _nc_tinfo_fkeys
-const struct tinfo_fkeys _nc_tinfo_fkeys[] = {0};
-
-#endif
-
 #undef _nc_init_keytry
 void   _nc_init_keytry(
                SCREEN  *sp)
 #undef _nc_init_keytry
 void   _nc_init_keytry(
                SCREEN  *sp)
@@ -333,11 +355,9 @@ void       _nc_init_acs(void)
 
 /* ./tinfo/lib_baudrate.c */
 
 
 /* ./tinfo/lib_baudrate.c */
 
-#include <termcap.h>
-
 struct speed {
 struct speed {
-    short s
-    int sp
+    int given_speed
+    int actual_speed
 };
 
 #undef _nc_baudrate
 };
 
 #undef _nc_baudrate
@@ -485,8 +505,6 @@ char        *longname(void)
 
 /* ./tinfo/lib_napms.c */
 
 
 /* ./tinfo/lib_napms.c */
 
-#include <sys/time.h>
-
 #undef napms_sp
 int    napms_sp(
                SCREEN  *sp, 
 #undef napms_sp
 int    napms_sp(
                SCREEN  *sp, 
@@ -670,10 +688,6 @@ int        intrflush(
 
 /* ./tinfo/lib_setup.c */
 
 
 /* ./tinfo/lib_setup.c */
 
-#include <locale.h>
-#include <sys/ioctl.h>
-#include <langinfo.h>
-
 #undef ttytype
 char   ttytype[256];
 #undef LINES
 #undef ttytype
 char   ttytype[256];
 #undef LINES
@@ -736,7 +750,7 @@ void        _nc_update_screensize(
 #undef _nc_setup_tinfo
 int    _nc_setup_tinfo(
                const char *const tn, 
 #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
                { return(*(int *)0); }
 
 #undef _nc_tinfo_cmdch
@@ -791,12 +805,6 @@ int        tgetent_sp(
                const char *name)
                { return(*(int *)0); }
 
                const char *name)
                { return(*(int *)0); }
 
-#if 0
-
-#include <capdefaults.c>
-
-#endif
-
 #undef tgetent
 int    tgetent(
                char    *bufp, 
 #undef tgetent
 int    tgetent(
                char    *bufp, 
@@ -917,6 +925,13 @@ char       *tiparm(
                ...)
                { return(*(char **)0); }
 
                ...)
                { return(*(char **)0); }
 
+#undef _nc_tiparm
+char   *_nc_tiparm(
+               int     expected, 
+               const char *string, 
+               ...)
+               { return(*(char **)0); }
+
 /* ./tinfo/lib_tputs.c */
 
 #undef PC
 /* ./tinfo/lib_tputs.c */
 
 #undef PC
@@ -1028,6 +1043,11 @@ const char *_nc_tputs_trace = {0};
 #undef _nc_outchars
 long   _nc_outchars;
 
 #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)
 #undef trace
 void   trace(
                const unsigned int tracelevel)
@@ -1089,6 +1109,13 @@ WINDOW   *_nc_retrace_win(
                WINDOW  *code)
                { return(*(WINDOW **)0); }
 
                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
 /* ./trace/lib_traceatr.c */
 
 #undef _traceattr2
@@ -1147,11 +1174,6 @@ char     *_tracecchar_t(
 
 /* ./trace/lib_tracebits.c */
 
 
 /* ./trace/lib_tracebits.c */
 
-typedef struct {
-    unsigned int val;
-    const char name[8];
-} BITNAMES;
-
 #undef _nc_trace_ttymode
 char   *_nc_trace_ttymode(
                struct termios *tty)
 #undef _nc_trace_ttymode
 char   *_nc_trace_ttymode(
                struct termios *tty)
@@ -1308,16 +1330,14 @@ void    _nc_set_buffer(
 
 /* ./tinfo/read_entry.c */
 
 
 /* ./tinfo/read_entry.c */
 
-#include <hashed_db.h>
-
 #undef _nc_init_termtype
 void   _nc_init_termtype(
 #undef _nc_init_termtype
 void   _nc_init_termtype(
-               TERMTYPE *const tp)
+               TERMTYPE2 *const tp)
                { /* void */ }
 
 #undef _nc_read_termtype
 int    _nc_read_termtype(
                { /* void */ }
 
 #undef _nc_read_termtype
 int    _nc_read_termtype(
-               TERMTYPE *ptr, 
+               TERMTYPE2 *ptr, 
                char    *buffer, 
                int     limit)
                { return(*(int *)0); }
                char    *buffer, 
                int     limit)
                { return(*(int *)0); }
@@ -1325,7 +1345,14 @@ int      _nc_read_termtype(
 #undef _nc_read_file_entry
 int    _nc_read_file_entry(
                const char *const filename, 
 #undef _nc_read_file_entry
 int    _nc_read_file_entry(
                const char *const filename, 
-               TERMTYPE *ptr)
+               TERMTYPE2 *ptr)
+               { return(*(int *)0); }
+
+#undef _nc_read_entry2
+int    _nc_read_entry2(
+               const char *const name, 
+               char    *const filename, 
+               TERMTYPE2 *const tp)
                { return(*(int *)0); }
 
 #undef _nc_read_entry
                { return(*(int *)0); }
 
 #undef _nc_read_entry
@@ -1337,8 +1364,6 @@ int       _nc_read_entry(
 
 /* ./tinfo/read_termcap.c */
 
 
 /* ./tinfo/read_termcap.c */
 
-#include <sys/types.h>
-
 #undef _nc_read_termcap
 void   _nc_read_termcap(void)
                { /* void */ }
 #undef _nc_read_termcap
 void   _nc_read_termcap(void)
                { /* void */ }
@@ -1423,7 +1448,7 @@ int       _nc_remove_string(
 
 #undef _nc_trim_sgr0
 char   *_nc_trim_sgr0(
 
 #undef _nc_trim_sgr0
 char   *_nc_trim_sgr0(
-               TERMTYPE *tp)
+               TERMTYPE2 *tp)
                { return(*(char **)0); }
 
 /* ./unctrl.c */
                { return(*(char **)0); }
 
 /* ./unctrl.c */