diff options
| author | 2009-03-16 21:40:33 +0100 | |
|---|---|---|
| committer | 2009-03-16 21:40:33 +0100 | |
| commit | 19992c668afeb53a28e08a1f61572b5379f87590 (patch) | |
| tree | 4f1784b81afe88a6240889961b5fc3d2b0d6a82e /include | |
| parent | 0d05f8de79ee91e9be80c6296eff9ce216582ba4 (diff) | |
| parent | 201e1ff5bf2054fcb1c0cc3cd7ba1e229dbde3fa (diff) | |
| download | libimobiledevice-19992c668afeb53a28e08a1f61572b5379f87590.tar.gz libimobiledevice-19992c668afeb53a28e08a1f61572b5379f87590.tar.bz2 | |
Merge branch 'master' into contact_sync
Conflicts:
configure.ac
dev/Makefile.am
include/libiphone/libiphone.h
src/AFC.c
src/AFC.h
src/Makefile.am
Diffstat (limited to 'include')
| -rw-r--r-- | include/libiphone/libiphone.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 9823bed..0035e2f 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h | |||
| @@ -81,6 +81,9 @@ typedef struct iphone_afc_file_int *iphone_afc_file_t; | |||
| 81 | struct iphone_msync_client_int; | 81 | struct iphone_msync_client_int; |
| 82 | typedef struct iphone_msync_client_int *iphone_msync_client_t; | 82 | typedef struct iphone_msync_client_int *iphone_msync_client_t; |
| 83 | 83 | ||
| 84 | struct iphone_np_client_int; | ||
| 85 | typedef struct iphone_np_client_int *iphone_np_client_t; | ||
| 86 | |||
| 84 | //debug related functions | 87 | //debug related functions |
| 85 | #define DBGMASK_ALL 0xFFFF | 88 | #define DBGMASK_ALL 0xFFFF |
| 86 | #define DBGMASK_NONE 0x0000 | 89 | #define DBGMASK_NONE 0x0000 |
| @@ -124,6 +127,7 @@ iphone_error_t iphone_afc_get_dir_list ( iphone_afc_client_t client, const char | |||
| 124 | iphone_error_t iphone_afc_get_file_attr ( iphone_afc_client_t client, const char *filename, struct stat *stbuf ); | 127 | iphone_error_t iphone_afc_get_file_attr ( iphone_afc_client_t client, const char *filename, struct stat *stbuf ); |
| 125 | iphone_error_t iphone_afc_open_file ( iphone_afc_client_t client, const char *filename, iphone_afc_file_mode_t file_mode, iphone_afc_file_t *file ); | 128 | iphone_error_t iphone_afc_open_file ( iphone_afc_client_t client, const char *filename, iphone_afc_file_mode_t file_mode, iphone_afc_file_t *file ); |
| 126 | iphone_error_t iphone_afc_close_file ( iphone_afc_client_t client, iphone_afc_file_t file); | 129 | iphone_error_t iphone_afc_close_file ( iphone_afc_client_t client, iphone_afc_file_t file); |
| 130 | iphone_error_t iphone_afc_lock_file ( iphone_afc_client_t client, iphone_afc_file_t file, int operation); | ||
| 127 | iphone_error_t iphone_afc_read_file ( iphone_afc_client_t client, iphone_afc_file_t file, char *data, int length, uint32_t *bytes); | 131 | iphone_error_t iphone_afc_read_file ( iphone_afc_client_t client, iphone_afc_file_t file, char *data, int length, uint32_t *bytes); |
| 128 | iphone_error_t iphone_afc_write_file ( iphone_afc_client_t client, iphone_afc_file_t file, const char *data, int length, uint32_t *bytes); | 132 | iphone_error_t iphone_afc_write_file ( iphone_afc_client_t client, iphone_afc_file_t file, const char *data, int length, uint32_t *bytes); |
| 129 | iphone_error_t iphone_afc_seek_file ( iphone_afc_client_t client, iphone_afc_file_t file, int seekpos); | 133 | iphone_error_t iphone_afc_seek_file ( iphone_afc_client_t client, iphone_afc_file_t file, int seekpos); |
| @@ -131,6 +135,7 @@ iphone_error_t iphone_afc_truncate_file ( iphone_afc_client_t client, iphone_afc | |||
| 131 | iphone_error_t iphone_afc_delete_file ( iphone_afc_client_t client, const char *path); | 135 | iphone_error_t iphone_afc_delete_file ( iphone_afc_client_t client, const char *path); |
| 132 | iphone_error_t iphone_afc_rename_file ( iphone_afc_client_t client, const char *from, const char *to); | 136 | iphone_error_t iphone_afc_rename_file ( iphone_afc_client_t client, const char *from, const char *to); |
| 133 | iphone_error_t iphone_afc_mkdir ( iphone_afc_client_t client, const char *dir); | 137 | iphone_error_t iphone_afc_mkdir ( iphone_afc_client_t client, const char *dir); |
| 138 | iphone_error_t iphone_afc_truncate(iphone_afc_client_t client, const char *path, off_t newsize); | ||
| 134 | 139 | ||
| 135 | 140 | ||
| 136 | 141 | ||
