aboutsummaryrefslogtreecommitdiff
path: root/conn_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'conn_data.h')
-rw-r--r--conn_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/conn_data.h b/conn_data.h
index 871af07..dae100f 100644
--- a/conn_data.h
+++ b/conn_data.h
@@ -7,6 +7,8 @@ struct conn_data{
int fd;
i64 bufsz,buflen;
char *buffer;
+
+ i64 userid; // -1 if not logged in
};
void conn_data_init(struct conn_data *data,int fd); // Initialises buffers