diff options
author | Nikias Bassen | 2009-10-30 18:07:20 +0100 |
---|---|---|
committer | Matt Colyer | 2009-11-02 20:52:55 -0800 |
commit | 549f4389e3009d9f78b94d4a3570e29f428968ab (patch) | |
tree | f5de57c8a5a3e54f634287743f0b638786b674ec /src/AFC.h | |
parent | d6226d01ce5bd00a85310061fb33d0510ecd7564 (diff) | |
download | libimobiledevice-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 'src/AFC.h')
-rw-r--r-- | src/AFC.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 }; |