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 --- src/AFC.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/AFC.h') diff --git a/src/AFC.h b/src/AFC.h index 685d7b5..6b4a0aa 100644 --- a/src/AFC.h +++ b/src/AFC.h @@ -82,6 +82,7 @@ enum { AFC_OP_SET_FS_BS = 0x00000019, // SetFSBlockSize (0x800000) AFC_OP_SET_SOCKET_BS = 0x0000001A, // SetSocketBlockSize (0x800000) AFC_OP_FILE_LOCK = 0x0000001B, // FileRefLock - AFC_OP_MAKE_LINK = 0x0000001C // MakeLink + AFC_OP_MAKE_LINK = 0x0000001C, // MakeLink + AFC_OP_SET_FILE_TIME = 0x0000001E // set st_mtime }; -- cgit v1.1-32-gdbae