]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/llib-ltictw
ncurses 6.2 - patch 20210821
[ncurses.git] / ncurses / llib-ltictw
index 981bb196706a864c2e4208df2c78aa7ca28cb0dc..2e407fd0f95a435ff4cbd0d4a3259e8dbb762480 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
- * Copyright (c) 2012 Free Software Foundation, Inc.                        *
+ * Copyright 2020,2021 Thomas E. Dickey                                     *
+ * Copyright 2012-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            *
  ****************************************************************************/
 
 /****************************************************************************
- *  Author: Thomas E. Dickey 2012                                           *
+ *  Author: Thomas E. Dickey       2012-on                                  *
  ****************************************************************************/
 /* LINTLIBRARY */
 
 /* ./tinfo/alloc_entry.c */
 
 #include <curses.priv.h>
-#include <tic.h>
 
 #undef _nc_init_entry
 void   _nc_init_entry(
-               TERMTYPE *const tp)
+               ENTRY   *const tp)
                { /* void */ }
 
 #undef _nc_copy_entry
@@ -48,36 +48,34 @@ 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
 void   _nc_wrap_entry(
-               ENTRY   *const ep, 
+               ENTRY   *const ep,
                NCURSES_BOOL copy_strings)
                { /* void */ }
 
 #undef _nc_merge_entry
 void   _nc_merge_entry(
-               TERMTYPE *const to, 
-               TERMTYPE *const from)
+               ENTRY   *const target,
+               ENTRY   *const source)
                { /* void */ }
 
 /* ./tinfo/captoinfo.c */
 
-#include <ctype.h>
-
 #undef _nc_captoinfo
 char   *_nc_captoinfo(
-               const char *cap, 
-               const char *s, 
+               const char *cap,
+               const char *s,
                int const parameterized)
                { return(*(char **)0); }
 
 #undef _nc_infotocap
 char   *_nc_infotocap(
-               const char *cap, 
-               const char *str, 
+               const char *cap,
+               const char *str,
                int const parameterized)
                { return(*(char **)0); }
 
@@ -85,8 +83,8 @@ char  *_nc_infotocap(
 
 #undef _nc_tic_expand
 char   *_nc_tic_expand(
-               const char *srcp, 
-               NCURSES_BOOL tic_format, 
+               const char *srcp,
+               NCURSES_BOOL tic_format,
                int     numbers)
                { return(*(char **)0); }
 
@@ -94,39 +92,31 @@ char        *_nc_tic_expand(
 
 #undef _nc_check_termtype2
 void   (*_nc_check_termtype2)(
-               TERMTYPE *p1, 
+               TERMTYPE2 *p1,
                NCURSES_BOOL p2);
-#undef _nc_check_termtype
-void   (*_nc_check_termtype)(
-               TERMTYPE *p1);
 
 #undef _nc_entry_match
 NCURSES_BOOL _nc_entry_match(
-               char    *n1, 
+               char    *n1,
                char    *n2)
                { return(*(NCURSES_BOOL *)0); }
 
 #undef _nc_read_entry_source
 void   _nc_read_entry_source(
-               FILE    *fp, 
-               char    *buf, 
-               int     literal, 
-               NCURSES_BOOL silent, 
+               FILE    *fp,
+               char    *buf,
+               int     literal,
+               NCURSES_BOOL silent,
                NCURSES_BOOL (*hook)(
                ENTRY   *p1))
                { /* void */ }
 
 #undef _nc_resolve_uses2
 int    _nc_resolve_uses2(
-               NCURSES_BOOL fullresolve, 
+               NCURSES_BOOL fullresolve,
                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
@@ -148,7 +138,7 @@ NCURSES_BOOL _nc_disable_period;
 
 #undef _nc_reset_input
 void   _nc_reset_input(
-               FILE    *fp, 
+               FILE    *fp,
                char    *buf)
                { /* void */ }
 
@@ -159,7 +149,7 @@ int _nc_get_token(
 
 #undef _nc_trans_string
 int    _nc_trans_string(
-               char    *ptr, 
+               char    *ptr,
                char    *last)
                { return(*(int *)0); }
 
@@ -177,36 +167,37 @@ void      _nc_panic_mode(
 
 #undef _nc_parse_entry
 int    _nc_parse_entry(
-               struct entry *entryp, 
-               int     literal, 
+               ENTRY   *entryp,
+               int     literal,
                NCURSES_BOOL silent)
                { return(*(int *)0); }
 
 #undef _nc_capcmp
 int    _nc_capcmp(
-               const char *s, 
+               const char *s,
                const char *t)
                { return(*(int *)0); }
 
-typedef struct {
-    const char *from;
-    const char *to;
-} assoc;
-
 /* ./tinfo/write_entry.c */
 
-#include <hashed_db.h>
-
 #undef _nc_set_writedir
 void   _nc_set_writedir(
-               char    *dir)
+               const char *dir)
                { /* void */ }
 
 #undef _nc_write_entry
 void   _nc_write_entry(
-               TERMTYPE *const tp)
+               TERMTYPE2 *const tp)
                { /* 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); }