libimobiledevice/house_arrest.h File Reference - libimobiledevice 1.3.0-dirty

| libimobiledevice 1.3.0-dirty API Documentation - Return to Homepage

Macros | Typedefs | Enumerations | Functions
house_arrest.h File Reference

## Description

Access app folders and their contents.

## Macros
#define | HOUSE_ARREST_SERVICE_NAME "com.apple.mobile.house_arrest"
| Service identifier passed to lockdownd_start_service() to start the house arrest service.

## Typedefs
typedef house_arrest_client_private * | house_arrest_client_t
| The client handle.

## Enumerations
enum | house_arrest_error_t { HOUSE_ARREST_E_SUCCESS = 0 , HOUSE_ARREST_E_INVALID_ARG = -1 , HOUSE_ARREST_E_PLIST_ERROR = -2 , HOUSE_ARREST_E_CONN_FAILED = -3 , HOUSE_ARREST_E_INVALID_MODE = -4 , HOUSE_ARREST_E_UNKNOWN_ERROR = -256 }
| Error Codes.

## Functions
house_arrest_error_t | house_arrest_client_new (idevice_t device, lockdownd_service_descriptor_t service, house_arrest_client_t *client)
| Connects to the house_arrest service on the specified device.
house_arrest_error_t | house_arrest_client_start_service (idevice_t device, house_arrest_client_t *client, const char *label)
| Starts a new house_arrest service on the specified device and connects to it.
house_arrest_error_t | house_arrest_client_free (house_arrest_client_t client)
| Disconnects an house_arrest client from the device and frees up the house_arrest client data.
house_arrest_error_t | house_arrest_send_request (house_arrest_client_t client, plist_t dict)
| Sends a generic request to the connected house_arrest service.
house_arrest_error_t | house_arrest_send_command (house_arrest_client_t client, const char *command, const char *appid)
| Send a command to the connected house_arrest service.
house_arrest_error_t | house_arrest_get_result (house_arrest_client_t client, plist_t *dict)
| Retrieves the result of a previously sent house_arrest_request_* request.
afc_error_t | afc_client_new_from_house_arrest_client (house_arrest_client_t client, afc_client_t *afc_client)
| Creates an AFC client using the given house_arrest client's connection allowing file access to a specific application directory requested by functions like house_arrest_request_vendor_documents().