windows-smb-and-symlinks-20041213
[openafs.git] / src / WINNT / afsd / smb3.h
index 99f5ca5..6b79566 100644 (file)
@@ -41,45 +41,45 @@ typedef struct smb_tran2Dispatch {
 } smb_tran2Dispatch_t;
 
 typedef struct smb_tran2QFSInfo {
-       union {
+    union {
 #pragma pack(push, 2)
-               struct {
-                       long FSID;                      /* file system ID */
-                        long sectorsPerAllocUnit;
-                        long totalAllocUnits;          /* on the disk */
-                        long availAllocUnits;          /* free blocks */
-                        unsigned short bytesPerSector; /* bytes per sector */
-                } allocInfo;
+        struct {
+            long FSID;                 /* file system ID */
+            long sectorsPerAllocUnit;
+            long totalAllocUnits;              /* on the disk */
+            long availAllocUnits;              /* free blocks */
+            unsigned short bytesPerSector;     /* bytes per sector */
+        } allocInfo;
 #pragma pack(pop)
-                struct {
-                       long vsn;       /* volume serial number */
-                        char vnCount;  /* count of chars in label, incl null */
-                        char label[12];        /* pad out with nulls */
-                } volumeInfo;
-               struct {
-                       FILETIME vct;   /* volume creation time */
-                       long vsn;       /* volume serial number */
-                       long vnCount;   /* length of volume label in bytes */
-                       char res[2];    /* reserved */
-                       char label[10]; /* volume label */
-               } FSvolumeInfo;
-               struct {
-                       osi_hyper_t totalAllocUnits;    /* on the disk */
-                       osi_hyper_t availAllocUnits;    /* free blocks */
-                       long sectorsPerAllocUnit;
-                       long bytesPerSector;            /* bytes per sector */
-               } FSsizeInfo;
-               struct {
-                       long devType;   /* device type */
-                       long characteristics;
-               } FSdeviceInfo;
-               struct {
-                       long attributes;
-                       long maxCompLength;     /* max path component length */
-                       long FSnameLength;      /* length of file system name */
-                       char FSname[12];
-               } FSattributeInfo;
-        } u;
+        struct {
+            long vsn;          /* volume serial number */
+            char vnCount;      /* count of chars in label, incl null */
+            char label[12];    /* pad out with nulls */
+        } volumeInfo;
+        struct {
+            FILETIME vct;      /* volume creation time */
+            long vsn;          /* volume serial number */
+            long vnCount;      /* length of volume label in bytes */
+            char res[2];       /* reserved */
+            char label[10];    /* volume label */
+        } FSvolumeInfo;
+        struct {
+            osi_hyper_t totalAllocUnits;       /* on the disk */
+            osi_hyper_t availAllocUnits;       /* free blocks */
+            long sectorsPerAllocUnit;
+            long bytesPerSector;               /* bytes per sector */
+        } FSsizeInfo;
+        struct {
+            long devType;      /* device type */
+            long characteristics;
+        } FSdeviceInfo;
+        struct {
+            long attributes;
+            long maxCompLength;        /* max path component length */
+            long FSnameLength; /* length of file system name */
+            char FSname[12];
+        } FSattributeInfo;
+    } u;
 } smb_tran2QFSInfo_t;
 
 /* more than enough opcodes for today, anyway */