aboutsummaryrefslogtreecommitdiff
path: root/vboxdev.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-14 23:10:39 +0200
committerJavier <dev.git@javispedro.com>2022-04-14 23:10:39 +0200
commita84f04eb1be124e7fdefb486bf01626ff96d2d04 (patch)
treeb810079feb76a8aabea96d8489eb0c70527230b8 /vboxdev.h
parentc732fc60d5b07417146c750c65faee419083efc9 (diff)
downloadvbados-a84f04eb1be124e7fdefb486bf01626ff96d2d04.tar.gz
vbados-a84f04eb1be124e7fdefb486bf01626ff96d2d04.zip
cleanup vbox code
Diffstat (limited to 'vboxdev.h')
-rw-r--r--vboxdev.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/vboxdev.h b/vboxdev.h
index 062c9dc..c2bf5a3 100644
--- a/vboxdev.h
+++ b/vboxdev.h
@@ -1412,6 +1412,22 @@ typedef struct _SHFLDIRINFO
#define SHFL_LIST_RETURN_ONE 1
#define SHFL_LIST_RESTART 2
+/** Mask of Set/Get bit. */
+#define SHFL_INFO_MODE_MASK (0x1)
+/** Get information */
+#define SHFL_INFO_GET (0x0)
+/** Set information */
+#define SHFL_INFO_SET (0x1)
+
+/** Get name of the object. */
+#define SHFL_INFO_NAME (0x2)
+/** Set size of object (extend/trucate); only applies to file objects */
+#define SHFL_INFO_SIZE (0x4)
+/** Get/Set file object info. */
+#define SHFL_INFO_FILE (0x8)
+/** Get volume information. */
+#define SHFL_INFO_VOLUME (0x10)
+
#define SHFL_REMOVE_FILE (0x1)
#define SHFL_REMOVE_DIR (0x2)
#define SHFL_REMOVE_SYMLINK (0x4)