libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ instproxy_check_capabilities_match()

instproxy_error_t instproxy_check_capabilities_match ( instproxy_client_t  client,
const char **  capabilities,
plist_t  client_options,
plist_t *  result 
)

Checks a device for certain capabilities.

Parameters
clientThe connected installation_proxy client
capabilitiesAn array of char* with capability names that MUST have a terminating NULL entry.
client_optionsThe client options to use, as PLIST_DICT, or NULL. Currently there are no known client options, so pass NULL here.
resultPointer that will be set to a plist containing a PLIST_DICT holding information if the capabilities matched or NULL on errors.
Returns
INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if an error occurred.