ui: file upload basic process (need improvement)

This commit is contained in:
2026-01-21 17:43:50 +02:00
parent 975f4b9dcd
commit c6e6fdffd2
9 changed files with 44 additions and 62 deletions
+2
View File
@@ -39,6 +39,7 @@ enum state {
S_FILE_DOWNLOAD,
S_UPLOAD_PARAMS,
S_UPLOAD_FILE,
S_UPLOAD_FILE_SELECT,
S_UPLOAD_REQUESTED,
S_ASK_USER_BEFORE_LOGIN,
S_ERR,
@@ -53,6 +54,7 @@ enum state {
typedef struct p_file {
char *name;
char *path;
char *description;
size_t size;
size_t rest;
int fd;