X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=KernelLand%2FKernel%2Finclude%2Fvfs_ext.h;h=00eeebb5fef0bf152ceddc291d12297e700ae8ba;hb=3f9b3f4cb91ce4ada9c892e6f2a3c69dbb9debd6;hp=1bae964f6879c31ef0e8f21bc292fa2a9ec52741;hpb=fe07801ccb8de442c9fc665cd1706faa0f12c166;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/vfs_ext.h b/KernelLand/Kernel/include/vfs_ext.h index 1bae964f..00eeebb5 100644 --- a/KernelLand/Kernel/include/vfs_ext.h +++ b/KernelLand/Kernel/include/vfs_ext.h @@ -32,7 +32,7 @@ typedef Uint32 tMount; //! Create the file if it doesn't exist #define VFS_OPENFLAG_CREATE 0x80 //! Treat as a directory -#define VFS_OPENFLAG_DIRECTORY 0x100 +#define VFS_OPENFLAG_DIRECTORY 0x1000 //! Open as a user #define VFS_OPENFLAG_USER 0x8000 /** @@ -233,6 +233,11 @@ extern void VFS_Close(int FD); */ extern int VFS_DuplicateFD(int SrcFD, int DstFD); +/** + * \brief Update the flags on a FD + */ +extern int VFS_SetFDFlags(int FD, int Mask, int Value); + /** * \brief Get file information from an open file * \param FD File handle returned by ::VFS_Open