summaryrefslogtreecommitdiffstats
path: root/src/fdr.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2016-06-26 18:30:40 +0200
committerGravatar Nikias Bassen2016-06-26 18:30:40 +0200
commita4df93a83cae154611377beb5254015dc95640b9 (patch)
tree883be3184d4174803a2deb04a9fda59b0df728ba /src/fdr.h
parent3e8651102df3a694c8e88a73b8d8d753f8d760c6 (diff)
downloadidevicerestore-a4df93a83cae154611377beb5254015dc95640b9.tar.gz
idevicerestore-a4df93a83cae154611377beb5254015dc95640b9.tar.bz2
fdr: Add fdr_disconnect() function to stop the FDR thread
Diffstat (limited to 'src/fdr.h')
-rw-r--r--src/fdr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fdr.h b/src/fdr.h
index 6139240..9822efc 100644
--- a/src/fdr.h
+++ b/src/fdr.h
@@ -42,6 +42,7 @@ struct fdr_client {
typedef struct fdr_client *fdr_client_t;
int fdr_connect(idevice_t device, fdr_type_t type, fdr_client_t *fdr);
+void fdr_disconnect(fdr_client_t fdr);
void fdr_free(fdr_client_t fdr);
int fdr_poll_and_handle_message(fdr_client_t fdr);
void *fdr_listener_thread(void *cdata);