summaryrefslogtreecommitdiffstats
path: root/include/libiphone
AgeCommit message (Collapse)AuthorFilesLines
2010-01-13sbservices: use correct type for port parameter and rename itGravatar Nikias Bassen1-1/+1
2010-01-13Move SSL code into iphone.c/iphone.hGravatar Nikias Bassen1-0/+1
2010-01-13Removed obsolete IPHONE_E_PLIST_ERRORGravatar Nikias Bassen1-1/+0
2010-01-12Remove support for debug masks due to inconsistent useGravatar Martin Szulecki1-8/+0
2010-01-12Refactor lockdown session handling and expose it in public APIGravatar Martin Szulecki1-4/+9
This splits out SSL code and allows implementations to manually handle session start and stop if needed. Also brings the API closer to the lockdown request protocol.
2010-01-12Introduce error code for lockdownd requests which require a running sessionGravatar Martin Szulecki1-0/+1
2010-01-12Allow lockdown client creation without performing full handshakeGravatar Martin Szulecki1-0/+1
The lockdown constructor was doing more than needed. Pairing and session negotiation is now handled by lockdownd_client_new_with_handshake().
2010-01-12Expose more known notification identifiers for notification_proxyGravatar Martin Szulecki1-5/+7
2010-01-10Extend lockdown_query_type to actually return the type of the service daemonGravatar Martin Szulecki1-1/+1
2010-01-10Merge branch 'master' of git://github.com/MattColyer/libiphone into martinGravatar Martin Szulecki1-0/+1
2010-01-09Added plist communication helper functionsGravatar Nikias Bassen1-0/+1
2010-01-08Detect pairing failure for device having a password setGravatar Martin Szulecki1-0/+1
[#101 state:resolved] The first pairing fails if a user has a password set on the device.
2010-01-08Implement lockdown activate and deactiveGravatar Martin Szulecki1-0/+3
Passing the right activiation record allows activating a phone using this functionality.
2010-01-08Implement lockdown unpair requestGravatar Martin Szulecki1-0/+1
2010-01-08Add more known notification ids for notification_proxyGravatar Martin Szulecki1-10/+19
2010-01-08Allow set the label of a lockdown request, usually set to the program nameGravatar Martin Szulecki1-1/+2
2010-01-04Add options to instproxy_archive functionGravatar Nikias Bassen1-1/+4
This change allows to specify the following options: INSTPROXY_ARCHIVE_APP_ONLY - Archive only the application data INSTPROXY_ARCHIVE_SKIP_UNINSTALL - Do not uninstall the application. Combine these options with logical OR to specify both. These two options combined are used by iTunes to create app archives of on-device downloaded apps that are later copied as *.ipa files to the computer. [#104 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2010-01-04New installation_proxy interface.Gravatar Nikias Bassen2-0/+74
Allows enumeration, install, uninstall, upgrade, and some other stuff with apps.
2009-12-15Support for new SBServices interfaceGravatar Nikias Bassen1-0/+56
This lockdown service has been introduced in firmware 3.1 and allows to re-arrange the Spr*ngboard icons from the computer. [#99 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-12-11Documentation cleanup and a new error codeGravatar Nikias Bassen1-0/+1
[#96 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-12-07New function lockdownd_validate_pair()Gravatar Nikias Bassen1-0/+1
This function allows the current host (or the host specified by the given HostID to become the trusted host of the device. [#89 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-12-07cache device uuid in client structGravatar Nikias Bassen1-1/+1
When accessing/storing key info with userprefs, a device uuid is required that makes it possible to distinguish between different devices. On execution of lockdownd_client_new, the uuid is queried via lockdown and now stored in the client struct for later reuse. This patch also removes the uuid parameter from lockdownd_pair().
2009-12-07fix signature of lockdownd_stop_sessionGravatar Nikias Bassen1-1/+1
This removes the session_id parameter from lockdownd_stop_session because the session_id is stored in the lockdownd_client_int structure anyway.
2009-11-30afc_truncate: use uint64_t instead of off_tGravatar Nikias Bassen1-1/+1
This makes afc_truncate look more like afc_file_truncate which is also using uint64_t for the file size. [#82 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-11-30uint32_t type fixes for afc_file_read/afc_file_writeGravatar Nikias Bassen1-2/+2
This patch also adapts all corresponding internal functions. The buffer lengths are now consistently handled as uint32_t.
2009-11-02AFC: new function afc_set_file_timeGravatar Nikias Bassen1-0/+1
This function allows to set the modification time of a file. The time value needs to be specified as nanoseconds since epoch. [#81 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
2009-09-12Rename iphone_free_device_list to follow overall naming styleGravatar Martin Szulecki1-1/+1
2009-09-12Public API rework, extension and adaption to latest libusbmuxd-1.0 API.Gravatar Nikias Bassen1-4/+40
2009-09-12Update the afc_get_device_info helper to return an afc_error_tGravatar Martin Szulecki1-1/+1
We should return any underlying error afc_get_device_info returns so one is able to act properly. Also renamed it to "key" instead of "field" to be more generic.
2009-08-01Add afc_get_device_info_field() helper functionGravatar Bastien Nocera1-0/+3
For use in front-end applications, also serves to document the available keys.
2009-07-29Add handling of afc_remove_path's unknown error code which is an ENOTEMPTYGravatar Martin Szulecki1-0/+1
2009-07-27Remove unimplemented afc_get_connection_info from public headerGravatar Martin Szulecki1-1/+0
2009-07-25Conform to protocol and add session id argument to lockdownd_stop_session()Gravatar Martin Szulecki1-1/+1
2009-07-25Update doxygen config and allow generation of documentationGravatar Martin Szulecki5-12/+22
2009-07-25Implement afc_file_tell() and adjust afc_receive_data() to handle itGravatar Martin Szulecki1-0/+1
2009-07-25Remove AFC to errno conversion and make afc_receive_data() return AFC errorsGravatar Martin Szulecki1-2/+0
2009-07-25Update AFC API and use error codes from the STATUS operation responseGravatar Martin Szulecki2-26/+54
2009-07-25Rename iphone_get_device_handle to iphone_device_get_handle and update toolsGravatar Martin Szulecki1-1/+1
2009-07-25Follow glib style and rename iphone_free_device to iphone_device_freeGravatar Martin Szulecki1-2/+2
2009-07-25Update lockdown API and introduce new error codesGravatar Martin Szulecki2-25/+36
2009-07-25Update NotificationProxy API and introduce new error codesGravatar Martin Szulecki1-14/+20
2009-07-25Update MobileSync API and introduce mobilesync error codesGravatar Martin Szulecki1-5/+15
2009-07-24Use iphone_device_get_uuid() not lockdown, for less overhead where possibleGravatar Martin Szulecki1-0/+1
2009-07-24Remove DBGMASK_USBMUX as it is obsolete since the libusbmuxd code mergeGravatar Martin Szulecki1-3/+2
2009-07-24Rename iphone_set_debug() to iphone_set_debug_level() and code using itGravatar Martin Szulecki1-2/+2
2009-07-24Add new NP_ITDBPREP_DID_END notification signaling music db refreshGravatar Martin Szulecki1-0/+1
2009-07-24Add missing copyright to afc and notification_proxy headersGravatar Martin Szulecki2-0/+40
2009-07-20New type afc_lock_op_t with allowed lock operations for afc_lock_file. Only ↵Gravatar Nikias Bassen1-1/+7
non-blocking locks are supported via AFC. Signed-off-by: Martin Szulecki <opensuse@sukimashita.com>
2009-07-19Add missing mobilesync public headerGravatar Martin Szulecki1-0/+43
2009-07-15Implement lockdown set_value, remove_value and enter_recovery request APIGravatar Martin Szulecki1-1/+4