diff options
author | Ian Moffett <ian@osmora.org> | 2024-10-03 21:18:12 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-10-03 21:18:12 -0500 |
commit | fe5120087d24cdd07ef65d85f60eb11f4ae12cf2 (patch) | |
tree | c203c7dedfbaf7e4845a16ad865ac08dfbf4bd35 /lib/include | |
parent | 57e3f7558ea9aea8b1fbf13a1fa2690e6719ca7e (diff) |
lib: auth: Keep track of username
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/include')
-rw-r--r-- | lib/include/session.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/include/session.h b/lib/include/session.h index 397fa68..39eb1bc 100644 --- a/lib/include/session.h +++ b/lib/include/session.h @@ -30,9 +30,11 @@ #ifndef LIBOSTP_SESSION_H_ #define LIBOSTP_SESSION_H_ +#include <ostp/net/stpsession.h> #include <stdint.h> struct ostp_session { + char username[MAX_USERNAME_LEN]; unsigned char *session_key; int sockfd; }; |