libimobiledevice  1.4.0
API Documentation - Return to Homepage

◆ ostrace_create_archive()

LIBIMOBILEDEVICE_API ostrace_error_t ostrace_create_archive ( ostrace_client_t client,
plist_t options,
ostrace_archive_write_cb_t callback,
void * user_data )

Creates a syslog archive.

Note
The device will close the connection once the transfer is complete. The client is not usable after that anymore and must be disposed with ostrace_client_free.
Parameters
clientThe ostrace client to use
optionsA dictionary with options for the request. Valid parameters are StartTime (PLIST_UINT), SizeLimit (PLIST_UINT), and AgeLimit (PLIST_UINT).
Returns
OSTRACE_E_SUCCESS on success, or an OSTRACE_E_* error code otherwise