libimobiledevice  1.3.0-dirty
API Documentation - Return to Homepage

◆ diagnostics_relay_query_ioregistry_entry()

diagnostics_relay_error_t diagnostics_relay_query_ioregistry_entry ( diagnostics_relay_client_t client,
const char * entry_name,
const char * entry_class,
plist_t * result )

Query an IORegistry entry of a given class.

Parameters
clientThe diagnostics_relay client
entry_nameThe IORegistry entry name to query.
entry_classThe IORegistry class to query.
resultA pointer to plist_t that will receive the result. The consumer has to free the allocated memory with plist_free() when no longer needed.
Returns
DIAGNOSTICS_RELAY_E_SUCCESS on success, DIAGNOSTICS_RELAY_E_INVALID_ARG when client is NULL, DIAGNOSTICS_RELAY_E_PLIST_ERROR if the device did not acknowledge the request