]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/term.priv.h
ncurses 6.3 - patch 20211120
[ncurses.git] / ncurses / term.priv.h
index 85380ac33e212ed210dcb7080e2d6b570cb08c04..03669cb4bf7792a4f4bf7bbe5784ae43bb4fe54f 100644 (file)
@@ -27,7 +27,7 @@
  ****************************************************************************/
 
 /*
- * $Id: term.priv.h,v 1.5 2021/09/24 16:42:04 tom Exp $
+ * $Id: term.priv.h,v 1.7 2021/11/20 23:33:33 tom Exp $
  *
  *     term.priv.h
  *
@@ -55,6 +55,12 @@ extern "C" {
 #include <time.h>              /* time_t */
 #include <term.h>              /* time_t */
 
+#ifdef USE_PTHREADS
+#if USE_REENTRANT
+#include <pthread.h>
+#endif
+#endif
+
 /*
  * State of tparm().
  */
@@ -179,6 +185,7 @@ typedef struct {
        TGETENT_CACHE   tgetent_cache[TGETENT_MAX];
        int             tgetent_index;
        long            tgetent_sequence;
+       int             terminal_count;
 
        char *          dbd_blob;       /* string-heap for dbd_list[] */
        char **         dbd_list;       /* distinct places to look for data */
@@ -317,6 +324,8 @@ typedef struct {
 
 extern NCURSES_EXPORT_VAR(NCURSES_PRESCREEN) _nc_prescreen;
 
+extern NCURSES_EXPORT(void) _nc_free_tparm(TERMINAL*);
+
 #ifdef __cplusplus
 }
 #endif