new realization of cancel download

This commit is contained in:
2026-06-05 16:26:39 +03:00
parent 8ef755b0a7
commit 9988e5e7af
6 changed files with 40 additions and 2 deletions
+2
View File
@@ -16,6 +16,7 @@
#define FILE_DESCRIPTIONS_NAME "./file_descriptions"
#define FILE_USER_LIST_NAME "userlist"
#define WELCOME_FILE_NAME "welcome"
#define PACKAGE_SIZE INBUFSIZE * 10
#ifndef __USE_MISC
#define __USE_MISC
@@ -31,6 +32,7 @@ enum sess_states {
OP_WAIT,
OP_UPLOAD,
OP_UPLOAD_DESCRIPTION,
OP_DOWNLOAD_WAIT_CONFIRM_PACKAGE,
ERR,
FIN
};