diff options
Diffstat (limited to 'include/libiphone')
| -rw-r--r-- | include/libiphone/afc.h | 6 | ||||
| -rw-r--r-- | include/libiphone/lockdown.h | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/include/libiphone/afc.h b/include/libiphone/afc.h index 1c714c9..7eff678 100644 --- a/include/libiphone/afc.h +++ b/include/libiphone/afc.h | |||
| @@ -95,15 +95,15 @@ afc_error_t afc_get_file_info(afc_client_t client, const char *filename, char ** | |||
| 95 | afc_error_t afc_file_open(afc_client_t client, const char *filename, afc_file_mode_t file_mode, uint64_t *handle); | 95 | afc_error_t afc_file_open(afc_client_t client, const char *filename, afc_file_mode_t file_mode, uint64_t *handle); |
| 96 | afc_error_t afc_file_close(afc_client_t client, uint64_t handle); | 96 | afc_error_t afc_file_close(afc_client_t client, uint64_t handle); |
| 97 | afc_error_t afc_file_lock(afc_client_t client, uint64_t handle, afc_lock_op_t operation); | 97 | afc_error_t afc_file_lock(afc_client_t client, uint64_t handle, afc_lock_op_t operation); |
| 98 | afc_error_t afc_file_read(afc_client_t client, uint64_t handle, char *data, int length, uint32_t *bytes); | 98 | afc_error_t afc_file_read(afc_client_t client, uint64_t handle, char *data, uint32_t length, uint32_t *bytes_read); |
| 99 | afc_error_t afc_file_write(afc_client_t client, uint64_t handle, const char *data, int length, uint32_t *bytes); | 99 | afc_error_t afc_file_write(afc_client_t client, uint64_t handle, const char *data, uint32_t length, uint32_t *bytes_written); |
| 100 | afc_error_t afc_file_seek(afc_client_t client, uint64_t handle, int64_t offset, int whence); | 100 | afc_error_t afc_file_seek(afc_client_t client, uint64_t handle, int64_t offset, int whence); |
| 101 | afc_error_t afc_file_tell(afc_client_t client, uint64_t handle, uint64_t *position); | 101 | afc_error_t afc_file_tell(afc_client_t client, uint64_t handle, uint64_t *position); |
| 102 | afc_error_t afc_file_truncate(afc_client_t client, uint64_t handle, uint64_t newsize); | 102 | afc_error_t afc_file_truncate(afc_client_t client, uint64_t handle, uint64_t newsize); |
| 103 | afc_error_t afc_remove_path(afc_client_t client, const char *path); | 103 | afc_error_t afc_remove_path(afc_client_t client, const char *path); |
| 104 | afc_error_t afc_rename_path(afc_client_t client, const char *from, const char *to); | 104 | afc_error_t afc_rename_path(afc_client_t client, const char *from, const char *to); |
| 105 | afc_error_t afc_make_directory(afc_client_t client, const char *dir); | 105 | afc_error_t afc_make_directory(afc_client_t client, const char *dir); |
| 106 | afc_error_t afc_truncate(afc_client_t client, const char *path, off_t newsize); | 106 | afc_error_t afc_truncate(afc_client_t client, const char *path, uint64_t newsize); |
| 107 | afc_error_t afc_make_link(afc_client_t client, afc_link_type_t linktype, const char *target, const char *linkname); | 107 | afc_error_t afc_make_link(afc_client_t client, afc_link_type_t linktype, const char *target, const char *linkname); |
| 108 | afc_error_t afc_set_file_time(afc_client_t client, const char *path, uint64_t mtime); | 108 | afc_error_t afc_set_file_time(afc_client_t client, const char *path, uint64_t mtime); |
| 109 | 109 | ||
diff --git a/include/libiphone/lockdown.h b/include/libiphone/lockdown.h index af58190..31ffeab 100644 --- a/include/libiphone/lockdown.h +++ b/include/libiphone/lockdown.h | |||
| @@ -60,10 +60,11 @@ lockdownd_error_t lockdownd_get_value(lockdownd_client_t client, const char *dom | |||
| 60 | lockdownd_error_t lockdownd_set_value(lockdownd_client_t client, const char *domain, const char *key, plist_t value); | 60 | lockdownd_error_t lockdownd_set_value(lockdownd_client_t client, const char *domain, const char *key, plist_t value); |
| 61 | lockdownd_error_t lockdownd_remove_value(lockdownd_client_t client, const char *domain, const char *key); | 61 | lockdownd_error_t lockdownd_remove_value(lockdownd_client_t client, const char *domain, const char *key); |
| 62 | lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const char *service, int *port); | 62 | lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const char *service, int *port); |
| 63 | lockdownd_error_t lockdownd_stop_session(lockdownd_client_t client, const char *session_id); | 63 | lockdownd_error_t lockdownd_stop_session(lockdownd_client_t client); |
| 64 | lockdownd_error_t lockdownd_send(lockdownd_client_t client, plist_t plist); | 64 | lockdownd_error_t lockdownd_send(lockdownd_client_t client, plist_t plist); |
| 65 | lockdownd_error_t lockdownd_recv(lockdownd_client_t client, plist_t *plist); | 65 | lockdownd_error_t lockdownd_recv(lockdownd_client_t client, plist_t *plist); |
| 66 | lockdownd_error_t lockdownd_pair(lockdownd_client_t client, char *uuid, char *host_id); | 66 | lockdownd_error_t lockdownd_pair(lockdownd_client_t client, char *host_id); |
| 67 | lockdownd_error_t lockdownd_validate_pair(lockdownd_client_t client, char *host_id); | ||
| 67 | lockdownd_error_t lockdownd_get_device_uuid(lockdownd_client_t control, char **uuid); | 68 | lockdownd_error_t lockdownd_get_device_uuid(lockdownd_client_t control, char **uuid); |
| 68 | lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char **device_name); | 69 | lockdownd_error_t lockdownd_get_device_name(lockdownd_client_t client, char **device_name); |
| 69 | lockdownd_error_t lockdownd_enter_recovery(lockdownd_client_t client); | 70 | lockdownd_error_t lockdownd_enter_recovery(lockdownd_client_t client); |
