summaryrefslogtreecommitdiffstats
path: root/src/server.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-02 08:36:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-02 08:36:04 +0000
commit923d02b2c6d6fe489386521f3c269086d24db94d (patch)
treeceff315eb2159e44c893f15f718a8b2d6abd7782 /src/server.h
parentReleasing debian version 1.7.0-1. (diff)
downloadttyd-923d02b2c6d6fe489386521f3c269086d24db94d.tar.xz
ttyd-923d02b2c6d6fe489386521f3c269086d24db94d.zip
Merging upstream version 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