From d9527bacc736a796dc3348748cd4975e593f0181 Mon Sep 17 00:00:00 2001 From: Dane MacFadden <31639805+DaneMacFadden@users.noreply.github.com> Date: Wed, 29 Apr 2026 12:57:33 -0600 Subject: [PATCH] Added missing header file --- context.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 context.h diff --git a/context.h b/context.h new file mode 100644 index 0000000..85f6fbd --- /dev/null +++ b/context.h @@ -0,0 +1,28 @@ +typedef struct { + LIST *ctx_recvlist; + LIST *ctx_sendlist; + + pthread_t *thread_in; + pthread_t *thread_out; + pthread_t *thread_recv; + pthread_t *thread_send; + + pthread_mutex_t mut_send; + pthread_mutex_t mut_recv; + pthread_mutex_t mut_sendcv; + pthread_mutex_t mut_recvcv; + pthread_mutex_t mut_render; + + pthread_cond_t cv_send; + pthread_cond_t cv_recv; + + char *ip; + int ctx_confd; + + struct notcurses *ctx_nc; + struct ncplane *plane_log; + struct ncplane *plane_prompt; + int ctx_rows; + int ctx_cols; + char *ctx_closed; + } CONTEXT;