]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/llib-lncursesw
ncurses 6.1 - patch 20180923
[ncurses.git] / ncurses / llib-lncursesw
index c9ce866f378259eb8c334996f31e3632a928e313..7d0dc1baa54255dc2fef3f078dc829d92287df54 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
 /****************************************************************************
- * Copyright (c) 2001-2016,2017 Free Software Foundation, Inc.              *
+ * Copyright (c) 2001-2017,2018 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,7 +34,6 @@
 /* ./tty/hardscroll.c */
 
 #include <curses.priv.h>
 /* ./tty/hardscroll.c */
 
 #include <curses.priv.h>
-
 #undef _nc_oldnums
 int    *_nc_oldnums;
 
 #undef _nc_oldnums
 int    *_nc_oldnums;
 
@@ -219,7 +218,7 @@ int wchgat(
                WINDOW  *win, 
                int     n, 
                attr_t  attr, 
                WINDOW  *win, 
                int     n, 
                attr_t  attr, 
-               short   color
+               short   pair_arg
                const void *opts)
                { return(*(int *)0); }
 
                const void *opts)
                { return(*(int *)0); }
 
@@ -283,6 +282,20 @@ void       _nc_change_pair(
                int     pair)
                { /* void */ }
 
                int     pair)
                { /* void */ }
 
