diff options
Diffstat (limited to 'src/include/gnunet_protocols.h')
-rw-r--r-- | src/include/gnunet_protocols.h | 70 |
1 files changed, 44 insertions, 26 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index bfa1314c9..8a1df7ff9 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -52,26 +52,6 @@ extern "C" | |||
52 | #define GNUNET_MESSAGE_TYPE_RESOLVER_RESPONSE 3 | 52 | #define GNUNET_MESSAGE_TYPE_RESOLVER_RESPONSE 3 |
53 | 53 | ||
54 | 54 | ||
55 | /** | ||
56 | * Set a statistical value. | ||
57 | */ | ||
58 | #define GNUNET_MESSAGE_TYPE_STATISTICS_SET 4 | ||
59 | |||
60 | /** | ||
61 | * Get a statistical value(s). | ||
62 | */ | ||
63 | #define GNUNET_MESSAGE_TYPE_STATISTICS_GET 5 | ||
64 | |||
65 | /** | ||
66 | * Response to a STATISTICS_GET message (with value). | ||
67 | */ | ||
68 | #define GNUNET_MESSAGE_TYPE_STATISTICS_VALUE 6 | ||
69 | |||
70 | /** | ||
71 | * Response to a STATISTICS_GET message (end of value stream). | ||
72 | */ | ||
73 | #define GNUNET_MESSAGE_TYPE_STATISTICS_END 7 | ||
74 | |||
75 | 55 | ||
76 | /** | 56 | /** |
77 | * Request to ARM to start a service. | 57 | * Request to ARM to start a service. |
@@ -345,35 +325,40 @@ extern "C" | |||
345 | #define GNUNET_MESSAGE_TYPE_CORE_NOTIFY_DISCONNECT 68 | 325 | #define GNUNET_MESSAGE_TYPE_CORE_NOTIFY_DISCONNECT 68 |
346 | 326 | ||
347 | /** | 327 | /** |
328 | * Notify clients about peer status change. | ||
329 | */ | ||
330 | #define GNUNET_MESSAGE_TYPE_CORE_NOTIFY_STATUS_CHANGE 69 | ||
331 | |||
332 | /** | ||
348 | * Notify clients about incoming P2P messages. | 333 | * Notify clients about incoming P2P messages. |
349 | */ | 334 | */ |
350 | #define GNUNET_MESSAGE_TYPE_CORE_NOTIFY_INBOUND 69 | 335 | #define GNUNET_MESSAGE_TYPE_CORE_NOTIFY_INBOUND 70 |
351 | 336 | ||
352 | /** | 337 | /** |
353 | * Notify clients about outgoing P2P transmissions. | 338 | * Notify clients about outgoing P2P transmissions. |
354 | */ | 339 | */ |
355 | #define GNUNET_MESSAGE_TYPE_CORE_NOTIFY_OUTBOUND 70 | 340 | #define GNUNET_MESSAGE_TYPE_CORE_NOTIFY_OUTBOUND 71 |
356 | 341 | ||
357 | /** | 342 | /** |
358 | * Request from client to "configure" P2P connection. | 343 | * Request from client to "configure" P2P connection. |
359 | */ | 344 | */ |
360 | #define GNUNET_MESSAGE_TYPE_CORE_REQUEST_INFO 71 | 345 | #define GNUNET_MESSAGE_TYPE_CORE_REQUEST_INFO 72 |
361 | 346 | ||
362 | /** | 347 | /** |
363 | * Response from server about (possibly updated) P2P | 348 | * Response from server about (possibly updated) P2P |
364 | * connection configuration. | 349 | * connection configuration. |
365 | */ | 350 | */ |
366 | #define GNUNET_MESSAGE_TYPE_CORE_CONFIGURATION_INFO 72 | 351 | #define GNUNET_MESSAGE_TYPE_CORE_CONFIGURATION_INFO 73 |
367 | 352 | ||
368 | /** | 353 | /** |
369 | * Request from client with message to transmit. | 354 | * Request from client with message to transmit. |
370 | */ | 355 | */ |
371 | #define GNUNET_MESSAGE_TYPE_CORE_SEND 73 | 356 | #define GNUNET_MESSAGE_TYPE_CORE_SEND 74 |
372 | 357 | ||
373 | /** | 358 | /** |
374 | * Request from client asking to connect to a peer. | 359 | * Request from client asking to connect to a peer. |
375 | */ | 360 | */ |
376 | #define GNUNET_MESSAGE_TYPE_CORE_REQUEST_CONNECT 74 | 361 | #define GNUNET_MESSAGE_TYPE_CORE_REQUEST_CONNECT 75 |
377 | 362 | ||
378 | 363 | ||
379 | /** | 364 | /** |
@@ -584,6 +569,39 @@ extern "C" | |||
584 | */ | 569 | */ |
585 | #define GNUNET_MESSAGE_TYPE_HOSTLIST_ADVERTISEMENT 160 | 570 | #define GNUNET_MESSAGE_TYPE_HOSTLIST_ADVERTISEMENT 160 |
586 | 571 | ||
572 | |||
573 | /** | ||
574 | * Set a statistical value. | ||
575 | */ | ||
576 | #define GNUNET_MESSAGE_TYPE_STATISTICS_SET 168 | ||
577 | |||
578 | /** | ||
579 | * Get a statistical value(s). | ||
580 | */ | ||
581 | #define GNUNET_MESSAGE_TYPE_STATISTICS_GET 169 | ||
582 | |||
583 | /** | ||
584 | * Response to a STATISTICS_GET message (with value). | ||
585 | */ | ||
586 | #define GNUNET_MESSAGE_TYPE_STATISTICS_VALUE 170 | ||
587 | |||
588 | /** | ||
589 | * Response to a STATISTICS_GET message (end of value stream). | ||
590 | */ | ||
591 | #define GNUNET_MESSAGE_TYPE_STATISTICS_END 171 | ||
592 | |||
593 | /** | ||
594 | * Watch changes to a statistical value. Message format is the same | ||
595 | * as for GET, except that the subsystem and entry name must be given. | ||
596 | */ | ||
597 | #define GNUNET_MESSAGE_TYPE_STATISTICS_WATCH 172 | ||
598 | |||
599 | /** | ||
600 | * Changes to a watched value. | ||
601 | */ | ||
602 | #define GNUNET_MESSAGE_TYPE_STATISTICS_WATCH_VALUE 173 | ||
603 | |||
604 | |||
587 | /** | 605 | /** |
588 | * Type used to match 'all' message types. | 606 | * Type used to match 'all' message types. |
589 | */ | 607 | */ |