implementation of registration (not finished)

This commit is contained in:
2025-11-07 17:42:59 +02:00
parent 3ef6ff6c41
commit 2336b7bb01
7 changed files with 178 additions and 38 deletions
+2
View File
@@ -17,6 +17,7 @@ typedef struct params {
enum state {
WAIT_SERVER_INIT,
WAIT_SERVER,
WAIT_REGISTER,
WAIT_CLIENT,
UPLOAD_FILE,
STATE_FILE_LIST,
@@ -25,6 +26,7 @@ enum state {
STATE_UPLOAD_PARAMS,
STATE_UPLOAD_FILE,
STATE_UPLOAD_REQUESTED,
STATE_ASK_USER_BEFORE_LOGIN,
ERR,
};
typedef struct p_file {