aboutsummaryrefslogtreecommitdiff
path: root/vboxdev.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-12 22:38:20 +0200
committerJavier <dev.git@javispedro.com>2022-04-12 22:38:20 +0200
commita109a1193ca3cf64a29265103075922d2dd9fc1b (patch)
treecde59f7e29ccca176dd150a51e8caf4613a86d1f /vboxdev.h
parent2b9f509a04acb88d9ac72bce23b28099efdc4878 (diff)
downloadvbados-a109a1193ca3cf64a29265103075922d2dd9fc1b.tar.gz
vbados-a109a1193ca3cf64a29265103075922d2dd9fc1b.zip
add file date/time listing support, closeall call
Diffstat (limited to 'vboxdev.h')
-rw-r--r--vboxdev.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/vboxdev.h b/vboxdev.h
index 1b40f8e..93a0a7d 100644
--- a/vboxdev.h
+++ b/vboxdev.h
@@ -1111,20 +1111,20 @@ typedef struct SHFLFSOBJINFO
/** Time of last access (st_atime).
* @remarks Here (and other places) we depend on the IPRT timespec to
* remain unchanged. */
- uint64_t AccessTime;
+ int64_t AccessTime;
/** Time of last data modification (st_mtime). */
- uint64_t ModificationTime;
+ int64_t ModificationTime;
/** Time of last status change (st_ctime).
* If not available this is set to ModificationTime.
*/
- uint64_t ChangeTime;
+ int64_t ChangeTime;
/** Time of file birth (st_birthtime).
* If not available this is set to ChangeTime.
*/
- uint64_t BirthTime;
+ int64_t BirthTime;
/** Attributes. */
SHFLFSOBJATTR Attr;
@@ -1323,6 +1323,10 @@ typedef struct _SHFLDIRINFO
#define SHFL_LIST_RETURN_ONE 1
#define SHFL_LIST_RESTART 2
+#define SHFL_REMOVE_FILE (0x1)
+#define SHFL_REMOVE_DIR (0x2)
+#define SHFL_REMOVE_SYMLINK (0x4)
+
/** Query flag: Guest prefers drive letters as mount points. */
#define SHFL_MIQF_DRIVE_LETTER RT_BIT(0)
/** Query flag: Guest prefers paths as mount points. */