diff options
| author | 2021-09-01 15:48:32 +0200 | |
|---|---|---|
| committer | 2021-09-01 15:48:32 +0200 | |
| commit | ce7609375646cfb1e7d490579e172c37c74a0589 (patch) | |
| tree | 0e0855e3c3971fc831c1378c35169990fb21cb13 /src | |
| parent | 24abbb9450c723617e10a6843978aa04a576523e (diff) | |
| download | libimobiledevice-ce7609375646cfb1e7d490579e172c37c74a0589.tar.gz libimobiledevice-ce7609375646cfb1e7d490579e172c37c74a0589.tar.bz2 | |
Remove common code in favor of new libimobiledevice-glue
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.am | 2 | ||||
| -rw-r--r-- | src/afc.h | 2 | ||||
| -rw-r--r-- | src/companion_proxy.c | 1 | ||||
| -rw-r--r-- | src/companion_proxy.h | 2 | ||||
| -rw-r--r-- | src/debugserver.c | 3 | ||||
| -rw-r--r-- | src/idevice.c | 5 | ||||
| -rw-r--r-- | src/installation_proxy.h | 2 | ||||
| -rw-r--r-- | src/lockdown.c | 2 | ||||
| -rw-r--r-- | src/mobile_image_mounter.h | 2 | ||||
| -rw-r--r-- | src/notification_proxy.h | 2 | ||||
| -rw-r--r-- | src/preboard.h | 2 | ||||
| -rw-r--r-- | src/sbservices.h | 2 | ||||
| -rw-r--r-- | src/syslog_relay.h | 2 |
13 files changed, 16 insertions, 13 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 96fe963..183a745 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
| @@ -6,6 +6,7 @@ AM_CFLAGS = \ | |||
| 6 | $(GLOBAL_CFLAGS) \ | 6 | $(GLOBAL_CFLAGS) \ |
| 7 | $(libusbmuxd_CFLAGS) \ | 7 | $(libusbmuxd_CFLAGS) \ |
| 8 | $(libplist_CFLAGS) \ | 8 | $(libplist_CFLAGS) \ |
| 9 | $(limd_glue_CFLAGS) \ | ||
| 9 | $(ssl_lib_CFLAGS) \ | 10 | $(ssl_lib_CFLAGS) \ |
| 10 | $(LFS_CFLAGS) \ | 11 | $(LFS_CFLAGS) \ |
| 11 | $(PTHREAD_CFLAGS) | 12 | $(PTHREAD_CFLAGS) |
| @@ -13,6 +14,7 @@ AM_CFLAGS = \ | |||
| 13 | AM_LDFLAGS = \ | 14 | AM_LDFLAGS = \ |
| 14 | $(libusbmuxd_LIBS) \ | 15 | $(libusbmuxd_LIBS) \ |
| 15 | $(libplist_LIBS) \ | 16 | $(libplist_LIBS) \ |
| 17 | $(limd_glue_LIBS) \ | ||
| 16 | $(ssl_lib_LIBS) \ | 18 | $(ssl_lib_LIBS) \ |
| 17 | $(PTHREAD_LIBS) | 19 | $(PTHREAD_LIBS) |
| 18 | 20 | ||
| @@ -28,7 +28,7 @@ | |||
| 28 | #include "libimobiledevice/afc.h" | 28 | #include "libimobiledevice/afc.h" |
| 29 | #include "service.h" | 29 | #include "service.h" |
| 30 | #include "endianness.h" | 30 | #include "endianness.h" |
| 31 | #include "common/thread.h" | 31 | #include <libimobiledevice-glue/thread.h> |
| 32 | 32 | ||
| 33 | #define AFC_MAGIC "CFA6LPAA" | 33 | #define AFC_MAGIC "CFA6LPAA" |
| 34 | #define AFC_MAGIC_LEN (8) | 34 | #define AFC_MAGIC_LEN (8) |
diff --git a/src/companion_proxy.c b/src/companion_proxy.c index f09b416..92bc7f1 100644 --- a/src/companion_proxy.c +++ b/src/companion_proxy.c | |||
| @@ -29,7 +29,6 @@ | |||
| 29 | #include "companion_proxy.h" | 29 | #include "companion_proxy.h" |
| 30 | #include "lockdown.h" | 30 | #include "lockdown.h" |
| 31 | #include "common/debug.h" | 31 | #include "common/debug.h" |
| 32 | #include "common/thread.h" | ||
| 33 | 32 | ||
| 34 | /** | 33 | /** |
| 35 | * Convert a property_list_service_error_t value to a companion_proxy_error_t value. | 34 | * Convert a property_list_service_error_t value to a companion_proxy_error_t value. |
diff --git a/src/companion_proxy.h b/src/companion_proxy.h index 0314b67..0226640 100644 --- a/src/companion_proxy.h +++ b/src/companion_proxy.h | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | #include "libimobiledevice/companion_proxy.h" | 25 | #include "libimobiledevice/companion_proxy.h" |
| 26 | #include "property_list_service.h" | 26 | #include "property_list_service.h" |
| 27 | #include "common/thread.h" | 27 | #include <libimobiledevice-glue/thread.h> |
| 28 | 28 | ||
| 29 | struct companion_proxy_client_private { | 29 | struct companion_proxy_client_private { |
| 30 | property_list_service_client_t parent; | 30 | property_list_service_client_t parent; |
diff --git a/src/debugserver.c b/src/debugserver.c index 1774087..b6a8b62 100644 --- a/src/debugserver.c +++ b/src/debugserver.c | |||
| @@ -29,10 +29,11 @@ | |||
| 29 | #define __USE_GNU 1 | 29 | #define __USE_GNU 1 |
| 30 | #include <stdio.h> | 30 | #include <stdio.h> |
| 31 | 31 | ||
| 32 | #include <libimobiledevice-glue/utils.h> | ||
| 33 | |||
| 32 | #include "debugserver.h" | 34 | #include "debugserver.h" |
| 33 | #include "lockdown.h" | 35 | #include "lockdown.h" |
| 34 | #include "common/debug.h" | 36 | #include "common/debug.h" |
| 35 | #include "common/utils.h" | ||
| 36 | #include "asprintf.h" | 37 | #include "asprintf.h" |
| 37 | 38 | ||
| 38 | /** | 39 | /** |
diff --git a/src/idevice.c b/src/idevice.c index 869ecac..4545bfa 100644 --- a/src/idevice.c +++ b/src/idevice.c | |||
| @@ -48,10 +48,11 @@ | |||
| 48 | #error No supported TLS/SSL library enabled | 48 | #error No supported TLS/SSL library enabled |
| 49 | #endif | 49 | #endif |
| 50 | 50 | ||
| 51 | #include <libimobiledevice-glue/socket.h> | ||
| 52 | #include <libimobiledevice-glue/thread.h> | ||
| 53 | |||
| 51 | #include "idevice.h" | 54 | #include "idevice.h" |
| 52 | #include "common/userpref.h" | 55 | #include "common/userpref.h" |
| 53 | #include "common/socket.h" | ||
| 54 | #include "common/thread.h" | ||
| 55 | #include "common/debug.h" | 56 | #include "common/debug.h" |
| 56 | 57 | ||
| 57 | #ifdef WIN32 | 58 | #ifdef WIN32 |
diff --git a/src/installation_proxy.h b/src/installation_proxy.h index 66dd5d0..033bdef 100644 --- a/src/installation_proxy.h +++ b/src/installation_proxy.h | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | #include "libimobiledevice/installation_proxy.h" | 26 | #include "libimobiledevice/installation_proxy.h" |
| 27 | #include "property_list_service.h" | 27 | #include "property_list_service.h" |
| 28 | #include "common/thread.h" | 28 | #include <libimobiledevice-glue/thread.h> |
| 29 | 29 | ||
| 30 | struct instproxy_client_private { | 30 | struct instproxy_client_private { |
| 31 | property_list_service_client_t parent; | 31 | property_list_service_client_t parent; |
diff --git a/src/lockdown.c b/src/lockdown.c index 8fc2c49..70db834 100644 --- a/src/lockdown.c +++ b/src/lockdown.c | |||
| @@ -34,13 +34,13 @@ | |||
| 34 | #include <ctype.h> | 34 | #include <ctype.h> |
| 35 | #include <unistd.h> | 35 | #include <unistd.h> |
| 36 | #include <plist/plist.h> | 36 | #include <plist/plist.h> |
| 37 | #include <libimobiledevice-glue/utils.h> | ||
| 37 | 38 | ||
| 38 | #include "property_list_service.h" | 39 | #include "property_list_service.h" |
| 39 | #include "lockdown.h" | 40 | #include "lockdown.h" |
| 40 | #include "idevice.h" | 41 | #include "idevice.h" |
| 41 | #include "common/debug.h" | 42 | #include "common/debug.h" |
| 42 | #include "common/userpref.h" | 43 | #include "common/userpref.h" |
| 43 | #include "common/utils.h" | ||
| 44 | #include "asprintf.h" | 44 | #include "asprintf.h" |
| 45 | 45 | ||
| 46 | #ifdef WIN32 | 46 | #ifdef WIN32 |
diff --git a/src/mobile_image_mounter.h b/src/mobile_image_mounter.h index e9754e4..55c9cf2 100644 --- a/src/mobile_image_mounter.h +++ b/src/mobile_image_mounter.h | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | #include "libimobiledevice/mobile_image_mounter.h" | 25 | #include "libimobiledevice/mobile_image_mounter.h" |
| 26 | #include "property_list_service.h" | 26 | #include "property_list_service.h" |
| 27 | #include "common/thread.h" | 27 | #include <libimobiledevice-glue/thread.h> |
| 28 | 28 | ||
| 29 | struct mobile_image_mounter_client_private { | 29 | struct mobile_image_mounter_client_private { |
| 30 | property_list_service_client_t parent; | 30 | property_list_service_client_t parent; |
diff --git a/src/notification_proxy.h b/src/notification_proxy.h index f641e25..ea85149 100644 --- a/src/notification_proxy.h +++ b/src/notification_proxy.h | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | #include "libimobiledevice/notification_proxy.h" | 25 | #include "libimobiledevice/notification_proxy.h" |
| 26 | #include "property_list_service.h" | 26 | #include "property_list_service.h" |
| 27 | #include "common/thread.h" | 27 | #include <libimobiledevice-glue/thread.h> |
| 28 | 28 | ||
| 29 | struct np_client_private { | 29 | struct np_client_private { |
| 30 | property_list_service_client_t parent; | 30 | property_list_service_client_t parent; |
diff --git a/src/preboard.h b/src/preboard.h index c5143a9..61263fc 100644 --- a/src/preboard.h +++ b/src/preboard.h | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | #include "libimobiledevice/preboard.h" | 25 | #include "libimobiledevice/preboard.h" |
| 26 | #include "property_list_service.h" | 26 | #include "property_list_service.h" |
| 27 | #include "common/thread.h" | 27 | #include <libimobiledevice-glue/thread.h> |
| 28 | 28 | ||
| 29 | struct preboard_client_private { | 29 | struct preboard_client_private { |
| 30 | property_list_service_client_t parent; | 30 | property_list_service_client_t parent; |
diff --git a/src/sbservices.h b/src/sbservices.h index 6c047ce..39d822c 100644 --- a/src/sbservices.h +++ b/src/sbservices.h | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | #include "libimobiledevice/sbservices.h" | 25 | #include "libimobiledevice/sbservices.h" |
| 26 | #include "property_list_service.h" | 26 | #include "property_list_service.h" |
| 27 | #include "common/thread.h" | 27 | #include <libimobiledevice-glue/thread.h> |
| 28 | 28 | ||
| 29 | struct sbservices_client_private { | 29 | struct sbservices_client_private { |
| 30 | property_list_service_client_t parent; | 30 | property_list_service_client_t parent; |
diff --git a/src/syslog_relay.h b/src/syslog_relay.h index 3e48fa4..86d798e 100644 --- a/src/syslog_relay.h +++ b/src/syslog_relay.h | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | #include "libimobiledevice/syslog_relay.h" | 25 | #include "libimobiledevice/syslog_relay.h" |
| 26 | #include "service.h" | 26 | #include "service.h" |
| 27 | #include "common/thread.h" | 27 | #include <libimobiledevice-glue/thread.h> |
| 28 | 28 | ||
| 29 | struct syslog_relay_client_private { | 29 | struct syslog_relay_client_private { |
| 30 | service_client_t parent; | 30 | service_client_t parent; |
