-added error status GNUNET_STREAM_BROKEN
authorSree Harsha Totakura <totakura@in.tum.de>
Wed, 25 Apr 2012 09:49:37 +0000 (09:49 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Wed, 25 Apr 2012 09:49:37 +0000 (09:49 +0000)
src/include/gnunet_stream_lib.h

index 099f37ab2eebd61d0e9435bea1fdb8c4c71ec19e..e09c264d6aa44ef4c248f6a4769a6cbe1ba286f4 100644 (file)
@@ -62,7 +62,12 @@ enum GNUNET_STREAM_Status
     /**
      * A serious error occured while operating on this stream
      */
-    GNUNET_STREAM_SYSERR = 3
+    GNUNET_STREAM_SYSERR = 3,
+    
+    /**
+     * An error resulted in an unusable stream
+     */
+    GNUNET_STREAM_BROKEN
   };
 
 /**