****************************************************************************/
/*
- * $Id: term.priv.h,v 1.4 2021/08/19 20:02:09 tom Exp $
+ * $Id: term.priv.h,v 1.7 2021/11/20 23:33:33 tom Exp $
*
* term.priv.h
*
#include <time.h> /* time_t */
#include <term.h> /* time_t */
+#ifdef USE_PTHREADS
+#if USE_REENTRANT
+#include <pthread.h>
+#endif
+#endif
+
/*
* State of tparm().
*/
/*
* Internals for term.h
*/
-
-#if NCURSES_EXT_COLORS
-typedef struct termtype2 TERMTYPE2;
-#endif
-
typedef struct term { /* describe an actual terminal */
TERMTYPE type; /* terminal type description */
short Filedes; /* file description being written to */
#if NCURSES_EXT_COLORS
TERMTYPE2 type2; /* extended terminal type description */
#endif
+#undef TERMINAL
} TERMINAL;
/*
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 */
extern NCURSES_EXPORT_VAR(NCURSES_PRESCREEN) _nc_prescreen;
+extern NCURSES_EXPORT(void) _nc_free_tparm(TERMINAL*);
+
#ifdef __cplusplus
}
#endif