diff options
Diffstat (limited to 'src/fs/fs.h')
-rw-r--r-- | src/fs/fs.h | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/src/fs/fs.h b/src/fs/fs.h index 294a433fc..4c433e774 100644 --- a/src/fs/fs.h +++ b/src/fs/fs.h | |||
@@ -50,7 +50,8 @@ | |||
50 | /** | 50 | /** |
51 | * @brief content hash key | 51 | * @brief content hash key |
52 | */ | 52 | */ |
53 | struct ContentHashKey { | 53 | struct ContentHashKey |
54 | { | ||
54 | /** | 55 | /** |
55 | * Hash of the original content, used for encryption. | 56 | * Hash of the original content, used for encryption. |
56 | */ | 57 | */ |
@@ -70,7 +71,8 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
70 | * Message sent from a GNUnet (fs) publishing activity to sign | 71 | * Message sent from a GNUnet (fs) publishing activity to sign |
71 | * a LOC URI. | 72 | * a LOC URI. |
72 | */ | 73 | */ |
73 | struct RequestLocSignatureMessage { | 74 | struct RequestLocSignatureMessage |
75 | { | ||
74 | /** | 76 | /** |
75 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_REQUEST_LOC_SIGN. | 77 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_REQUEST_LOC_SIGN. |
76 | */ | 78 | */ |
@@ -102,7 +104,8 @@ struct RequestLocSignatureMessage { | |||
102 | /** | 104 | /** |
103 | * Message sent from the service with the signed LOC URI. | 105 | * Message sent from the service with the signed LOC URI. |
104 | */ | 106 | */ |
105 | struct ResponseLocSignatureMessage { | 107 | struct ResponseLocSignatureMessage |
108 | { | ||
106 | /** | 109 | /** |
107 | * Message type will be | 110 | * Message type will be |
108 | * #GNUNET_MESSAGE_TYPE_FS_REQUEST_LOC_SIGNATURE. | 111 | * #GNUNET_MESSAGE_TYPE_FS_REQUEST_LOC_SIGNATURE. |
@@ -145,7 +148,8 @@ struct ResponseLocSignatureMessage { | |||
145 | * computing it; this is an optimization that should be safe given | 148 | * computing it; this is an optimization that should be safe given |
146 | * that the client is not our adversary). | 149 | * that the client is not our adversary). |
147 | */ | 150 | */ |
148 | struct IndexStartMessage { | 151 | struct IndexStartMessage |
152 | { | ||
149 | /** | 153 | /** |
150 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_INDEX_START. | 154 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_INDEX_START. |
151 | */ | 155 | */ |
@@ -188,7 +192,8 @@ struct IndexStartMessage { | |||
188 | * Message send by FS service in response to a request | 192 | * Message send by FS service in response to a request |
189 | * asking for a list of all indexed files. | 193 | * asking for a list of all indexed files. |
190 | */ | 194 | */ |
191 | struct IndexInfoMessage { | 195 | struct IndexInfoMessage |
196 | { | ||
192 | /** | 197 | /** |
193 | * Message type will be | 198 | * Message type will be |
194 | * #GNUNET_MESSAGE_TYPE_FS_INDEX_LIST_ENTRY. | 199 | * #GNUNET_MESSAGE_TYPE_FS_INDEX_LIST_ENTRY. |
@@ -218,7 +223,8 @@ struct IndexInfoMessage { | |||
218 | * files and response with a confirmation message (even if the file | 223 | * files and response with a confirmation message (even if the file |
219 | * was already not on the list). | 224 | * was already not on the list). |
220 | */ | 225 | */ |
221 | struct UnindexMessage { | 226 | struct UnindexMessage |
227 | { | ||
222 | /** | 228 | /** |
223 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_UNINDEX. | 229 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_UNINDEX. |
224 | */ | 230 | */ |
@@ -259,7 +265,8 @@ struct UnindexMessage { | |||
259 | * Message sent from a GNUnet (fs) search activity to the | 265 | * Message sent from a GNUnet (fs) search activity to the |
260 | * gnunet-service-fs to start a search. | 266 | * gnunet-service-fs to start a search. |
261 | */ | 267 | */ |
262 | struct SearchMessage { | 268 | struct SearchMessage |
269 | { | ||
263 | /** | 270 | /** |
264 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_START_SEARCH. | 271 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_START_SEARCH. |
265 | */ | 272 | */ |
@@ -318,7 +325,8 @@ struct SearchMessage { | |||
318 | * single response are considered done. This message is transmitted | 325 | * single response are considered done. This message is transmitted |
319 | * between peers. | 326 | * between peers. |
320 | */ | 327 | */ |
321 | struct PutMessage { | 328 | struct PutMessage |
329 | { | ||
322 | /** | 330 | /** |
323 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_PUT. | 331 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_PUT. |
324 | */ | 332 | */ |
@@ -343,7 +351,8 @@ struct PutMessage { | |||
343 | * single response are considered done. This message is transmitted | 351 | * single response are considered done. This message is transmitted |
344 | * between the service and a client. | 352 | * between the service and a client. |
345 | */ | 353 | */ |
346 | struct ClientPutMessage { | 354 | struct ClientPutMessage |
355 | { | ||
347 | /** | 356 | /** |
348 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_PUT. | 357 | * Message type will be #GNUNET_MESSAGE_TYPE_FS_PUT. |
349 | */ | 358 | */ |