aboutsummaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include')
-rw-r--r--lib/include/server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/include/server.h b/lib/include/server.h
index 52f92ce..1c23f61 100644
--- a/lib/include/server.h
+++ b/lib/include/server.h
@@ -34,6 +34,7 @@
#include <ostp/session.h>
#include <pthread.h>
#include <stddef.h>
+#include <stdint.h>
#define MAX_CLIENTS 32
@@ -41,6 +42,7 @@ struct ostp_client {
struct ostp_session session;
int sockfd;
pthread_t td;
+ volatile uint8_t authed : 1;
};
struct ostp_listener {