aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_disk_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_disk_lib.h')
-rw-r--r--src/include/gnunet_disk_lib.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h
index a5f279f05..f4fd6f36b 100644
--- a/src/include/gnunet_disk_lib.h
+++ b/src/include/gnunet_disk_lib.h
@@ -72,7 +72,12 @@ extern "C"
72#define GNUNET_DISK_PERM_OTHER_WRITE 128 72#define GNUNET_DISK_PERM_OTHER_WRITE 128
73#define GNUNET_DISK_PERM_OTHER_EXEC 256 73#define GNUNET_DISK_PERM_OTHER_EXEC 256
74 74
75enum GNUNET_DISK_Seek {GNUNET_SEEK_SET, GNUNET_SEEK_CUR, GNUNET_SEEK_END}; 75enum GNUNET_DISK_Seek
76 {
77 GNUNET_DISK_SEEK_SET,
78 GNUNET_DISK_SEEK_CUR,
79 GNUNET_DISK_SEEK_END
80 };
76 81
77struct GNUNET_DISK_FileHandle; 82struct GNUNET_DISK_FileHandle;
78 83
@@ -250,7 +255,8 @@ int GNUNET_DISK_file_copy (const char *src, const char *dst);
250 * @return the number of files found, -1 on error 255 * @return the number of files found, -1 on error
251 */ 256 */
252int GNUNET_DISK_directory_scan (const char *dirName, 257int GNUNET_DISK_directory_scan (const char *dirName,
253 GNUNET_FileNameCallback callback, void *data); 258 GNUNET_FileNameCallback callback,
259 void *data);
254 260
255 261
256/** 262/**