]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/llib-lncursesw
ncurses 6.0 - patch 20170401
[ncurses.git] / ncurses / llib-lncursesw
index 217ae1b522db9f9213f0364743f98426848ffc7b..057322866cd2a658fe2ed91d495bc16c2c7ec4b7 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 2001-2013,2015 Free Software Foundation, Inc.              *
+ * Copyright (c) 2001-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            *
@@ -34,7 +34,6 @@
 /* ./tty/hardscroll.c */
 
 #include <curses.priv.h>
-
 #undef _nc_oldnums
 int    *_nc_oldnums;
 
@@ -219,7 +218,7 @@ int wchgat(
                WINDOW  *win, 
                int     n, 
                attr_t  attr, 
-               short   color
+               short   pair_arg
                const void *opts)
                { return(*(int *)0); }
 
@@ -277,6 +276,20 @@ int        start_color_sp(
 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, 
@@ -292,6 +305,15 @@ int        init_pair(
                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, 
@@ -344,6 +366,14 @@ int        color_content(
                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, 
@@ -376,12 +406,76 @@ void      _nc_do_color(
                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, 
-               short   color_pair_number
+               short   pair_arg
                void    *opts)
                { return(*(int *)0); }
 
@@ -1904,13 +1998,6 @@ int      leaveok(
 
 /* ./base/lib_mouse.c */
 
-typedef struct {
-    int nerror; 
-    int nparam; 
-    int params[9];
-    int final; 
-} SGR_DATA;
-
 #undef getmouse_sp
 int    getmouse_sp(
                SCREEN  *sp, 
@@ -2402,28 +2489,6 @@ int      mvwscanw(
 
 /* ./base/lib_screen.c */
 
-typedef enum {
-    pINT 
-    ,pSHORT 
-    ,pBOOL 
-    ,pATTR 
-    ,pCHAR 
-    ,pSIZE 
-    ,pCCHAR 
-} PARAM_TYPE;
-
-typedef struct {
-    const char name[11];
-    attr_t attr;
-} SCR_ATTRS;
-
-typedef struct {
-    const char name[17];
-    PARAM_TYPE type;
-    size_t size;
-    size_t offset;
-} SCR_PARAMS;
-
 #undef getwin_sp
 WINDOW *getwin_sp(
                SCREEN  *sp, 
@@ -2607,14 +2672,14 @@ int     slk_restore(void)
 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, 
-               short   color_pair_number
+               short   pair_arg
                void    *opts)
                { return(*(int *)0); }
 
@@ -2684,12 +2749,23 @@ int     slk_clear(void)
 #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(
-               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 */
@@ -3048,10 +3124,6 @@ void     _nc_do_xmc_glitch(
 
 /* ./trace/varargs.c */
 
-typedef enum {
-    atUnknown = 0, atInteger, atFloat, atPoint, atString
-} ARGTYPE;
-
 #undef _nc_varargs
 char   *_nc_varargs(
                const char *fmt, 
@@ -3134,7 +3206,7 @@ int       setcchar(
                cchar_t *wcval, 
                const wchar_t *wch, 
                const attr_t attrs, 
-               short   color_pair
+               short   pair_arg
                const void *opts)
                { return(*(int *)0); }
 
@@ -3143,7 +3215,7 @@ int       getcchar(
                const cchar_t *wcval, 
                wchar_t *wch, 
                attr_t  *attrs, 
-               short   *color_pair
+               short   *pair_arg
                void    *opts)
                { return(*(int *)0); }
 
@@ -3288,7 +3360,7 @@ int       unget_wch(
 int    vid_puts_sp(
                SCREEN  *sp, 
                attr_t  newmode, 
-               short   pair, 
+               short   pair_arg
                void    *opts, 
                NCURSES_OUTC_sp outc)
                { return(*(int *)0); }
@@ -3296,7 +3368,7 @@ int       vid_puts_sp(
 #undef vid_puts
 int    vid_puts(
                attr_t  newmode, 
-               short   pair, 
+               short   pair_arg
                void    *opts, 
                NCURSES_OUTC outc)
                { return(*(int *)0); }
@@ -3305,14 +3377,14 @@ int     vid_puts(
 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, 
-               short   pair, 
+               short   pair_arg
                void    *opts)
                { return(*(int *)0); }
 
@@ -3455,6 +3527,59 @@ int      mcprint(
                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
@@ -3816,8 +3941,8 @@ void      _nc_init_acs(void)
 /* ./tinfo/lib_baudrate.c */
 
 struct speed {
-    short s
-    int sp
+    int given_speed
+    int actual_speed
 };
 
 #undef _nc_baudrate
@@ -4615,11 +4740,6 @@ char     *_tracecchar_t(
 
 /* ./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)
@@ -4803,9 +4923,11 @@ int      _nc_read_entry(
 
 /* ./tinfo/read_termcap.c */
 
-#undef _nc_read_termcap
-void   _nc_read_termcap(void)
-               { /* void */ }
+#undef _nc_read_termcap_entry
+int    _nc_read_termcap_entry(
+               const char *const tn, 
+               TERMTYPE *const tp)
+               { return(*(int *)0); }
 
 /* ./tinfo/strings.c */
 
@@ -5109,11 +5231,6 @@ int      _nc_capcmp(
                const char *t)
                { return(*(int *)0); }
 
-typedef struct {
-    const char from[3];
-    const char to[6];
-} assoc;
-
 /* ./tinfo/write_entry.c */
 
 #undef _nc_set_writedir
@@ -5126,6 +5243,14 @@ void     _nc_write_entry(
                TERMTYPE *const tp)
                { /* void */ }
 
+#undef _nc_write_object
+int    _nc_write_object(
+               TERMTYPE *tp, 
+               char    *buffer, 
+               unsigned *offset, 
+               unsigned limit)
+               { return(*(int *)0); }
+
 #undef _nc_tic_written
 int    _nc_tic_written(void)
                { return(*(int *)0); }