diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-06-15 04:46:53 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-06-15 04:46:53 +0000 |
commit | 7e3df72d6b8a32b15b02110b54c77f77e28928a2 (patch) | |
tree | e63f4a89dc35c0f019e6fe44c2a623f51634e472 /src/include/gnunet_protocols.h | |
parent | f90483fc8b2a7ee72c0c5f82e714b3de1dd26a71 (diff) | |
download | gnunet-7e3df72d6b8a32b15b02110b54c77f77e28928a2.tar.gz gnunet-7e3df72d6b8a32b15b02110b54c77f77e28928a2.zip |
mtypes
Diffstat (limited to 'src/include/gnunet_protocols.h')
-rw-r--r-- | src/include/gnunet_protocols.h | 50 |
1 files changed, 49 insertions, 1 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 342014ae1..04bfe2a4f 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -303,11 +303,59 @@ extern "C" | |||
303 | #define GNUNET_MESSAGE_TYPE_CORE_HANGUP 84 | 303 | #define GNUNET_MESSAGE_TYPE_CORE_HANGUP 84 |
304 | 304 | ||
305 | 305 | ||
306 | /** | ||
307 | * Message sent by datastore client on join. | ||
308 | */ | ||
309 | #define GNUNET_MESSAGE_TYPE_DATASTORE_INIT 92 | ||
310 | |||
311 | /** | ||
312 | * Message sent by datastore to client informing about size. | ||
313 | * (in response to JOIN, PUT and REMOVE requests). | ||
314 | */ | ||
315 | #define GNUNET_MESSAGE_TYPE_DATASTORE_SIZE 93 | ||
316 | |||
317 | /** | ||
318 | * Message sent by datastore client to store data. | ||
319 | */ | ||
320 | #define GNUNET_MESSAGE_TYPE_DATASTORE_PUT 94 | ||
321 | |||
322 | /** | ||
323 | * Message sent by datastore client to get data. | ||
324 | */ | ||
325 | #define GNUNET_MESSAGE_TYPE_DATASTORE_GET 95 | ||
326 | |||
327 | /** | ||
328 | * Message sent by datastore client to get random data. | ||
329 | */ | ||
330 | #define GNUNET_MESSAGE_TYPE_DATASTORE_GET_RANDOM 96 | ||
331 | |||
332 | /** | ||
333 | * Message sent by datastore to client providing requested data | ||
334 | * (in response to GET or GET_RANDOM request). | ||
335 | */ | ||
336 | #define GNUNET_MESSAGE_TYPE_DATASTORE_DATA 97 | ||
337 | |||
338 | /** | ||
339 | * Message sent by datastore to client signaling end of matching data. | ||
340 | * This message will also be sent for "GET_RANDOM", even though | ||
341 | * "GET_RANDOM" returns at most one data item. | ||
342 | */ | ||
343 | #define GNUNET_MESSAGE_TYPE_DATASTORE_DATA_END 98 | ||
344 | |||
345 | /** | ||
346 | * Message sent by datastore client to remove data. | ||
347 | */ | ||
348 | #define GNUNET_MESSAGE_TYPE_DATASTORE_REMOVE 99 | ||
349 | |||
350 | /** | ||
351 | * Message sent by datastore client to drop the database. | ||
352 | */ | ||
353 | #define GNUNET_MESSAGE_TYPE_DATASTORE_DROP 100 | ||
354 | |||
306 | /* | 355 | /* |
307 | TODO: | 356 | TODO: |
308 | - DV | 357 | - DV |
309 | - DHT | 358 | - DHT |
310 | - datastores | ||
311 | - applications (FS, VPN, CHAT, TRACEKIT, TBENCH) | 359 | - applications (FS, VPN, CHAT, TRACEKIT, TBENCH) |
312 | */ | 360 | */ |
313 | 361 | ||