[aoe] Minor cosmetic changes
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Tue, 7 Dec 2010 16:55:50 +0000 (11:55 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Tue, 7 Dec 2010 16:57:49 +0000 (11:57 -0500)
src/include/aoe.h

index daf5ac1..51b4d1a 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * Copyright (C) 2009, Shao Miller <shao.miller@yrdsb.edu.on.ca>.
+ * Copyright (C) 2009-2010, Shao Miller <shao.miller@yrdsb.edu.on.ca>.
  * Copyright 2006-2008, V.
  * For WinAoE contact information, see http://winaoe.org/
  *
  * You should have received a copy of the GNU General Public License
  * along with WinVBlock.  If not, see <http://www.gnu.org/licenses/>.
  */
-#ifndef _AOE_H
-#  define _AOE_H
+#ifndef _aoe_h
+#  define _aoe_h
 
 /**
  * @file
  *
- * AoE specifics
- *
+ * AoE specifics.
  */
 
 #  define htons(x) \
   (winvblock__uint16)((((x) << 8) & 0xff00) | (((x) >> 8) & 0xff))
 
 #  define IOCTL_AOE_SCAN                \
-  CTL_CODE(                             \
+CTL_CODE(                               \
     FILE_DEVICE_CONTROLLER,             \
     0x800,                              \
     METHOD_BUFFERED,                    \
     FILE_READ_DATA | FILE_WRITE_DATA    \
-    )
+  )
 #  define IOCTL_AOE_SHOW                \
-  CTL_CODE(                             \
+CTL_CODE(                               \
     FILE_DEVICE_CONTROLLER,             \
     0x801,                              \
     METHOD_BUFFERED,                    \
     FILE_READ_DATA | FILE_WRITE_DATA    \
-    )
+  )
 #  define IOCTL_AOE_MOUNT               \
-  CTL_CODE(                             \
+CTL_CODE(                               \
     FILE_DEVICE_CONTROLLER,             \
     0x802,                              \
     METHOD_BUFFERED,                    \
     FILE_READ_DATA | FILE_WRITE_DATA    \
-    )
+  )
 #  define IOCTL_AOE_UMOUNT              \
-  CTL_CODE(                             \
+CTL_CODE(                               \
     FILE_DEVICE_CONTROLLER,             \
     0x803,                              \
     METHOD_BUFFERED,                    \
     FILE_READ_DATA | FILE_WRITE_DATA    \
-    )
+  )
 
-winvblock__def_struct ( aoe__mount_target )
-{
-  winvblock__uint8 ClientMac[6];
-  winvblock__uint8 ServerMac[6];
-  winvblock__uint32 Major;
-  winvblock__uint32 Minor;
-  LONGLONG LBASize;
-  LARGE_INTEGER ProbeTime;
-};
+winvblock__def_struct(aoe__mount_target)
+  {
+    winvblock__uint8 ClientMac[6];
+    winvblock__uint8 ServerMac[6];
+    winvblock__uint32 Major;
+    winvblock__uint32 Minor;
+    LONGLONG LBASize;
+    LARGE_INTEGER ProbeTime;
+  };
 
-winvblock__def_struct ( aoe__mount_targets )
-{
-  winvblock__uint32 Count;
-  aoe__mount_target Target[];
-};
+winvblock__def_struct(aoe__mount_targets)
+  {
+    winvblock__uint32 Count;
+    aoe__mount_target Target[];
+  };
 
-winvblock__def_struct ( aoe__mount_disk )
-{
-  winvblock__uint32 Disk;
-  winvblock__uint8 ClientMac[6];
-  winvblock__uint8 ServerMac[6];
-  winvblock__uint32 Major;
-  winvblock__uint32 Minor;
-  LONGLONG LBASize;
-};
+winvblock__def_struct(aoe__mount_disk)
+  {
+    winvblock__uint32 Disk;
+    winvblock__uint8 ClientMac[6];
+    winvblock__uint8 ServerMac[6];
+    winvblock__uint32 Major;
+    winvblock__uint32 Minor;
+    LONGLONG LBASize;
+  };
 
-winvblock__def_struct ( aoe__mount_disks )
-{
-  winvblock__uint32 Count;
-  aoe__mount_disk Disk[];
-};
+winvblock__def_struct(aoe__mount_disks)
+  {
+    winvblock__uint32 Count;
+    aoe__mount_disk Disk[];
+  };
 
-extern void aoe__reset_probe (
-  void
- );
+extern void aoe__reset_probe(void);
 
-#endif                         /* _AOE_H */
+#endif  /* _aoe_h */