diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-06 12:55:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-06 12:55:38 +0000 |
commit | 2ffb6f329c85b24367199f910f6603950e1fba68 (patch) | |
tree | 537e401b59e3f7c435d5d8369ba3088e1679743b /src/datastore/datastore.h | |
parent | b8da6057b2c0c66931ccde9b4bba418fc5222724 (diff) | |
download | gnunet-2ffb6f329c85b24367199f910f6603950e1fba68.tar.gz gnunet-2ffb6f329c85b24367199f910f6603950e1fba68.zip |
DHT PUT integration into FS
Diffstat (limited to 'src/datastore/datastore.h')
-rw-r--r-- | src/datastore/datastore.h | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/src/datastore/datastore.h b/src/datastore/datastore.h index f827f8766..55ca7c8e5 100644 --- a/src/datastore/datastore.h +++ b/src/datastore/datastore.h | |||
@@ -109,7 +109,7 @@ struct GetMessage | |||
109 | struct GNUNET_MessageHeader header; | 109 | struct GNUNET_MessageHeader header; |
110 | 110 | ||
111 | /** | 111 | /** |
112 | * Desired content type. | 112 | * Desired content type. (actually an enum GNUNET_BLOCK_Type) |
113 | */ | 113 | */ |
114 | uint32_t type GNUNET_PACKED; | 114 | uint32_t type GNUNET_PACKED; |
115 | 115 | ||
@@ -123,6 +123,25 @@ struct GetMessage | |||
123 | 123 | ||
124 | 124 | ||
125 | /** | 125 | /** |
126 | * Message to the datastore service asking about zero | ||
127 | * anonymity content. | ||
128 | */ | ||
129 | struct GetZeroAnonymityMessage | ||
130 | { | ||
131 | /** | ||
132 | * Type is GNUNET_MESSAGE_TYPE_DATASTORE_GET_ZERO_ANONYMITY. | ||
133 | */ | ||
134 | struct GNUNET_MessageHeader header; | ||
135 | |||
136 | /** | ||
137 | * Desired content type (actually an enum GNUNET_BLOCK_Type) | ||
138 | */ | ||
139 | uint32_t type GNUNET_PACKED; | ||
140 | |||
141 | }; | ||
142 | |||
143 | |||
144 | /** | ||
126 | * Message to the datastore service requesting an update | 145 | * Message to the datastore service requesting an update |
127 | * to the priority or expiration for some content. | 146 | * to the priority or expiration for some content. |
128 | */ | 147 | */ |
@@ -176,7 +195,7 @@ struct DataMessage | |||
176 | uint32_t size GNUNET_PACKED; | 195 | uint32_t size GNUNET_PACKED; |
177 | 196 | ||
178 | /** | 197 | /** |
179 | * Type of the item (NBO), zero for remove. | 198 | * Type of the item (NBO), zero for remove, (actually an enum GNUNET_BLOCK_Type) |
180 | */ | 199 | */ |
181 | uint32_t type GNUNET_PACKED; | 200 | uint32_t type GNUNET_PACKED; |
182 | 201 | ||