gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r24073 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r24073 - gnunet/src/include
Date: Fri, 28 Sep 2012 11:32:12 +0200

Author: grothoff
Date: 2012-09-28 11:32:12 +0200 (Fri, 28 Sep 2012)
New Revision: 24073

Modified:
   gnunet/src/include/gnunet_disk_lib.h
Log:
-docu

Modified: gnunet/src/include/gnunet_disk_lib.h
===================================================================
--- gnunet/src/include/gnunet_disk_lib.h        2012-09-28 09:32:00 UTC (rev 
24072)
+++ gnunet/src/include/gnunet_disk_lib.h        2012-09-28 09:32:12 UTC (rev 
24073)
@@ -228,24 +228,25 @@
 
 
 /**
- * Constants for specifying how to seek.
+ * Constants for specifying how to seek.  Do not change values or order,
+ * some of the code depends on the specific numeric values!
  */
 enum GNUNET_DISK_Seek
 {
     /**
      * Seek an absolute position (from the start of the file).
      */
-  GNUNET_DISK_SEEK_SET,
+  GNUNET_DISK_SEEK_SET = 0,
 
     /**
      * Seek a relative position (from the current offset).
      */
-  GNUNET_DISK_SEEK_CUR,
+  GNUNET_DISK_SEEK_CUR = 1,
 
     /**
      * Seek an absolute position from the end of the file.
      */
-  GNUNET_DISK_SEEK_END
+  GNUNET_DISK_SEEK_END = 2
 };
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]