+#undef _nc_reserve_pairs
+colorpair_t *_nc_reserve_pairs(
+               SCREEN  *sp, 
+               int     want)
+               { return(*(colorpair_t **)0); }
+
+#undef _nc_init_pair
+int    _nc_init_pair(
+               SCREEN  *sp, 
+               int     pair, 
+               int     f, 
+               int     b)
+               { return(*(int *)0); }
+
 #undef init_pair_sp
 int    init_pair_sp(
                SCREEN  *sp, 
 #undef init_pair_sp
 int    init_pair_sp(
                SCREEN  *sp, 
@@ -298,6 +311,15 @@ int        init_pair(
                short   b)
                { return(*(int *)0); }
 
                short   b)
                { return(*(int *)0); }
 
+#undef _nc_init_color
+int    _nc_init_color(
+               SCREEN  *sp, 
+               int     color, 
+               int     r, 
+               int     g, 
+               int     b)
+               { return(*(int *)0); }
+
 #undef init_color_sp
 int    init_color_sp(
                SCREEN  *sp, 
 #undef init_color_sp
 int    init_color_sp(
                SCREEN  *sp, 
@@ -350,6 +372,14 @@ int        color_content(
                short   *b)
                { return(*(int *)0); }
 
                short   *b)
                { return(*(int *)0); }
 
+#undef _nc_pair_content
+int    _nc_pair_content(
+               SCREEN  *sp, 
+               int     pair, 
+               int     *f, 
+               int     *b)
+               { return(*(int *)0); }
+
 #undef pair_content_sp
 int    pair_content_sp(
                SCREEN  *sp, 
 #undef pair_content_sp
 int    pair_content_sp(
                SCREEN  *sp, 
@@ -382,12 +412,85 @@ void      _nc_do_color(
                NCURSES_OUTC outc)
                { /* void */ }
 
                NCURSES_OUTC outc)
                { /* void */ }
 
+#undef init_extended_pair_sp
+int    init_extended_pair_sp(
+               SCREEN  *sp, 
+               int     pair, 
+               int     f, 
+               int     b)
+               { return(*(int *)0); }
+
+#undef init_extended_color_sp
+int    init_extended_color_sp(
+               SCREEN  *sp, 
+               int     color, 
+               int     r, 
+               int     g, 
+               int     b)
+               { return(*(int *)0); }
+
+#undef extended_color_content_sp
+int    extended_color_content_sp(
+               SCREEN  *sp, 
+               int     color, 
+               int     *r, 
+               int     *g, 
+               int     *b)
+               { return(*(int *)0); }
+
+#undef extended_pair_content_sp
+int    extended_pair_content_sp(
+               SCREEN  *sp, 
+               int     pair, 
+               int     *f, 
+               int     *b)
+               { return(*(int *)0); }
+
+#undef reset_color_pairs_sp
+void   reset_color_pairs_sp(
+               SCREEN  *sp)
+               { /* void */ }
+
+#undef init_extended_pair
+int    init_extended_pair(
+               int     pair, 
+               int     f, 
+               int     b)
+               { return(*(int *)0); }
+
+#undef init_extended_color
+int    init_extended_color(
+               int     color, 
+               int     r, 
+               int     g, 
+               int     b)
+               { return(*(int *)0); }
+
+#undef extended_color_content
+int    extended_color_content(
+               int     color, 
+               int     *r, 
+               int     *g, 
+               int     *b)
+               { return(*(int *)0); }
+
+#undef extended_pair_content
+int    extended_pair_content(
+               int     pair, 
+               int     *f, 
+               int     *b)
+               { return(*(int *)0); }
+
+#undef reset_color_pairs
+void   reset_color_pairs(void)
+               { /* void */ }
+
 /* ./base/lib_colorset.c */
 
 #undef wcolor_set
 int    wcolor_set(
                WINDOW  *win, 
 /* ./base/lib_colorset.c */
 
 #undef wcolor_set
 int    wcolor_set(
                WINDOW  *win, 
-               short   color_pair_number
+               short   pair_arg
                void    *opts)
                { return(*(int *)0); }
 
                void    *opts)
                { return(*(int *)0); }
 
@@ -2584,14 +2687,14 @@ int     slk_restore(void)
 int    slk_attr_set_sp(
                SCREEN  *sp, 
                const attr_t attr, 
 int    slk_attr_set_sp(
                SCREEN  *sp, 
                const attr_t attr, 
-               short   color_pair_number
+               short   pair_arg
                void    *opts)
                { return(*(int *)0); }
 
 #undef slk_attr_set
 int    slk_attr_set(
                const attr_t attr, 
                void    *opts)
                { return(*(int *)0); }
 
 #undef slk_attr_set
 int    slk_attr_set(
                const attr_t attr, 
-               short   color_pair_number
+               short   pair_arg
                void    *opts)
                { return(*(int *)0); }
 
                void    *opts)
                { return(*(int *)0); }
 
@@ -2661,12 +2764,23 @@ int     slk_clear(void)
 #undef slk_color_sp
 int    slk_color_sp(
                SCREEN  *sp, 
 #undef slk_color_sp
 int    slk_color_sp(
                SCREEN  *sp, 
-               short   color_pair_number)
+               short   pair_arg)
                { return(*(int *)0); }
 
 #undef slk_color
 int    slk_color(
                { return(*(int *)0); }
 
 #undef slk_color
 int    slk_color(
-               short   color_pair_number)
+               short   pair_arg)
+               { return(*(int *)0); }
+
+#undef extended_slk_color_sp
+int    extended_slk_color_sp(
+               SCREEN  *sp, 
+               int     pair_arg)
+               { return(*(int *)0); }
+
+#undef extended_slk_color
+int    extended_slk_color(
+               int     pair_arg)
                { return(*(int *)0); }
 
 /* ./base/lib_slkinit.c */
                { return(*(int *)0); }
 
 /* ./base/lib_slkinit.c */
@@ -3107,7 +3221,7 @@ int       setcchar(
                cchar_t *wcval, 
                const wchar_t *wch, 
                const attr_t attrs, 
                cchar_t *wcval, 
                const wchar_t *wch, 
                const attr_t attrs, 
-               short   color_pair
+               short   pair_arg
                const void *opts)
                { return(*(int *)0); }
 
                const void *opts)
                { return(*(int *)0); }
 
@@ -3116,7 +3230,7 @@ int       getcchar(
                const cchar_t *wcval, 
                wchar_t *wch, 
                attr_t  *attrs, 
                const cchar_t *wcval, 
                wchar_t *wch, 
                attr_t  *attrs, 
-               short   *color_pair
+               short   *pair_arg
                void    *opts)
                { return(*(int *)0); }
 
                void    *opts)
                { return(*(int *)0); }
 
@@ -3261,7 +3375,7 @@ int       unget_wch(
 int    vid_puts_sp(
                SCREEN  *sp, 
                attr_t  newmode, 
 int    vid_puts_sp(
                SCREEN  *sp, 
                attr_t  newmode, 
-               short   pair, 
+               short   pair_arg
                void    *opts, 
                NCURSES_OUTC_sp outc)
                { return(*(int *)0); }
                void    *opts, 
                NCURSES_OUTC_sp outc)
                { return(*(int *)0); }
@@ -3269,7 +3383,7 @@ int       vid_puts_sp(
 #undef vid_puts
 int    vid_puts(
                attr_t  newmode, 
 #undef vid_puts
 int    vid_puts(
                attr_t  newmode, 
-               short   pair, 
+               short   pair_arg
                void    *opts, 
                NCURSES_OUTC outc)
                { return(*(int *)0); }
                void    *opts, 
                NCURSES_OUTC outc)
                { return(*(int *)0); }
@@ -3278,14 +3392,14 @@ int     vid_puts(
 int    vid_attr_sp(
                SCREEN  *sp, 
                attr_t  newmode, 
 int    vid_attr_sp(
                SCREEN  *sp, 
                attr_t  newmode, 
-               short   pair, 
+               short   pair_arg
                void    *opts)
                { return(*(int *)0); }
 
 #undef vid_attr
 int    vid_attr(
                attr_t  newmode, 
                void    *opts)
                { return(*(int *)0); }
 
 #undef vid_attr
 int    vid_attr(
                attr_t  newmode, 
-               short   pair, 
+               short   pair_arg
                void    *opts)
                { return(*(int *)0); }
 
                void    *opts)
                { return(*(int *)0); }
 
@@ -3430,6 +3544,11 @@ int      mcprint(
 
 /* ./base/new_pair.c */
 
 
 /* ./base/new_pair.c */
 
+#undef _nc_free_ordered_pairs
+void   _nc_free_ordered_pairs(
+               SCREEN  *sp)
+               { /* void */ }
+
 #undef _nc_reset_color_pair
 void   _nc_reset_color_pair(
                SCREEN  *sp, 
 #undef _nc_reset_color_pair
 void   _nc_reset_color_pair(
                SCREEN  *sp, 
@@ -3444,6 +3563,14 @@ void     _nc_set_color_pair(
                int     mode)
                { /* void */ }
 
                int     mode)
                { /* void */ }
 
+#undef _nc_copy_pairs
+void   _nc_copy_pairs(
+               SCREEN  *sp, 
+               colorpair_t *target, 
+               colorpair_t *source, 
+               int     length)
+               { /* void */ }
+
 #undef alloc_pair_sp
 int    alloc_pair_sp(
                SCREEN  *sp, 
 #undef alloc_pair_sp
 int    alloc_pair_sp(
                SCREEN  *sp, 
@@ -3611,8 +3738,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
@@ -3621,6 +3748,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
@@ -3759,7 +3898,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
@@ -3767,18 +3906,17 @@ 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 */ }
 
 /* ./fallback.c */
 
 #undef _nc_leaks_tinfo
 void   _nc_leaks_tinfo(void)
                { /* void */ }
 
 /* ./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)
@@ -3791,6 +3929,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;
 
@@ -4236,7 +4379,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
@@ -4799,12 +4942,12 @@ void    _nc_set_buffer(
 
 #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); }
@@ -4812,7 +4955,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
@@ -4827,7 +4977,7 @@ int       _nc_read_entry(
 #undef _nc_read_termcap_entry
 int    _nc_read_termcap_entry(
                const char *const tn, 
 #undef _nc_read_termcap_entry
 int    _nc_read_termcap_entry(
                const char *const tn, 
-               TERMTYPE *const tp)
+               TERMTYPE2 *const tp)
                { return(*(int *)0); }
 
 /* ./tinfo/strings.c */
                { return(*(int *)0); }
 
 /* ./tinfo/strings.c */
@@ -4910,7 +5060,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 */
@@ -4984,7 +5134,7 @@ const char *_nc_viscbuf(
 
 #undef _nc_init_entry
 void   _nc_init_entry(
 
 #undef _nc_init_entry
 void   _nc_init_entry(
-               TERMTYPE *const tp)
+               ENTRY   *const tp)
                { /* void */ }
 
 #undef _nc_copy_entry
                { /* void */ }
 
 #undef _nc_copy_entry
@@ -5005,8 +5155,8 @@ void      _nc_wrap_entry(
 
 #undef _nc_merge_entry
 void   _nc_merge_entry(
 
 #undef _nc_merge_entry
 void   _nc_merge_entry(
-               TERMTYPE *const to
-               TERMTYPE *const from)
+               ENTRY   *const target
+               ENTRY   *const source)
                { /* void */ }
 
 /* ./tinfo/captoinfo.c */
                { /* void */ }
 
 /* ./tinfo/captoinfo.c */
@@ -5038,11 +5188,8 @@ char     *_nc_tic_expand(
 
 #undef _nc_check_termtype2
 void   (*_nc_check_termtype2)(
 
 #undef _nc_check_termtype2
 void   (*_nc_check_termtype2)(
-               TERMTYPE *p1, 
+               TERMTYPE2 *p1, 
                NCURSES_BOOL p2);
                NCURSES_BOOL p2);
-#undef _nc_check_termtype
-void   (*_nc_check_termtype)(
-               TERMTYPE *p1);
 
 #undef _nc_entry_match
 NCURSES_BOOL _nc_entry_match(
 
 #undef _nc_entry_match
 NCURSES_BOOL _nc_entry_match(
@@ -5066,11 +5213,6 @@ int      _nc_resolve_uses2(
                NCURSES_BOOL literal)
                { return(*(int *)0); }
 
                NCURSES_BOOL literal)
                { return(*(int *)0); }
 
-#undef _nc_resolve_uses
-int    _nc_resolve_uses(
-               NCURSES_BOOL fullresolve)
-               { return(*(int *)0); }
-
 /* ./tinfo/comp_scan.c */
 
 #undef _nc_syntax
 /* ./tinfo/comp_scan.c */
 
 #undef _nc_syntax
@@ -5121,7 +5263,7 @@ void      _nc_panic_mode(
 
 #undef _nc_parse_entry
 int    _nc_parse_entry(
 
 #undef _nc_parse_entry
 int    _nc_parse_entry(
-               struct entry *entryp, 
+               ENTRY   *entryp, 
                int     literal, 
                NCURSES_BOOL silent)
                { return(*(int *)0); }
                int     literal, 
                NCURSES_BOOL silent)
                { return(*(int *)0); }
@@ -5141,12 +5283,12 @@ void    _nc_set_writedir(
 
 #undef _nc_write_entry
 void   _nc_write_entry(
 
 #undef _nc_write_entry
 void   _nc_write_entry(
-               TERMTYPE *const tp)
+               TERMTYPE2 *const tp)
                { /* void */ }
 
 #undef _nc_write_object
 int    _nc_write_object(
                { /* void */ }
 
 #undef _nc_write_object
 int    _nc_write_object(
-               TERMTYPE *tp, 
+               TERMTYPE2 *tp, 
                char    *buffer, 
                unsigned *offset, 
                unsigned limit)
                char    *buffer, 
                unsigned *offset, 
                unsigned limit)