diff options
| author | 2009-11-28 04:50:01 +0100 | |
|---|---|---|
| committer | 2009-11-30 21:02:49 -0800 | |
| commit | fe239d46809996def06502d55f8b34b46e475e53 (patch) | |
| tree | 2487169850418d085638b2ee20675822861dc40d /include/libiphone/afc.h | |
| parent | 7adc81dddd764b0ef76fefd73852b835d3211b9b (diff) | |
| download | libimobiledevice-fe239d46809996def06502d55f8b34b46e475e53.tar.gz libimobiledevice-fe239d46809996def06502d55f8b34b46e475e53.tar.bz2 | |
afc_truncate: use uint64_t instead of off_t
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>
Diffstat (limited to 'include/libiphone/afc.h')
| -rw-r--r-- | include/libiphone/afc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libiphone/afc.h b/include/libiphone/afc.h index 94eb02e..7eff678 100644 --- a/include/libiphone/afc.h +++ b/include/libiphone/afc.h | |||
| @@ -103,7 +103,7 @@ afc_error_t afc_file_truncate(afc_client_t client, uint64_t handle, uint64_t new | |||
| 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 | ||
