Windows: Move Authenticated field to CommResultCB
[openafs.git] / src / WINNT / afsrdr / common / AFSUserDefines.h
index a39a24c..8fccecc 100644 (file)
@@ -89,6 +89,9 @@
 #define AFS_REQUEST_TYPE_CREATE_LINK             0x0000001E
 #define AFS_REQUEST_TYPE_CREATE_MOUNTPOINT       0x0000001F
 #define AFS_REQUEST_TYPE_CREATE_SYMLINK          0x00000020
+#define AFS_REQUEST_TYPE_RELEASE_FILE_ACCESS     0x00000021
+#define AFS_REQUEST_TYPE_GET_VOLUME_SIZE_INFO    0x00000022
+#define AFS_REQUEST_TYPE_HARDLINK_FILE           0x00000023
 
 //
 // Request Flags, these are passed up from the file system
 #define AFS_SUBSYSTEM_PIOCTL_PROCESSING     0x00004000  // PIOCtl processing
 #define AFS_SUBSYSTEM_AUTHGROUP_PROCESSING  0x00008000  // Auth group creation/assignment
 #define AFS_SUBSYSTEM_LOAD_LIBRARY          0x00010000  // Library load and unload, request queuing
-#define AFS_SUBSYSTEM_PROCESS_PROCESSING    0x00010000  // Process creation and destruction
-#define AFS_SUBSYSTEM_EXTENT_ACTIVE_COUNTING 0x00020000  // Extent Active Counts
-#define AFS_SUBSYSTEM_INIT_PROCESSING       0x00040000  // Redirector Initialization
+#define AFS_SUBSYSTEM_PROCESS_PROCESSING    0x00020000  // Process creation and destruction
+#define AFS_SUBSYSTEM_EXTENT_ACTIVE_COUNTING 0x00040000 // Extent Active Counts
+#define AFS_SUBSYSTEM_INIT_PROCESSING       0x00080000  // Redirector Initialization
+#define AFS_SUBSYSTEM_NAME_ARRAY_PROCESSING 0x00100000  // Name Array Processing
+#define AFS_SUBSYSTEM_NAME_ARRAY_REF_COUNTING 0x00200000  // Name Array DirectoryCB refcnts
+#define AFS_SUBSYSTEM_FCB_ALLOCATION        0x01000000  // AFSFileCB Allocation
+#define AFS_SUBSYSTEM_DIRENTRY_ALLOCATION   0x02000000  // AFSDirectoryCB Allocation
+#define AFS_SUBSYSTEM_OBJINFO_ALLOCATION    0x04000000  // AFSObjectInformationCB Allocation
 
 //
 // Invalidation Reasons
 #define FILE_VOLUME_QUOTAS              0x00000020  // winnt
 #define FILE_SUPPORTS_REPARSE_POINTS    0x00000080  // winnt
 #define FILE_SUPPORTS_OBJECT_IDS        0x00010000  // winnt
+#define FILE_SUPPORTS_HARD_LINKS        0x00400000  // winnt
 
 #endif
 
 #define AFS_SYSNAME_ARCH_32BIT 0
 #define AFS_SYSNAME_ARCH_64BIT 1
 
+//
+// Server file access granted to callers on open
+//
+
+#define AFS_FILE_ACCESS_NOLOCK          0x00000000
+#define AFS_FILE_ACCESS_EXCLUSIVE       0x00000001
+#define AFS_FILE_ACCESS_SHARED          0x00000002
 
 #endif /* _AFS_USER_DEFINE_H */