LRN: Fix automake deps to allow -j* builds again
[oweals/gnunet.git] / src / util / disk.h
index 3d52b9ec8390dda8463b414ae93420ed1aa3425c..793b8219f6cece87200ec423f81d78e524633699 100644 (file)
@@ -40,8 +40,23 @@ struct GNUNET_DISK_FileHandle
    * File handle under W32.\r
    */ \r
   HANDLE h;
-  \r
-#else                           /* \r */
+\r
+  /**\r
+   * Type
+   */\r
+  enum {GNUNET_DISK_FILE, GNUNET_PIPE} type;\r
+\r
+  /**\r
+   * Structure for overlapped reading (for pipes)\r
+   */\r
+  OVERLAPPED *oOverlapRead;\r
+\r
+  /**\r
+   * Structure for overlapped writing (for pipes)\r
+   */\r
+  OVERLAPPED *oOverlapWrite;\r
+#else\r
+
   /**\r
    * File handle on other OSes.\r
    */ \r