summaryrefslogtreecommitdiff
path: root/zup.h
diff options
context:
space:
mode:
authorThomas Albers <thomas@thomaslabs.org>2023-08-10 11:18:49 +0200
committerThomas Albers <thomas@thomaslabs.org>2023-08-10 11:18:49 +0200
commit3199529ab3ed39737454f9f0b4e91915955c38b2 (patch)
tree0961c0edfce659573e4040d2c4c3a831b8745b2d /zup.h
parent932424af0aadcfcc9dcf3f66ff844fea6ac53986 (diff)
Add attempts number as a command line option
Diffstat (limited to 'zup.h')
-rw-r--r--zup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zup.h b/zup.h
index 8fd5f7d..9f01d15 100644
--- a/zup.h
+++ b/zup.h
@@ -26,6 +26,7 @@ struct param {
unsigned int human_readable : 1;
unsigned int verbose : 2;
unsigned int show_progress : 1;
+ unsigned int max_attempts;
};
#ifdef __GNUC__
@@ -123,7 +124,6 @@ hexdump(size_t start_address, size_t len, const uint8_t *buf);
#define MAX_ARGS 5
#define MAX_PACKET_SIZE 256
#define MAX_ATTEMPTS 3
-#define MAX_TRANS_ATTEMPTS 5
#define VERSION "1.0.0"