diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-28 09:32:12 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-28 09:32:12 +0000 |
commit | a46d73bcbbce46ce7c6a276214c359ea9ccd6312 (patch) | |
tree | fb4cb59d5d599abb4496147cb2462b6b3e2768df /src/include/gnunet_disk_lib.h | |
parent | e83f734557f26abbb33ef1093767ec5c24a4bf56 (diff) | |
download | gnunet-a46d73bcbbce46ce7c6a276214c359ea9ccd6312.tar.gz gnunet-a46d73bcbbce46ce7c6a276214c359ea9ccd6312.zip |
-docu
Diffstat (limited to 'src/include/gnunet_disk_lib.h')
-rw-r--r-- | src/include/gnunet_disk_lib.h | 9 |
1 files changed, 5 insertions, 4 deletions
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 | |||
228 | 228 | ||
229 | 229 | ||
230 | /** | 230 | /** |
231 | * Constants for specifying how to seek. | 231 | * Constants for specifying how to seek. Do not change values or order, |
232 | * some of the code depends on the specific numeric values! | ||
232 | */ | 233 | */ |
233 | enum GNUNET_DISK_Seek | 234 | enum GNUNET_DISK_Seek |
234 | { | 235 | { |
235 | /** | 236 | /** |
236 | * Seek an absolute position (from the start of the file). | 237 | * Seek an absolute position (from the start of the file). |
237 | */ | 238 | */ |
238 | GNUNET_DISK_SEEK_SET, | 239 | GNUNET_DISK_SEEK_SET = 0, |
239 | 240 | ||
240 | /** | 241 | /** |
241 | * Seek a relative position (from the current offset). | 242 | * Seek a relative position (from the current offset). |
242 | */ | 243 | */ |
243 | GNUNET_DISK_SEEK_CUR, | 244 | GNUNET_DISK_SEEK_CUR = 1, |
244 | 245 | ||
245 | /** | 246 | /** |
246 | * Seek an absolute position from the end of the file. | 247 | * Seek an absolute position from the end of the file. |
247 | */ | 248 | */ |
248 | GNUNET_DISK_SEEK_END | 249 | GNUNET_DISK_SEEK_END = 2 |
249 | }; | 250 | }; |
250 | 251 | ||
251 | 252 | ||