| afc.h | | afc.h | |
| /** | | /** | |
| * @file libimobiledevice/afc.h | | * @file libimobiledevice/afc.h | |
|
| * @brief AFC Implementation | | * @brief Access the filesystem. | |
| * \internal | | * \internal | |
| * | | * | |
| * Copyright (c) 2009 Nikias Bassen All Rights Reserved. | | * Copyright (c) 2009 Nikias Bassen All Rights Reserved. | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| | | | |
| skipping to change at line 95 | | skipping to change at line 95 | |
| typedef enum { | | typedef enum { | |
| AFC_LOCK_SH = 1 | 4, /**< shared lock */ | | AFC_LOCK_SH = 1 | 4, /**< shared lock */ | |
| AFC_LOCK_EX = 2 | 4, /**< exclusive lock */ | | AFC_LOCK_EX = 2 | 4, /**< exclusive lock */ | |
| AFC_LOCK_UN = 8 | 4 /**< unlock */ | | AFC_LOCK_UN = 8 | 4 /**< unlock */ | |
| } afc_lock_op_t; | | } afc_lock_op_t; | |
| | | | |
| typedef struct afc_client_private afc_client_private; | | typedef struct afc_client_private afc_client_private; | |
| typedef afc_client_private *afc_client_t; /**< The client handle. */ | | typedef afc_client_private *afc_client_t; /**< The client handle. */ | |
| | | | |
| /* Interface */ | | /* Interface */ | |
|
| | | afc_error_t afc_client_new_from_connection(idevice_connection_t connection,
afc_client_t *client); | |
| afc_error_t afc_client_new(idevice_t device, uint16_t port, afc_client_t *c
lient); | | afc_error_t afc_client_new(idevice_t device, uint16_t port, afc_client_t *c
lient); | |
| afc_error_t afc_client_free(afc_client_t client); | | afc_error_t afc_client_free(afc_client_t client); | |
| afc_error_t afc_get_device_info(afc_client_t client, char ***infos); | | afc_error_t afc_get_device_info(afc_client_t client, char ***infos); | |
| afc_error_t afc_read_directory(afc_client_t client, const char *dir, char *
**list); | | afc_error_t afc_read_directory(afc_client_t client, const char *dir, char *
**list); | |
| afc_error_t afc_get_file_info(afc_client_t client, const char *filename, ch
ar ***infolist); | | afc_error_t afc_get_file_info(afc_client_t client, const char *filename, ch
ar ***infolist); | |
| afc_error_t afc_file_open(afc_client_t client, const char *filename, afc_fi
le_mode_t file_mode, uint64_t *handle); | | afc_error_t afc_file_open(afc_client_t client, const char *filename, afc_fi
le_mode_t file_mode, uint64_t *handle); | |
| afc_error_t afc_file_close(afc_client_t client, uint64_t handle); | | afc_error_t afc_file_close(afc_client_t client, uint64_t handle); | |
| afc_error_t afc_file_lock(afc_client_t client, uint64_t handle, afc_lock_op
_t operation); | | afc_error_t afc_file_lock(afc_client_t client, uint64_t handle, afc_lock_op
_t operation); | |
| afc_error_t afc_file_read(afc_client_t client, uint64_t handle, char *data,
uint32_t length, uint32_t *bytes_read); | | afc_error_t afc_file_read(afc_client_t client, uint64_t handle, char *data,
uint32_t length, uint32_t *bytes_read); | |
| afc_error_t afc_file_write(afc_client_t client, uint64_t handle, const char
*data, uint32_t length, uint32_t *bytes_written); | | afc_error_t afc_file_write(afc_client_t client, uint64_t handle, const char
*data, uint32_t length, uint32_t *bytes_written); | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 2 lines changed or added | |
|
| installation_proxy.h | | installation_proxy.h | |
| /** | | /** | |
| * @file libimobiledevice/installation_proxy.h | | * @file libimobiledevice/installation_proxy.h | |
|
| * @brief Implementation to talk to the installation proxy on a device | | * @brief Manage applications on a device. | |
| * \internal | | * \internal | |
| * | | * | |
| * Copyright (c) 2009 Nikias Bassen All Rights Reserved. | | * Copyright (c) 2009 Nikias Bassen All Rights Reserved. | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| | | | |
| skipping to change at line 52 | | skipping to change at line 52 | |
| #define INSTPROXY_E_UNKNOWN_ERROR -256 | | #define INSTPROXY_E_UNKNOWN_ERROR -256 | |
| /*@}*/ | | /*@}*/ | |
| | | | |
| /** Represents an error code. */ | | /** Represents an error code. */ | |
| typedef int16_t instproxy_error_t; | | typedef int16_t instproxy_error_t; | |
| | | | |
| typedef struct instproxy_client_private instproxy_client_private; | | typedef struct instproxy_client_private instproxy_client_private; | |
| typedef instproxy_client_private *instproxy_client_t; /**< The client handl
e. */ | | typedef instproxy_client_private *instproxy_client_t; /**< The client handl
e. */ | |
| | | | |
| /** Reports the status of the given operation */ | | /** Reports the status of the given operation */ | |
|
| typedef void (*instproxy_status_cb_t) (const char *operation, plist_t statu
s); | | typedef void (*instproxy_status_cb_t) (const char *operation, plist_t statu
s, void *user_data); | |
| | | | |
| /* Interface */ | | /* Interface */ | |
| instproxy_error_t instproxy_client_new(idevice_t device, uint16_t port, ins
tproxy_client_t *client); | | instproxy_error_t instproxy_client_new(idevice_t device, uint16_t port, ins
tproxy_client_t *client); | |
| instproxy_error_t instproxy_client_free(instproxy_client_t client); | | instproxy_error_t instproxy_client_free(instproxy_client_t client); | |
| | | | |
| instproxy_error_t instproxy_browse(instproxy_client_t client, plist_t clien
t_options, plist_t *result); | | instproxy_error_t instproxy_browse(instproxy_client_t client, plist_t clien
t_options, plist_t *result); | |
|
| instproxy_error_t instproxy_install(instproxy_client_t client, const char * | | instproxy_error_t instproxy_install(instproxy_client_t client, const char * | |
| pkg_path, plist_t client_options, instproxy_status_cb_t status_cb); | | pkg_path, plist_t client_options, instproxy_status_cb_t status_cb, void *us | |
| instproxy_error_t instproxy_upgrade(instproxy_client_t client, const char * | | er_data); | |
| pkg_path, plist_t client_options, instproxy_status_cb_t status_cb); | | instproxy_error_t instproxy_upgrade(instproxy_client_t client, const char * | |
| instproxy_error_t instproxy_uninstall(instproxy_client_t client, const char | | pkg_path, plist_t client_options, instproxy_status_cb_t status_cb, void *us | |
| *appid, plist_t client_options, instproxy_status_cb_t status_cb); | | er_data); | |
| | | instproxy_error_t instproxy_uninstall(instproxy_client_t client, const char | |
| | | *appid, plist_t client_options, instproxy_status_cb_t status_cb, void *use | |
| | | r_data); | |
| | | | |
| instproxy_error_t instproxy_lookup_archives(instproxy_client_t client, plis
t_t client_options, plist_t *result); | | instproxy_error_t instproxy_lookup_archives(instproxy_client_t client, plis
t_t client_options, plist_t *result); | |
|
| instproxy_error_t instproxy_archive(instproxy_client_t client, const char * | | instproxy_error_t instproxy_archive(instproxy_client_t client, const char * | |
| appid, plist_t client_options, instproxy_status_cb_t status_cb); | | appid, plist_t client_options, instproxy_status_cb_t status_cb, void *user_ | |
| instproxy_error_t instproxy_restore(instproxy_client_t client, const char * | | data); | |
| appid, plist_t client_options, instproxy_status_cb_t status_cb); | | instproxy_error_t instproxy_restore(instproxy_client_t client, const char * | |
| instproxy_error_t instproxy_remove_archive(instproxy_client_t client, const | | appid, plist_t client_options, instproxy_status_cb_t status_cb, void *user_ | |
| char *appid, plist_t client_options, instproxy_status_cb_t status_cb); | | data); | |
| | | instproxy_error_t instproxy_remove_archive(instproxy_client_t client, const | |
| | | char *appid, plist_t client_options, instproxy_status_cb_t status_cb, void | |
| | | *user_data); | |
| | | | |
| plist_t instproxy_client_options_new(); | | plist_t instproxy_client_options_new(); | |
| void instproxy_client_options_add(plist_t client_options, ...) G_GNUC_NULL_
TERMINATED; | | void instproxy_client_options_add(plist_t client_options, ...) G_GNUC_NULL_
TERMINATED; | |
| void instproxy_client_options_free(plist_t client_options); | | void instproxy_client_options_free(plist_t client_options); | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif | | #endif | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 14 lines changed or deleted | | 20 lines changed or added | |
|
| lockdown.h | | lockdown.h | |
| /** | | /** | |
| * @file libimobiledevice/lockdown.h | | * @file libimobiledevice/lockdown.h | |
|
| * @brief Implementation to communicate with the lockdown device daemon | | * @brief Manage device preferences, start services, pairing and activation
. | |
| * \internal | | * \internal | |
| * | | * | |
| * Copyright (c) 2008 Zach C. All Rights Reserved. | | * Copyright (c) 2008 Zach C. All Rights Reserved. | |
| * Copyright (c) 2009 Martin S. All Rights Reserved. | | * Copyright (c) 2009 Martin S. All Rights Reserved. | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| | | | |
| skipping to change at line 99 | | skipping to change at line 99 | |
| lockdownd_error_t lockdownd_unpair(lockdownd_client_t client, lockdownd_pai
r_record_t pair_record); | | lockdownd_error_t lockdownd_unpair(lockdownd_client_t client, lockdownd_pai
r_record_t pair_record); | |
| lockdownd_error_t lockdownd_activate(lockdownd_client_t client, plist_t act
ivation_record); | | lockdownd_error_t lockdownd_activate(lockdownd_client_t client, plist_t act
ivation_record); | |
| lockdownd_error_t lockdownd_deactivate(lockdownd_client_t client); | | lockdownd_error_t lockdownd_deactivate(lockdownd_client_t client); | |
| lockdownd_error_t lockdownd_enter_recovery(lockdownd_client_t client); | | lockdownd_error_t lockdownd_enter_recovery(lockdownd_client_t client); | |
| lockdownd_error_t lockdownd_goodbye(lockdownd_client_t client); | | lockdownd_error_t lockdownd_goodbye(lockdownd_client_t client); | |
| | | | |
| /* Helper */ | | /* Helper */ | |
| void lockdownd_client_set_label(lockdownd_client_t client, const char *labe
l); | | void lockdownd_client_set_label(lockdownd_client_t client, const char *labe
l); | |
| lockdownd_error_t lockdownd_get_device_uuid(lockdownd_client_t control, cha
r **uuid); | | lockdownd_error_t lockdownd_get_device_uuid(lockdownd_client_t control, cha
r **uuid); | |
| lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char
**device_name); | | lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char
**device_name); | |
|
| | | lockdownd_error_t lockdownd_get_sync_data_classes(lockdownd_client_t client | |
| | | , char ***classes, int *count); | |
| | | lockdownd_error_t lockdownd_data_classes_free(char **classes); | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif | | #endif | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 4 lines changed or added | |
|
| mobilebackup.h | | mobilebackup.h | |
| /** | | /** | |
| * @file libimobiledevice/mobilebackup.h | | * @file libimobiledevice/mobilebackup.h | |
|
| * @brief MobileBackup Implementation | | * @brief Backup and restore of all device data. | |
| * \internal | | * \internal | |
| * | | * | |
| * Copyright (c) 2009 Martin Szulecki All Rights Reserved. | | * Copyright (c) 2009 Martin Szulecki All Rights Reserved. | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| | | | |
| skipping to change at line 50 | | skipping to change at line 50 | |
| | | | |
| #define MOBILEBACKUP_E_UNKNOWN_ERROR -256 | | #define MOBILEBACKUP_E_UNKNOWN_ERROR -256 | |
| /*@}*/ | | /*@}*/ | |
| | | | |
| /** Represents an error code. */ | | /** Represents an error code. */ | |
| typedef int16_t mobilebackup_error_t; | | typedef int16_t mobilebackup_error_t; | |
| | | | |
| typedef struct mobilebackup_client_private mobilebackup_client_private; | | typedef struct mobilebackup_client_private mobilebackup_client_private; | |
| typedef mobilebackup_client_private *mobilebackup_client_t; /**< The client
handle. */ | | typedef mobilebackup_client_private *mobilebackup_client_t; /**< The client
handle. */ | |
| | | | |
|
| | | typedef enum { | |
| | | MB_RESTORE_NOTIFY_SPRINGBOARD = 1 << 0, | |
| | | MB_RESTORE_PRESERVE_SETTINGS = 1 << 1, | |
| | | MB_RESTORE_PRESERVE_CAMERA_ROLL = 1 << 2 | |
| | | } mobilebackup_flags_t; | |
| | | | |
| mobilebackup_error_t mobilebackup_client_new(idevice_t device, uint16_t por
t, mobilebackup_client_t * client); | | mobilebackup_error_t mobilebackup_client_new(idevice_t device, uint16_t por
t, mobilebackup_client_t * client); | |
| mobilebackup_error_t mobilebackup_client_free(mobilebackup_client_t client)
; | | mobilebackup_error_t mobilebackup_client_free(mobilebackup_client_t client)
; | |
| mobilebackup_error_t mobilebackup_receive(mobilebackup_client_t client, pli
st_t *plist); | | mobilebackup_error_t mobilebackup_receive(mobilebackup_client_t client, pli
st_t *plist); | |
| mobilebackup_error_t mobilebackup_send(mobilebackup_client_t client, plist_
t plist); | | mobilebackup_error_t mobilebackup_send(mobilebackup_client_t client, plist_
t plist); | |
| mobilebackup_error_t mobilebackup_request_backup(mobilebackup_client_t clie
nt, plist_t backup_manifest, const char *base_path, const char *proto_versi
on); | | mobilebackup_error_t mobilebackup_request_backup(mobilebackup_client_t clie
nt, plist_t backup_manifest, const char *base_path, const char *proto_versi
on); | |
| mobilebackup_error_t mobilebackup_send_backup_file_received(mobilebackup_cl
ient_t client); | | mobilebackup_error_t mobilebackup_send_backup_file_received(mobilebackup_cl
ient_t client); | |
|
| | | mobilebackup_error_t mobilebackup_request_restore(mobilebackup_client_t cli | |
| | | ent, plist_t backup_manifest, mobilebackup_flags_t flags, const char *proto | |
| | | _version); | |
| | | mobilebackup_error_t mobilebackup_receive_restore_file_received(mobilebacku | |
| | | p_client_t client, plist_t *result); | |
| | | mobilebackup_error_t mobilebackup_receive_restore_application_received(mobi | |
| | | lebackup_client_t client, plist_t *result); | |
| | | mobilebackup_error_t mobilebackup_send_restore_complete(mobilebackup_client | |
| | | _t client); | |
| mobilebackup_error_t mobilebackup_send_error(mobilebackup_client_t client,
const char *reason); | | mobilebackup_error_t mobilebackup_send_error(mobilebackup_client_t client,
const char *reason); | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif | | #endif | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 1 lines changed or deleted | | 16 lines changed or added | |
|
| mobilesync.h | | mobilesync.h | |
| /** | | /** | |
| * @file libimobiledevice/mobilesync.h | | * @file libimobiledevice/mobilesync.h | |
|
| * @brief MobileSync Implementation | | * @brief Synchronize data classes with a device and computer. | |
| * \internal | | * \internal | |
| * | | * | |
|
| | | * Copyright (c) 2010 Bryan Forbes All Rights Reserved. | |
| * Copyright (c) 2009 Jonathan Beck All Rights Reserved. | | * Copyright (c) 2009 Jonathan Beck All Rights Reserved. | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 32 | |
| */ | | */ | |
| | | | |
| #ifndef IMOBILESYNC_H | | #ifndef IMOBILESYNC_H | |
| #define IMOBILESYNC_H | | #define IMOBILESYNC_H | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" { | | extern "C" { | |
| #endif | | #endif | |
| | | | |
| #include <libimobiledevice/libimobiledevice.h> | | #include <libimobiledevice/libimobiledevice.h> | |
|
| | | #include <glib.h> | |
| | | | |
| /** @name Error Codes */ | | /** @name Error Codes */ | |
| /*@{*/ | | /*@{*/ | |
| #define MOBILESYNC_E_SUCCESS 0 | | #define MOBILESYNC_E_SUCCESS 0 | |
| #define MOBILESYNC_E_INVALID_ARG -1 | | #define MOBILESYNC_E_INVALID_ARG -1 | |
| #define MOBILESYNC_E_PLIST_ERROR -2 | | #define MOBILESYNC_E_PLIST_ERROR -2 | |
| #define MOBILESYNC_E_MUX_ERROR -3 | | #define MOBILESYNC_E_MUX_ERROR -3 | |
| #define MOBILESYNC_E_BAD_VERSION -4 | | #define MOBILESYNC_E_BAD_VERSION -4 | |
|
| | | #define MOBILESYNC_E_SYNC_REFUSED -5 | |
| | | #define MOBILESYNC_E_CANCELLED -6 | |
| | | #define MOBILESYNC_E_WRONG_DIRECTION -7 | |
| | | #define MOBILESYNC_E_NOT_READY -8 | |
| | | | |
| #define MOBILESYNC_E_UNKNOWN_ERROR -256 | | #define MOBILESYNC_E_UNKNOWN_ERROR -256 | |
| /*@}*/ | | /*@}*/ | |
| | | | |
|
| | | /** The sync type of the current sync session. */ | |
| | | typedef enum { | |
| | | MOBILESYNC_SYNC_TYPE_FAST, /**< Fast-sync requires that only the cha | |
| | | nges made since the last synchronization should be reported by the computer | |
| | | . */ | |
| | | MOBILESYNC_SYNC_TYPE_SLOW, /**< Slow-sync requires that all data fro | |
| | | m the computer needs to be synchronized/sent. */ | |
| | | MOBILESYNC_SYNC_TYPE_RESET /**< Reset-sync signals that the computer | |
| | | should send all data again. */ | |
| | | } mobilesync_sync_type_t; | |
| | | | |
| /** Represents an error code. */ | | /** Represents an error code. */ | |
| typedef int16_t mobilesync_error_t; | | typedef int16_t mobilesync_error_t; | |
| | | | |
| typedef struct mobilesync_client_private mobilesync_client_private; | | typedef struct mobilesync_client_private mobilesync_client_private; | |
| typedef mobilesync_client_private *mobilesync_client_t; /**< The client han
dle */ | | typedef mobilesync_client_private *mobilesync_client_t; /**< The client han
dle */ | |
| | | | |
|
| | | typedef struct { | |
| | | char *device_anchor; | |
| | | char *computer_anchor; | |
| | | } mobilesync_anchors; | |
| | | typedef mobilesync_anchors *mobilesync_anchors_t; /**< Anchors used by the | |
| | | device and computer. */ | |
| | | | |
| | | /* Interface */ | |
| mobilesync_error_t mobilesync_client_new(idevice_t device, uint16_t port, m
obilesync_client_t * client); | | mobilesync_error_t mobilesync_client_new(idevice_t device, uint16_t port, m
obilesync_client_t * client); | |
| mobilesync_error_t mobilesync_client_free(mobilesync_client_t client); | | mobilesync_error_t mobilesync_client_free(mobilesync_client_t client); | |
|
| | | | |
| mobilesync_error_t mobilesync_receive(mobilesync_client_t client, plist_t *
plist); | | mobilesync_error_t mobilesync_receive(mobilesync_client_t client, plist_t *
plist); | |
| mobilesync_error_t mobilesync_send(mobilesync_client_t client, plist_t plis
t); | | mobilesync_error_t mobilesync_send(mobilesync_client_t client, plist_t plis
t); | |
| | | | |
|
| | | mobilesync_error_t mobilesync_start(mobilesync_client_t client, const char | |
| | | *data_class, mobilesync_anchors_t anchors, uint64_t computer_data_class_ver | |
| | | sion, mobilesync_sync_type_t *sync_type, uint64_t *device_data_class_versio | |
| | | n); | |
| | | mobilesync_error_t mobilesync_cancel(mobilesync_client_t client, const char | |
| | | * reason); | |
| | | mobilesync_error_t mobilesync_finish(mobilesync_client_t client); | |
| | | | |
| | | mobilesync_error_t mobilesync_get_all_records_from_device(mobilesync_client | |
| | | _t client); | |
| | | mobilesync_error_t mobilesync_get_changes_from_device(mobilesync_client_t c | |
| | | lient); | |
| | | | |
| | | mobilesync_error_t mobilesync_receive_changes(mobilesync_client_t client, p | |
| | | list_t *entities, uint8_t *is_last_record, plist_t *actions); | |
| | | mobilesync_error_t mobilesync_acknowledge_changes_from_device(mobilesync_cl | |
| | | ient_t client); | |
| | | | |
| | | mobilesync_error_t mobilesync_ready_to_send_changes_from_computer(mobilesyn | |
| | | c_client_t client); | |
| | | | |
| | | mobilesync_error_t mobilesync_send_changes(mobilesync_client_t client, plis | |
| | | t_t entities, uint8_t is_last_record, plist_t actions); | |
| | | mobilesync_error_t mobilesync_remap_identifiers(mobilesync_client_t client, | |
| | | plist_t *mapping); | |
| | | | |
| | | /* Helper */ | |
| | | mobilesync_anchors_t mobilesync_anchors_new(const char *device_anchor, cons | |
| | | t char *computer_anchor); | |
| | | void mobilesync_anchors_free(mobilesync_anchors_t anchors); | |
| | | | |
| | | plist_t mobilesync_actions_new(); | |
| | | void mobilesync_actions_add(plist_t actions, ...) G_GNUC_NULL_TERMINATED; | |
| | | void mobilesync_actions_free(plist_t actions); | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif | | #endif | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 8 change blocks. |
| 1 lines changed or deleted | | 62 lines changed or added | |
|
| notification_proxy.h | | notification_proxy.h | |
| /** | | /** | |
| * @file libimobiledevice/notification_proxy.h | | * @file libimobiledevice/notification_proxy.h | |
|
| * @brief Implementation to talk to the notification proxy on a device | | * @brief Observe and post notifications. | |
| * \internal | | * \internal | |
| * | | * | |
| * Copyright (c) 2009 Nikias Bassen All Rights Reserved. | | * Copyright (c) 2009 Nikias Bassen All Rights Reserved. | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| | | | |
| skipping to change at line 74 | | skipping to change at line 74 | |
| #define NP_SYNC_RESUME_REQUEST "com.apple.itunes-client.syncResumeReq
uest" | | #define NP_SYNC_RESUME_REQUEST "com.apple.itunes-client.syncResumeReq
uest" | |
| #define NP_PHONE_NUMBER_CHANGED "com.apple.mobile.lockdown.phone_numbe
r_changed" | | #define NP_PHONE_NUMBER_CHANGED "com.apple.mobile.lockdown.phone_numbe
r_changed" | |
| #define NP_DEVICE_NAME_CHANGED "com.apple.mobile.lockdown.device_name
_changed" | | #define NP_DEVICE_NAME_CHANGED "com.apple.mobile.lockdown.device_name
_changed" | |
| #define NP_TIMEZONE_CHANGED "com.apple.mobile.lockdown.timezone_ch
anged" | | #define NP_TIMEZONE_CHANGED "com.apple.mobile.lockdown.timezone_ch
anged" | |
| #define NP_TRUSTED_HOST_ATTACHED "com.apple.mobile.lockdown.trusted_hos
t_attached" | | #define NP_TRUSTED_HOST_ATTACHED "com.apple.mobile.lockdown.trusted_hos
t_attached" | |
| #define NP_HOST_DETACHED "com.apple.mobile.lockdown.host_detach
ed" | | #define NP_HOST_DETACHED "com.apple.mobile.lockdown.host_detach
ed" | |
| #define NP_HOST_ATTACHED "com.apple.mobile.lockdown.host_attach
ed" | | #define NP_HOST_ATTACHED "com.apple.mobile.lockdown.host_attach
ed" | |
| #define NP_REGISTRATION_FAILED "com.apple.mobile.lockdown.registratio
n_failed" | | #define NP_REGISTRATION_FAILED "com.apple.mobile.lockdown.registratio
n_failed" | |
| #define NP_ACTIVATION_STATE "com.apple.mobile.lockdown.activation_
state" | | #define NP_ACTIVATION_STATE "com.apple.mobile.lockdown.activation_
state" | |
| #define NP_BRICK_STATE "com.apple.mobile.lockdown.brick_state
" | | #define NP_BRICK_STATE "com.apple.mobile.lockdown.brick_state
" | |
|
| | | #define NP_DISK_USAGE_CHANGED "com.apple.mobile.lockdown.disk_usage_
changed" /**< iOS 4.0+ */ | |
| #define NP_DS_DOMAIN_CHANGED "com.apple.mobile.data_sync.domain_cha
nged" | | #define NP_DS_DOMAIN_CHANGED "com.apple.mobile.data_sync.domain_cha
nged" | |
| #define NP_BACKUP_DOMAIN_CHANGED "com.apple.mobile.backup.domain_change
d" | | #define NP_BACKUP_DOMAIN_CHANGED "com.apple.mobile.backup.domain_change
d" | |
| #define NP_APP_INSTALLED "com.apple.mobile.application_installe
d" | | #define NP_APP_INSTALLED "com.apple.mobile.application_installe
d" | |
| #define NP_APP_UNINSTALLED "com.apple.mobile.application_uninstal
led" | | #define NP_APP_UNINSTALLED "com.apple.mobile.application_uninstal
led" | |
| #define NP_DEV_IMAGE_MOUNTED "com.apple.mobile.developer_image_moun
ted" | | #define NP_DEV_IMAGE_MOUNTED "com.apple.mobile.developer_image_moun
ted" | |
| #define NP_ATTEMPTACTIVATION "com.apple.springboard.attemptactivati
on" | | #define NP_ATTEMPTACTIVATION "com.apple.springboard.attemptactivati
on" | |
| #define NP_ITDBPREP_DID_END "com.apple.itdbprep.notification.didEn
d" | | #define NP_ITDBPREP_DID_END "com.apple.itdbprep.notification.didEn
d" | |
| #define NP_LANGUAGE_CHANGED "com.apple.language.changed" | | #define NP_LANGUAGE_CHANGED "com.apple.language.changed" | |
| #define NP_ADDRESS_BOOK_PREF_CHANGED "com.apple.AddressBook.PreferenceChang
ed" | | #define NP_ADDRESS_BOOK_PREF_CHANGED "com.apple.AddressBook.PreferenceChang
ed" | |
| /*@}*/ | | /*@}*/ | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 2 lines changed or added | |
|
| sbservices.h | | sbservices.h | |
| /** | | /** | |
| * @file libimobiledevice/sbservices.h | | * @file libimobiledevice/sbservices.h | |
|
| * @brief Implementation to talk to the SpringBoard services on a device | | * @brief Manage SpringBoard icons and retrieve icon images. | |
| * \internal | | * \internal | |
| * | | * | |
| * Copyright (c) 2009 Nikias Bassen All Rights Reserved. | | * Copyright (c) 2009 Nikias Bassen All Rights Reserved. | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| * | | * | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| | | | |
| skipping to change at line 51 | | skipping to change at line 51 | |
| | | | |
| /** Represents an error code. */ | | /** Represents an error code. */ | |
| typedef int16_t sbservices_error_t; | | typedef int16_t sbservices_error_t; | |
| | | | |
| typedef struct sbservices_client_private sbservices_client_private; | | typedef struct sbservices_client_private sbservices_client_private; | |
| typedef sbservices_client_private *sbservices_client_t; /**< The client han
dle. */ | | typedef sbservices_client_private *sbservices_client_t; /**< The client han
dle. */ | |
| | | | |
| /* Interface */ | | /* Interface */ | |
| sbservices_error_t sbservices_client_new(idevice_t device, uint16_t port, s
bservices_client_t *client); | | sbservices_error_t sbservices_client_new(idevice_t device, uint16_t port, s
bservices_client_t *client); | |
| sbservices_error_t sbservices_client_free(sbservices_client_t client); | | sbservices_error_t sbservices_client_free(sbservices_client_t client); | |
|
| sbservices_error_t sbservices_get_icon_state(sbservices_client_t client, pl
ist_t *state); | | sbservices_error_t sbservices_get_icon_state(sbservices_client_t client, pl
ist_t *state, const char *format_version); | |
| sbservices_error_t sbservices_set_icon_state(sbservices_client_t client, pl
ist_t newstate); | | sbservices_error_t sbservices_set_icon_state(sbservices_client_t client, pl
ist_t newstate); | |
| sbservices_error_t sbservices_get_icon_pngdata(sbservices_client_t client,
const char *bundleId, char **pngdata, uint64_t *pngsize); | | sbservices_error_t sbservices_get_icon_pngdata(sbservices_client_t client,
const char *bundleId, char **pngdata, uint64_t *pngsize); | |
|
| | | sbservices_error_t sbservices_get_home_screen_wallpaper_pngdata(sbservices_
client_t client, char **pngdata, uint64_t *pngsize); | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif | | #endif | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 3 lines changed or added | |
|