From a46d73bcbbce46ce7c6a276214c359ea9ccd6312 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 28 Sep 2012 09:32:12 +0000 Subject: -docu --- src/include/gnunet_disk_lib.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/include/gnunet_disk_lib.h') diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index c0a68bb67..91cc1587a 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h @@ -228,24 +228,25 @@ enum GNUNET_DISK_AccessPermissions /** - * 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 }; -- cgit v1.2.3