aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_protocols.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_protocols.h')
-rw-r--r--src/include/gnunet_protocols.h67
1 files changed, 29 insertions, 38 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index e67e35f38..0db6150aa 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -50,25 +50,29 @@ extern "C" {
50#endif 50#endif
51 51
52/******************************************************************************* 52/*******************************************************************************
53 * UTIL message types 53* Deprecated
54 ******************************************************************************/ 54* *****************************************************************************/
55 55
56/** 56/**
57 * Test if service is online. 57 * Test if service is online.
58 * 58 *
59 * @deprecated! 59 * @deprecated!
60 */ 60 */
61#define GNUNET_MESSAGE_TYPE_TEST 1 61#define GNUNET_MESSAGE_TYPE_TEST 0
62
63/*******************************************************************************
64* AGPL source code download
65* *****************************************************************************/
62 66
63/** 67/**
64 * Dummy messages for testing / benchmarking. 68 * Message to request source code link.
65 */ 69 */
66#define GNUNET_MESSAGE_TYPE_DUMMY 2 70#define GNUNET_MESSAGE_TYPE_REQUEST_AGPL 1
67 71
68/** 72/**
69 * Another dummy messages for testing / benchmarking. 73 * Source code link.
70 */ 74 */
71#define GNUNET_MESSAGE_TYPE_DUMMY2 3 75#define GNUNET_MESSAGE_TYPE_RESPONSE_AGPL 2
72 76
73/******************************************************************************* 77/*******************************************************************************
74 * RESOLVER message types 78 * RESOLVER message types
@@ -85,18 +89,18 @@ extern "C" {
85#define GNUNET_MESSAGE_TYPE_RESOLVER_RESPONSE 5 89#define GNUNET_MESSAGE_TYPE_RESOLVER_RESPONSE 5
86 90
87/******************************************************************************* 91/*******************************************************************************
88* AGPL source code download 92 * UTIL message types
89* *****************************************************************************/ 93 ******************************************************************************/
90 94
91/** 95/**
92 * Message to request source code link. 96 * Dummy messages for testing / benchmarking.
93 */ 97 */
94#define GNUNET_MESSAGE_TYPE_REQUEST_AGPL 6 98#define GNUNET_MESSAGE_TYPE_DUMMY 6
95 99
96/** 100/**
97 * Source code link. 101 * Another dummy messages for testing / benchmarking.
98 */ 102 */
99#define GNUNET_MESSAGE_TYPE_RESPONSE_AGPL 7 103#define GNUNET_MESSAGE_TYPE_DUMMY2 7
100 104
101 105
102/******************************************************************************* 106/*******************************************************************************
@@ -1648,29 +1652,8 @@ extern "C" {
1648 */ 1652 */
1649#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_ELEMENTS_REPORT 545 1653#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_ELEMENTS_REPORT 545
1650 1654
1651/*
1652 * Initialization message for consensus p2p communication.
1653 */
1654#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_HELLO 546
1655
1656/**
1657 * Report that the peer is synced with the partner after successfuly decoding
1658 * the invertible bloom filter.
1659 */
1660#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_SYNCED 547
1661
1662/**
1663 * Interaction os over, got synched and reported all elements
1664 */
1665#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_FIN 548
1666
1667/** 1655/**
1668 * Abort a round, don't send requested elements anymore 1656 * Provide context for a consensus round.
1669 */
1670#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_ABORT 548
1671
1672/**
1673 * Abort a round, don't send requested elements anymore
1674 */ 1657 */
1675#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_ROUND_CONTEXT 547 1658#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_ROUND_CONTEXT 547
1676 1659
@@ -2751,9 +2734,8 @@ extern "C" {
2751 * 1000-1009 Connection-level Messages 2734 * 1000-1009 Connection-level Messages
2752 * 1010-1019 Channel-level Messages 2735 * 1010-1019 Channel-level Messages
2753 * 1020-1029 Local Client-Service 2736 * 1020-1029 Local Client-Service
2754 * 1030-1039 Local Service Monitoring 2737 * 1030-1049 Local Service Monitoring
2755 * 1040-1049 Application Data 2738 * 1050-1059 Application Data
2756 * 1050-1059 Reserved
2757 */ 2739 */
2758 2740
2759/******************************** Connection ********************************/ 2741/******************************** Connection ********************************/
@@ -2949,6 +2931,11 @@ extern "C" {
2949 */ 2931 */
2950#define GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_TUNNELS_END 1041 2932#define GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_TUNNELS_END 1041
2951 2933
2934/**
2935 * Request to drop a message of type X to peer y.
2936 */
2937#define GNUNET_MESSAGE_TYPE_CADET_DROP_CADET_MESSAGE 1042
2938
2952 2939
2953/******************************** Application *******************************/ 2940/******************************** Application *******************************/
2954 2941
@@ -3178,6 +3165,10 @@ extern "C" {
3178 */ 3165 */
3179#define GNUNET_MESSAGE_TYPE_TRANSPORT_FLOW_CONTROL 1221 3166#define GNUNET_MESSAGE_TYPE_TRANSPORT_FLOW_CONTROL 1221
3180 3167
3168/**
3169 * @brief inform transport that a queue was updated
3170 */
3171#define GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_UPDATE 1222
3181 3172
3182/** 3173/**
3183 * Message sent to indicate to the transport that a monitor 3174 * Message sent to indicate to the transport that a monitor