summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-10-30 18:07:20 +0100
committerGravatar Matt Colyer2009-11-02 20:52:55 -0800
commit549f4389e3009d9f78b94d4a3570e29f428968ab (patch)
treef5de57c8a5a3e54f634287743f0b638786b674ec /include
parentd6226d01ce5bd00a85310061fb33d0510ecd7564 (diff)
downloadlibimobiledevice-549f4389e3009d9f78b94d4a3570e29f428968ab.tar.gz
libimobiledevice-549f4389e3009d9f78b94d4a3570e29f428968ab.tar.bz2
AFC: new function afc_set_file_time
This function allows to set the modification time of a file. The time value needs to be specified as nanoseconds since epoch. [#81 state:resolved] Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'include')
-rw-r--r--include/libiphone/afc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libiphone/afc.h b/include/libiphone/afc.h
index e913f91..1c714c9 100644
--- a/include/libiphone/afc.h
+++ b/include/libiphone/afc.h
@@ -105,6 +105,7 @@ afc_error_t afc_rename_path(afc_client_t client, const char *from, const char *t
afc_error_t afc_make_directory(afc_client_t client, const char *dir);
afc_error_t afc_truncate(afc_client_t client, const char *path, off_t newsize);
afc_error_t afc_make_link(afc_client_t client, afc_link_type_t linktype, const char *target, const char *linkname);
+afc_error_t afc_set_file_time(afc_client_t client, const char *path, uint64_t mtime);
/* Helper functions */
afc_error_t afc_get_device_info_key(afc_client_t client, const char *key, char **value);