]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/llib-lncursestw
ncurses 6.0 - patch 20170422
[ncurses.git] / ncurses / llib-lncursestw
index 515164c73384099c476cba2918f39cd05fe1773a..f4c211d340e83d24a29495d40eabd2e739687ba9 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
 /****************************************************************************
- * Copyright (c) 2009-2013,2015 Free Software Foundation, Inc.              *
+ * Copyright (c) 2009-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,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); }
 
@@ -280,6 +279,20 @@ int        start_color_sp(
 int    start_color(void)
                { return(*(int *)0); }
 
 int    start_color(void)
                { return(*(int *)0); }
 
+#undef _nc_change_pair
+void   _nc_change_pair(
+               SCREEN  *sp, 
+               int     pair)
+               { /* void */ }
+
+#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, 
@@ -295,6 +308,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, 
@@ -347,6 +369,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, 
@@ -379,12 +409,76 @@ 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 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); }
+
 /* ./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); }
 
@@ -2587,14 +2681,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); }
 
@@ -2664,12 +2758,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 */
@@ -3110,7 +3215,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); }
 
@@ -3119,7 +3224,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); }
 
@@ -3264,7 +3369,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); }
@@ -3272,7 +3377,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); }
@@ -3281,14 +3386,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); }
 
@@ -3431,6 +3536,59 @@ int      mcprint(
                int     len)
                { return(*(int *)0); }
 
                int     len)
                { return(*(int *)0); }
 
+/* ./base/new_pair.c */
+
+#undef _nc_reset_color_pair
+void   _nc_reset_color_pair(
+               SCREEN  *sp, 
+               int     pair, 
+               colorpair_t *next)
+               { /* void */ }
+
+#undef _nc_set_color_pair
+void   _nc_set_color_pair(
+               SCREEN  *sp, 
+               int     pair, 
+               int     mode)
+               { /* void */ }
+
+#undef alloc_pair_sp
+int    alloc_pair_sp(
+               SCREEN  *sp, 
+               int     fg, 
+               int     bg)
+               { return(*(int *)0); }
+
+#undef find_pair_sp
+int    find_pair_sp(
+               SCREEN  *sp, 
+               int     fg, 
+               int     bg)
+               { return(*(int *)0); }
+
+#undef free_pair_sp
+int    free_pair_sp(
+               SCREEN  *sp, 
+               int     pair)
+               { return(*(int *)0); }
+
+#undef alloc_pair
+int    alloc_pair(
+               int     f, 
+               int     b)
+               { return(*(int *)0); }
+
+#undef find_pair
+int    find_pair(
+               int     f, 
+               int     b)
+               { return(*(int *)0); }
+
+#undef free_pair
+int    free_pair(
+               int     pair)
+               { return(*(int *)0); }
+
 /* ./base/resizeterm.c */
 
 #undef is_term_resized_sp
 /* ./base/resizeterm.c */
 
 #undef is_term_resized_sp
@@ -3561,8 +3719,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
@@ -3571,6 +3729,24 @@ 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 */ }
+
+#undef _nc_import_termtype2
+void   _nc_import_termtype2(
+               TERMTYPE2 *dst, 
+               const TERMTYPE *src)
+               { /* void */ }
+
 /* ./codes.c */
 
 #undef _nc_boolcodes
 /* ./codes.c */
 
 #undef _nc_boolcodes
@@ -3714,7 +3890,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
@@ -3722,18 +3898,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)
@@ -3746,6 +3921,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;
 
@@ -3798,8 +3978,8 @@ void      _nc_init_acs(void)
 /* ./tinfo/lib_baudrate.c */
 
 struct speed {
 /* ./tinfo/lib_baudrate.c */
 
 struct speed {
-    short s
-    int sp
+    int given_speed
+    int actual_speed
 };
 
 #undef _nc_baudrate
 };
 
 #undef _nc_baudrate
@@ -4254,7 +4434,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
@@ -4853,12 +5033,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); }
@@ -4866,7 +5046,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
@@ -4964,7 +5151,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 */
@@ -5038,7 +5225,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
@@ -5059,8 +5246,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 */
@@ -5092,11 +5279,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(
@@ -5120,11 +5304,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
@@ -5175,7 +5354,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); }
@@ -5195,9 +5374,17 @@ 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 */ }
 
                { /* void */ }
 
+#undef _nc_write_object
+int    _nc_write_object(
+               TERMTYPE2 *tp, 
+               char    *buffer, 
+               unsigned *offset, 
+               unsigned limit)
+               { return(*(int *)0); }
+
 #undef _nc_tic_written
 int    _nc_tic_written(void)
                { return(*(int *)0); }
 #undef _nc_tic_written
 int    _nc_tic_written(void)
                { return(*(int *)0); }