diff options
Diffstat (limited to 'src/include/gnunet_disk_lib.h')
-rw-r--r-- | src/include/gnunet_disk_lib.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index 1e2ab8c19..51f585655 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h | |||
@@ -36,10 +36,20 @@ | |||
36 | */ | 36 | */ |
37 | struct GNUNET_DISK_PipeHandle; | 37 | struct GNUNET_DISK_PipeHandle; |
38 | 38 | ||
39 | 39 | /** | |
40 | * Type of a handle. | ||
41 | */ | ||
40 | enum GNUNET_FILE_Type | 42 | enum GNUNET_FILE_Type |
41 | { | 43 | { |
42 | GNUNET_DISK_FILE, GNUNET_PIPE | 44 | /** |
45 | * Handle represents a file. | ||
46 | */ | ||
47 | GNUNET_DISK_HANLDE_TYPE_FILE, | ||
48 | |||
49 | /** | ||
50 | * Handle represents a pipe. | ||
51 | */ | ||
52 | GNUNET_DISK_HANLDE_TYPE_PIPE | ||
43 | }; | 53 | }; |
44 | 54 | ||
45 | /** | 55 | /** |