summaryrefslogtreecommitdiffstats
path: root/include/libiphone
AgeCommit message (Collapse)AuthorFilesLines
2010-01-24Add service code and a backup tool for mobilebackup supportGravatar Martin Szulecki1-0/+55
2010-01-22Rename all *_recv functions to *_receive to match underlying APIGravatar Martin Szulecki2-2/+2
2010-01-22Rename iphone_device_recv/_send functions to use iphone_connection_* domainGravatar Martin Szulecki1-4/+6
These communication functions operate on an iphone_connection_t, thus their function name should reflect that.
2010-01-22Merge branch 'master' into martinGravatar Martin Szulecki1-17/+13
2010-01-21installation_proxy: rework code to use plist client_optionsGravatar Nikias Bassen1-17/+13
[#104 state:resolved]
2010-01-21Add LOCKDOWN_E_INVALID_SERVICE error and functionalityGravatar Martin Szulecki1-0/+1
This error is returned if the service does not exist on the device. It comes handy to detect if for instance the AFC2 service is actually setup on a device or not.
2010-01-13lockdown/tools/python: use correct type for port parameterGravatar Nikias Bassen1-1/+1
2010-01-13iphone: rename dst_port to port for consistencyGravatar Nikias Bassen1-1/+1
2010-01-13afc: use correct type for port parameter and rename it, plus doc updateGravatar Nikias Bassen1-1/+1
2010-01-13notification_proxy: use correct type for port parameter and rename itGravatar Nikias Bassen1-1/+1
2010-01-13Refactor pairing to allow implementations to fully handle pairingGravatar Martin Szulecki1-3/+11
Implementations can now supply a full pair record and thus use their own preferred method of managing pairing records if needed.
2010-01-13mobilesync: use correct type for port parameter and rename itGravatar Nikias Bassen1-1/+1
2010-01-13installation_proxy: use correct type for port parameter and rename itGravatar Nikias Bassen1-1/+1
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