]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/llib-ltinfo
ncurses 6.4 - patch 20240420
[ncurses.git] / ncurses / llib-ltinfo
index ec24d160e89f6c3713e0f97f0ae562c7a1a6afe8..5cfa111a236d68c15770a351a88f37429d9473fe 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright 2019-2020,2021 Thomas E. Dickey                                *
+ * Copyright 2019-2022,2023 Thomas E. Dickey                                *
  * Copyright 2012-2016,2017 Free Software Foundation, Inc.                  *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
@@ -76,6 +76,19 @@ 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
@@ -89,8 +102,8 @@ int  _nc_add_to_try(
 
 #undef _nc_align_termtype
 void   _nc_align_termtype(
-               TERMTYPE2 *to,
-               TERMTYPE2 *from)
+               TERMTYPE *to,
+               TERMTYPE *from)
                { /* void */ }
 
 #undef _nc_copy_termtype
@@ -252,7 +265,7 @@ ENTRY       *_nc_tail;
 #undef _nc_free_entry
 void   _nc_free_entry(
                ENTRY   *headp,
-               TERMTYPE2 *tterm)
+               TERMTYPE *tterm)
                { /* void */ }
 
 #undef _nc_free_entries
@@ -272,9 +285,9 @@ void        exit_terminfo(
 /* ./fallback.c */
 
 #undef _nc_fallback
-const TERMTYPE2 *_nc_fallback(
+const TERMTYPE *_nc_fallback(
                const char *name)
-               { return(*(const TERMTYPE2 **)0); }
+               { return(*(const TERMTYPE **)0); }
 
 /* ./tinfo/free_ttype.c */
 
@@ -283,6 +296,11 @@ void       _nc_free_termtype(
                TERMTYPE *ptr)
                { /* void */ }
 
+#undef _nc_free_termtype1
+void   _nc_free_termtype1(
+               TERMTYPE *ptr)
+               { /* void */ }
+
 #undef _nc_user_definable
 NCURSES_BOOL _nc_user_definable;
 
@@ -664,6 +682,42 @@ int        intrflush(
                NCURSES_BOOL flag)
                { return(*(int *)0); }
 
+#undef is_nl_sp
+int    is_nl_sp(
+               SCREEN  *sp)
+               { return(*(int *)0); }
+
+#undef is_raw_sp
+int    is_raw_sp(
+               SCREEN  *sp)
+               { return(*(int *)0); }
+
+#undef is_cbreak_sp
+int    is_cbreak_sp(
+               SCREEN  *sp)
+               { return(*(int *)0); }
+
+#undef is_echo_sp
+int    is_echo_sp(
+               SCREEN  *sp)
+               { return(*(int *)0); }
+
+#undef is_nl
+int    is_nl(void)
+               { return(*(int *)0); }
+
+#undef is_raw
+int    is_raw(void)
+               { return(*(int *)0); }
+
+#undef is_cbreak
+int    is_cbreak(void)
+               { return(*(int *)0); }
+
+#undef is_echo
+int    is_echo(void)
+               { return(*(int *)0); }
+
 /* ./tinfo/lib_setup.c */
 
 #undef ttytype
@@ -728,7 +782,7 @@ void        _nc_update_screensize(
 #undef _nc_setup_tinfo
 int    _nc_setup_tinfo(
                const char *const tn,
-               TERMTYPE2 *const tp)
+               TERMTYPE *const tp)
                { return(*(int *)0); }
 
 #undef _nc_tinfo_cmdch
@@ -884,8 +938,14 @@ char       *tigetstr(
 #undef _nc_tparm_err
 int    _nc_tparm_err;
 
+#undef _nc_free_tparm
+void   _nc_free_tparm(
+               TERMINAL *termp)
+               { /* void */ }
+
 #undef _nc_tparm_analyze
 int    _nc_tparm_analyze(
+               TERMINAL *term,
                const char *string,
                char    **p_is_s,
                int     *_nc_popcount)
@@ -903,6 +963,21 @@ char       *tiparm(
                ...)
                { return(*(char **)0); }
 
+#undef tiparm_s
+char   *tiparm_s(
+               int     num_expected,
+               int     tparm_type,
+               const char *string,
+               ...)
+               { return(*(char **)0); }
+
+#undef tiscan_s
+int    tiscan_s(
+               int     *num_expected,
+               int     *tparm_type,
+               const char *string)
+               { return(*(int *)0); }
+
 #undef _nc_tiparm
 char   *_nc_tiparm(
                int     expected,
@@ -910,6 +985,11 @@ char       *_nc_tiparm(
                ...)
                { return(*(char **)0); }
 
+#undef _nc_reset_tparm
+void   _nc_reset_tparm(
+               TERMINAL *term)
+               { /* void */ }
+
 /* ./tinfo/lib_tputs.c */
 
 #undef PC
@@ -1299,12 +1379,12 @@ void    _nc_set_buffer(
 
 #undef _nc_init_termtype
 void   _nc_init_termtype(
-               TERMTYPE2 *const tp)
+               TERMTYPE *const tp)
                { /* void */ }
 
 #undef _nc_read_termtype
 int    _nc_read_termtype(
-               TERMTYPE2 *ptr,
+               TERMTYPE *ptr,
                char    *buffer,
                int     limit)
                { return(*(int *)0); }
@@ -1312,14 +1392,14 @@ int     _nc_read_termtype(
 #undef _nc_read_file_entry
 int    _nc_read_file_entry(
                const char *const filename,
-               TERMTYPE2 *ptr)
+               TERMTYPE *ptr)
                { return(*(int *)0); }
 
 #undef _nc_read_entry
 int    _nc_read_entry(
                const char *const name,
                char    *const filename,
-               TERMTYPE2 *const tp)
+               TERMTYPE *const tp)
                { return(*(int *)0); }
 
 /* ./tinfo/read_termcap.c */
@@ -1346,7 +1426,7 @@ string_desc *_nc_str_null(
 #undef _nc_str_copy
 string_desc *_nc_str_copy(
                string_desc *dst,
-               string_desc *src)
+               const string_desc *const src)
                { return(*(string_desc **)0); }
 
 #undef _nc_safe_strcat
@@ -1408,7 +1488,7 @@ int       _nc_remove_string(
 
 #undef _nc_trim_sgr0
 char   *_nc_trim_sgr0(
-               TERMTYPE2 *tp)
+               TERMTYPE *tp)
                { return(*(char **)0); }
 
 /* ./unctrl.c */