Windows: Update fs newcell and add VIOCNEWCELL2
[openafs.git] / src / WINNT / afsd / smb_iocons.h
index 8f73dac..ada8834 100644 (file)
@@ -21,7 +21,7 @@ typedef struct chservinfo {
 } chservinfo_t;
 
 struct gaginfo {
-       unsigned long showflags, logflags, logwritethruflag, spare[3];
+       afs_uint32 showflags, logflags, logwritethruflag, spare[3];
         unsigned char spare2[128];
 };
 
@@ -95,7 +95,23 @@ struct sbstruct {
 #define VIOC_PATH_AVAILABILITY          0x31
 #define VIOC_GETFILETYPE                0x32
 #define VIOC_UNICODECTL                 0x33
+#define VIOC_SETOWNER                   0x34
+#define VIOC_SETGROUP                   0x35
+#define VIOC_FS_CMD                     0x36
+#define VIOCNEWCELL2                    0x37
 
 #define VIOC_VOLSTAT_TEST               0x3F
-/* Not to exceed SMB_IOCTL_MAXPROCS from smb_ioctl.h */
+
+#define VIOC_NEWCELL2_FLAG_LINKED       0x1
+#define VIOC_NEWCELL2_FLAG_USEDNS       0x2
+#define VIOC_NEWCELL2_FLAG_USEREG       0x4
+
+/* magic file name for ioctl opens */
+#define CM_IOCTL_FILENAME      "\\_._AFS_IOCTL_._"     /* double backslashes for C compiler */
+#define CM_IOCTL_FILENAME_NOSLASH "_._AFS_IOCTL_._"
+
+/* max parms for ioctl, in either direction */
+#define CM_IOCTL_MAXDATA               8192*2
+#define CM_IOCTL_MAXPROCS               64
+
 #endif /*  __SMB_IOCONS_H_ENV_ */