summaryrefslogtreecommitdiffstats
path: root/src/server.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/server.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server.h b/src/server.h
index b122d1c..794965a 100644
--- a/src/server.h
+++ b/src/server.h
@@ -56,6 +56,11 @@ struct pss_tty {
int lws_close_status;
};
+typedef struct {
+ struct pss_tty *pss;
+ bool ws_closed;
+} pty_ctx_t ;
+
struct server {
int client_count; // client count
char *prefs_json; // client preferences