summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-10-20 03:35:34 +0200
committerGravatar Nikias Bassen2019-10-20 03:35:34 +0200
commitd04ce021b928644cef3b27e025ffc8dae413cd71 (patch)
treed7293619867881dc76dabf7b701ff012b4bb4ed6 /src/common.h
parent4086188a6fd124d948807ad57408dbdad7fac511 (diff)
downloadidevicerestore-d04ce021b928644cef3b27e025ffc8dae413cd71.tar.gz
idevicerestore-d04ce021b928644cef3b27e025ffc8dae413cd71.tar.bz2
Ignore device add events after device entered restore mode
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index dbd2a41..e8e4d44 100644
--- a/src/common.h
+++ b/src/common.h
@@ -109,6 +109,7 @@ struct idevicerestore_client_t {
void* idevice_e_ctx;
mutex_t device_event_mutex;
cond_t device_event_cond;
+ int ignore_device_add_events;
};
extern struct idevicerestore_mode_t idevicerestore_modes[];