summaryrefslogtreecommitdiffstats
path: root/src/AFC.h
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 /src/AFC.h
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 'src/AFC.h')
-rw-r--r--src/AFC.h3
1 files changed, 2 insertions, 1 deletions
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
};