libimobiledevice
1.3.0
|
Definitions for the PropertyList service. More...
Typedefs | |
typedef struct property_list_service_client_private | property_list_service_private |
typedef property_list_service_private * | property_list_service_client_t |
The client handle. | |
Functions | |
property_list_service_error_t | property_list_service_client_new (idevice_t device, lockdownd_service_descriptor_t service, property_list_service_client_t *client) |
Creates a new property list service for the specified port. More... | |
property_list_service_error_t | property_list_service_client_free (property_list_service_client_t client) |
Frees a PropertyList service. More... | |
property_list_service_error_t | property_list_service_send_xml_plist (property_list_service_client_t client, plist_t plist) |
Sends an XML plist. More... | |
property_list_service_error_t | property_list_service_send_binary_plist (property_list_service_client_t client, plist_t plist) |
Sends a binary plist. More... | |
property_list_service_error_t | property_list_service_receive_plist_with_timeout (property_list_service_client_t client, plist_t *plist, unsigned int timeout) |
Receives a plist using the given property list service client with specified timeout. More... | |
property_list_service_error_t | property_list_service_receive_plist (property_list_service_client_t client, plist_t *plist) |
Receives a plist using the given property list service client. More... | |
property_list_service_error_t | property_list_service_enable_ssl (property_list_service_client_t client) |
Enable SSL for the given property list service client. More... | |
property_list_service_error_t | property_list_service_disable_ssl (property_list_service_client_t client) |
Disable SSL for the given property list service client. More... | |
Definitions for the PropertyList service.
property_list_service_error_t property_list_service_client_free | ( | property_list_service_client_t | client | ) |
Frees a PropertyList service.
client | The property list service to free. |
property_list_service_error_t property_list_service_client_new | ( | idevice_t | device, |
lockdownd_service_descriptor_t | service, | ||
property_list_service_client_t * | client | ||
) |
Creates a new property list service for the specified port.
device | The device to connect to. |
service | The service descriptor returned by lockdownd_start_service. |
client | Pointer that will be set to a newly allocated property_list_service_client_t upon successful return. |
property_list_service_error_t property_list_service_disable_ssl | ( | property_list_service_client_t | client | ) |
Disable SSL for the given property list service client.
client | The connected property list service client for which SSL should be disabled. |
property_list_service_error_t property_list_service_enable_ssl | ( | property_list_service_client_t | client | ) |
Enable SSL for the given property list service client.
client | The connected property list service client for which SSL should be enabled. |
property_list_service_error_t property_list_service_receive_plist | ( | property_list_service_client_t | client, |
plist_t * | plist | ||
) |
Receives a plist using the given property list service client.
Binary or XML plists are automatically handled.
This function is like property_list_service_receive_plist_with_timeout using a timeout of 10 seconds.
client | The property list service client to use for receiving |
plist | pointer to a plist_t that will point to the received plist upon successful return |
property_list_service_error_t property_list_service_receive_plist_with_timeout | ( | property_list_service_client_t | client, |
plist_t * | plist, | ||
unsigned int | timeout | ||
) |
Receives a plist using the given property list service client with specified timeout.
Binary or XML plists are automatically handled.
client | The property list service client to use for receiving |
plist | pointer to a plist_t that will point to the received plist upon successful return |
timeout | Maximum time in milliseconds to wait for data. |
property_list_service_error_t property_list_service_send_binary_plist | ( | property_list_service_client_t | client, |
plist_t | plist | ||
) |
Sends a binary plist.
client | The property list service client to use for sending. |
plist | plist to send |
property_list_service_error_t property_list_service_send_xml_plist | ( | property_list_service_client_t | client, |
plist_t | plist | ||
) |
Sends an XML plist.
client | The property list service client to use for sending. |
plist | plist to send |