]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/llib-lncurses
ncurses 6.4 - patch 20221231
[ncurses.git] / ncurses / llib-lncurses
index f0820f6728ed5ff10120b0f9387f1dc8ff79cf3b..211cf3b760138e0d227b8d4a97d36ae6ad1a2d25 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright 2019,2020,2021 Thomas E. Dickey                                *
+ * Copyright 2019,2021,2022 Thomas E. Dickey                                *
  * Copyright 1998-2016,2017 Free Software Foundation, Inc.                  *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
@@ -480,17 +480,17 @@ int       addstr(
 
 #undef attroff
 int    attroff(
-               int     z)
+               NCURSES_ATTR_T  z)
                { return(*(int *)0); }
 
 #undef attron
 int    attron(
-               int     z)
+               NCURSES_ATTR_T  z)
                { return(*(int *)0); }
 
 #undef attrset
 int    attrset(
-               int     z)
+               NCURSES_ATTR_T  z)
                { return(*(int *)0); }
 
 #undef attr_get
@@ -2805,6 +2805,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
@@ -2818,8 +2831,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
@@ -2981,7 +2994,7 @@ ENTRY     *_nc_tail;
 #undef _nc_free_entry
 void   _nc_free_entry(
                ENTRY   *headp,
-               TERMTYPE2 *tterm)
+               TERMTYPE *tterm)
                { /* void */ }
 
 #undef _nc_free_entries
@@ -3001,9 +3014,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 */
 
@@ -3012,6 +3025,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;
 
@@ -3457,7 +3475,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
@@ -3613,8 +3631,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)
@@ -3639,6 +3663,11 @@ char     *_nc_tiparm(
                ...)
                { return(*(char **)0); }
 
+#undef _nc_reset_tparm
+void   _nc_reset_tparm(
+               TERMINAL *term)
+               { /* void */ }
+
 /* ./tinfo/lib_tputs.c */
 
 #undef PC
@@ -4028,12 +4057,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); }
@@ -4041,14 +4070,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 */
@@ -4056,7 +4085,7 @@ int       _nc_read_entry(
 #undef _nc_read_termcap_entry
 int    _nc_read_termcap_entry(
                const char *const tn,
-               TERMTYPE2 *const tp)
+               TERMTYPE *const tp)
                { return(*(int *)0); }
 
 /* ./tinfo/strings.c */
@@ -4139,7 +4168,7 @@ int       _nc_remove_string(
 
 #undef _nc_trim_sgr0
 char   *_nc_trim_sgr0(
-               TERMTYPE2 *tp)
+               TERMTYPE *tp)
                { return(*(char **)0); }
 
 /* ./unctrl.c */
@@ -4201,7 +4230,7 @@ ENTRY     *_nc_copy_entry(
 
 #undef _nc_save_str
 char   *_nc_save_str(
-               const char *const string)
+               const char *string)
                { return(*(char **)0); }
 
 #undef _nc_wrap_entry
@@ -4245,7 +4274,7 @@ char      *_nc_tic_expand(
 
 #undef _nc_check_termtype2
 void   (*_nc_check_termtype2)(
-               TERMTYPE2 *p1,
+               TERMTYPE *p1,
                NCURSES_BOOL p2);
 
 #undef _nc_entry_match
@@ -4340,12 +4369,12 @@ void    _nc_set_writedir(
 
 #undef _nc_write_entry
 void   _nc_write_entry(
-               TERMTYPE2 *const tp)
+               TERMTYPE *const tp)
                { /* void */ }
 
 #undef _nc_write_object
 int    _nc_write_object(
-               TERMTYPE2 *tp,
+               TERMTYPE *tp,
                char    *buffer,
                unsigned *offset,
                unsigned limit)