summaryrefslogtreecommitdiffstats
path: root/src/server.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-02 08:36:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-02 08:36:00 +0000
commit01b623a2f80953e6156ede3f0f082ebb4a5cf0c8 (patch)
tree77c2df3aa8e4730cd15d083e1217d08a12f3179b /src/server.h
parentAdding upstream version 1.7.0. (diff)
downloadttyd-upstream/1.7.1.tar.xz
ttyd-upstream/1.7.1.zip
Adding upstream version 1.7.1.upstream/1.7.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/server.h')
-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