summaryrefslogtreecommitdiffstats
path: root/src/property_list_service.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-04-29 01:17:54 +0200
committerGravatar Nikias Bassen2014-04-29 01:17:54 +0200
commita6610dcd6d721dd315fdf1f0df15cdad30a5a238 (patch)
tree4a3af6ec6d6e2c3d1353805b215d67c37d0891dc /src/property_list_service.h
parent2d05aa9e643a46c235171b7b0055b73de829e807 (diff)
downloadlibimobiledevice-a6610dcd6d721dd315fdf1f0df15cdad30a5a238.tar.gz
libimobiledevice-a6610dcd6d721dd315fdf1f0df15cdad30a5a238.tar.bz2
Make property_list_service public
Diffstat (limited to 'src/property_list_service.h')
-rw-r--r--src/property_list_service.h33
1 files changed, 1 insertions, 32 deletions
diff --git a/src/property_list_service.h b/src/property_list_service.h
index 5c5f38f..6775c7c 100644
--- a/src/property_list_service.h
+++ b/src/property_list_service.h
@@ -22,42 +22,11 @@
#ifndef __PROPERTY_LIST_SERVICE_H
#define __PROPERTY_LIST_SERVICE_H
-#include <libimobiledevice/lockdown.h>
+#include "libimobiledevice/property_list_service.h"
#include "service.h"
-#include "idevice.h"
-
-/* Error Codes */
-#define PROPERTY_LIST_SERVICE_E_SUCCESS 0
-#define PROPERTY_LIST_SERVICE_E_INVALID_ARG -1
-#define PROPERTY_LIST_SERVICE_E_PLIST_ERROR -2
-#define PROPERTY_LIST_SERVICE_E_MUX_ERROR -3
-#define PROPERTY_LIST_SERVICE_E_SSL_ERROR -4
-#define PROPERTY_LIST_SERVICE_E_RECEIVE_TIMEOUT -5
-
-#define PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR -256
struct property_list_service_client_private {
service_client_t parent;
};
-typedef struct property_list_service_client_private *property_list_service_client_t;
-
-typedef int16_t property_list_service_error_t;
-
-/* creation and destruction */
-property_list_service_error_t property_list_service_client_new(idevice_t device, lockdownd_service_descriptor_t service, property_list_service_client_t *client);
-property_list_service_error_t property_list_service_client_free(property_list_service_client_t client);
-
-/* sending */
-property_list_service_error_t property_list_service_send_xml_plist(property_list_service_client_t client, plist_t plist);
-property_list_service_error_t property_list_service_send_binary_plist(property_list_service_client_t client, plist_t plist);
-
-/* receiving */
-property_list_service_error_t property_list_service_receive_plist_with_timeout(property_list_service_client_t client, plist_t *plist, unsigned int timeout);
-property_list_service_error_t property_list_service_receive_plist(property_list_service_client_t client, plist_t *plist);
-
-/* misc */
-property_list_service_error_t property_list_service_enable_ssl(property_list_service_client_t client);
-property_list_service_error_t property_list_service_disable_ssl(property_list_service_client_t client);
-
#endif