From 549f4389e3009d9f78b94d4a3570e29f428968ab Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 30 Oct 2009 18:07:20 +0100 Subject: 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 --- include/libiphone/afc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); -- cgit v1.1-32-gdbae