diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-07-18 09:15:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-07-18 09:15:40 +0000 |
commit | 56e9268870a84f33d924dd680c25ab12044e5dbc (patch) | |
tree | 9f6e19e0d1550455e61a4fb892d8b847e54d8ae2 /src/include/gnunet_disk_lib.h | |
parent | a2da7361158f976bbc67e50ff3ae32e03ad113cc (diff) | |
download | gnunet-56e9268870a84f33d924dd680c25ab12044e5dbc.tar.gz gnunet-56e9268870a84f33d924dd680c25ab12044e5dbc.zip |
-minor code cleanup
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 | /** |