diff options
author | Nikias Bassen | 2009-03-08 11:57:58 -0700 |
---|---|---|
committer | Matt Colyer | 2009-03-08 11:59:02 -0700 |
commit | 927a6d3d437ca4532f8e9e906089b3a24542ebd3 (patch) | |
tree | b98d85db19727387c3e8aff2968b1e6919ad63bc /include/libiphone | |
parent | aab730841f6bf9fe93383649c2e1e25cea3818a8 (diff) | |
download | libimobiledevice-927a6d3d437ca4532f8e9e906089b3a24542ebd3.tar.gz libimobiledevice-927a6d3d437ca4532f8e9e906089b3a24542ebd3.tar.bz2 |
Adds the iphone_afc_truncate function and fixes a small log_debug issue.
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'include/libiphone')
-rw-r--r-- | include/libiphone/libiphone.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 32d47d3..158fd84 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h @@ -118,6 +118,7 @@ iphone_error_t iphone_afc_truncate_file ( iphone_afc_client_t client, iphone_afc iphone_error_t iphone_afc_delete_file ( iphone_afc_client_t client, const char *path); iphone_error_t iphone_afc_rename_file ( iphone_afc_client_t client, const char *from, const char *to); iphone_error_t iphone_afc_mkdir ( iphone_afc_client_t client, const char *dir); +iphone_error_t iphone_afc_truncate(iphone_afc_client_t client, const char *path, off_t newsize); #ifdef __cplusplus |