splits process_server_command into separate callbacks (not finished)

This commit is contained in:
2026-03-23 18:16:13 +02:00
parent f0dfe89483
commit 7755fa0a81
5 changed files with 95 additions and 85 deletions
+1 -1
View File
@@ -37,6 +37,7 @@ enum state {
S_WAIT_SERVER,
S_PRINT_SERVER_MESSAGE,
S_FILE_LIST,
S_WAIT_PASS,
/* S_FILE_SELECT, */
S_FILE_DOWNLOAD,
S_UPLOAD_PARAMS,
@@ -88,7 +89,6 @@ typedef struct query_args {
char *buf;
bool from_server;
params_t *params;
char *next_server_command;
struct {
char *text;
uint64_t capacity;