summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorGravatar BALATON Zoltan2017-11-13 16:05:54 +0100
committerGravatar BALATON Zoltan2017-11-13 22:12:44 +0100
commit6074f76f7dd32d272b6de801f9638d8ebca1cbbf (patch)
treecc3127827e740ce9b7848764b673fbb41635e303 /src/common.h
parent542ef27e70c52dbe76ba00a44b0069844c945ed2 (diff)
downloadidevicerestore-6074f76f7dd32d272b6de801f9638d8ebca1cbbf.tar.gz
idevicerestore-6074f76f7dd32d272b6de801f9638d8ebca1cbbf.tar.bz2
Define a constant for user agent string instead of duplicate strings
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 5f1d763..3044d2a 100644
--- a/src/common.h
+++ b/src/common.h
@@ -53,6 +53,8 @@ extern "C" {
#define IBOOT_FLAG_EFFECTIVE_SECURITY_MODE 1 << 3
#define IBOOT_FLAG_EFFECTIVE_PRODUCTION_MODE 1 << 4
+#define USER_AGENT_STRING "InetURL/1.0"
+
struct dfu_client_t;
struct normal_client_t;
struct restore_client_t;