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.h81
1 files changed, 55 insertions, 26 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index 1ef00cfc8..0081138e0 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -1,21 +1,19 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 Copyright (C) 2001--2015 GNUnet e.V. 3 Copyright (C) 2001--2018 GNUnet e.V.
4 4
5 GNUnet is free software; you can redistribute it and/or modify 5 GNUnet is free software: you can redistribute it and/or modify it
6 it under the terms of the GNU General Public License as published 6 under the terms of the GNU Affero General Public License as published
7 by the Free Software Foundation; either version 3, or (at your 7 by the Free Software Foundation, either version 3 of the License,
8 option) any later version. 8 or (at your option) any later version.
9 9
10 GNUnet is distributed in the hope that it will be useful, but 10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with GNUnet; see the file COPYING. If not, write to the 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
19*/ 17*/
20 18
21/** 19/**
@@ -66,6 +64,11 @@ extern "C"
66 */ 64 */
67#define GNUNET_MESSAGE_TYPE_DUMMY 2 65#define GNUNET_MESSAGE_TYPE_DUMMY 2
68 66
67/**
68 * Another dummy messages for testing / benchmarking.
69 */
70#define GNUNET_MESSAGE_TYPE_DUMMY2 3
71
69/******************************************************************************* 72/*******************************************************************************
70 * RESOLVER message types 73 * RESOLVER message types
71 ******************************************************************************/ 74 ******************************************************************************/
@@ -81,6 +84,21 @@ extern "C"
81#define GNUNET_MESSAGE_TYPE_RESOLVER_RESPONSE 5 84#define GNUNET_MESSAGE_TYPE_RESOLVER_RESPONSE 5
82 85
83/******************************************************************************* 86/*******************************************************************************
87 * AGPL source code download
88 * *****************************************************************************/
89
90/**
91 * Message to request source code link.
92 */
93#define GNUNET_MESSAGE_TYPE_REQUEST_AGPL 6
94
95/**
96 * Source code link.
97 */
98#define GNUNET_MESSAGE_TYPE_RESPONSE_AGPL 7
99
100
101/*******************************************************************************
84 * ARM message types 102 * ARM message types
85 ******************************************************************************/ 103 ******************************************************************************/
86 104
@@ -247,6 +265,12 @@ extern "C"
247#define GNUNET_MESSAGE_TYPE_DV_BOX 53 265#define GNUNET_MESSAGE_TYPE_DV_BOX 53
248 266
249 267
268/**
269 * Experimental message type.
270 */
271#define GNUNET_MESSAGE_TYPE_TRANSPORT_XU_MESSAGE 55
272
273
250/******************************************************************************* 274/*******************************************************************************
251 * Transport-UDP message types 275 * Transport-UDP message types
252 ******************************************************************************/ 276 ******************************************************************************/
@@ -2632,35 +2656,35 @@ extern "C"
2632 * 2656 *
2633 * IDENTITY PROVIDER MESSAGE TYPES 2657 * IDENTITY PROVIDER MESSAGE TYPES
2634 */ 2658 */
2635#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_ATTRIBUTE_STORE 961 2659#define GNUNET_MESSAGE_TYPE_RECLAIM_ATTRIBUTE_STORE 961
2636 2660
2637#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_ATTRIBUTE_STORE_RESPONSE 962 2661#define GNUNET_MESSAGE_TYPE_RECLAIM_ATTRIBUTE_STORE_RESPONSE 962
2638 2662
2639#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_ATTRIBUTE_ITERATION_START 963 2663#define GNUNET_MESSAGE_TYPE_RECLAIM_ATTRIBUTE_ITERATION_START 963
2640 2664
2641#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_ATTRIBUTE_ITERATION_STOP 964 2665#define GNUNET_MESSAGE_TYPE_RECLAIM_ATTRIBUTE_ITERATION_STOP 964
2642 2666
2643#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_ATTRIBUTE_ITERATION_NEXT 965 2667#define GNUNET_MESSAGE_TYPE_RECLAIM_ATTRIBUTE_ITERATION_NEXT 965
2644 2668
2645#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_ATTRIBUTE_RESULT 966 2669#define GNUNET_MESSAGE_TYPE_RECLAIM_ATTRIBUTE_RESULT 966
2646 2670
2647#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_ISSUE_TICKET 967 2671#define GNUNET_MESSAGE_TYPE_RECLAIM_ISSUE_TICKET 967
2648 2672
2649#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_TICKET_RESULT 968 2673#define GNUNET_MESSAGE_TYPE_RECLAIM_TICKET_RESULT 968
2650 2674
2651#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_REVOKE_TICKET 969 2675#define GNUNET_MESSAGE_TYPE_RECLAIM_REVOKE_TICKET 969
2652 2676
2653#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_REVOKE_TICKET_RESULT 970 2677#define GNUNET_MESSAGE_TYPE_RECLAIM_REVOKE_TICKET_RESULT 970
2654 2678
2655#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_CONSUME_TICKET 971 2679#define GNUNET_MESSAGE_TYPE_RECLAIM_CONSUME_TICKET 971
2656 2680
2657#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_CONSUME_TICKET_RESULT 972 2681#define GNUNET_MESSAGE_TYPE_RECLAIM_CONSUME_TICKET_RESULT 972
2658 2682
2659#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_TICKET_ITERATION_START 973 2683#define GNUNET_MESSAGE_TYPE_RECLAIM_TICKET_ITERATION_START 973
2660 2684
2661#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_TICKET_ITERATION_STOP 974 2685#define GNUNET_MESSAGE_TYPE_RECLAIM_TICKET_ITERATION_STOP 974
2662 2686
2663#define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_TICKET_ITERATION_NEXT 975 2687#define GNUNET_MESSAGE_TYPE_RECLAIM_TICKET_ITERATION_NEXT 975
2664 2688
2665/************************************************** 2689/**************************************************
2666 * 2690 *
@@ -2676,6 +2700,11 @@ extern "C"
2676 2700
2677/******************************************************************************/ 2701/******************************************************************************/
2678 2702
2703/******************************************************************************/
2704/*********************************** ZKLAIM ***********************************/
2705#define GNUNET_MESSAGE_TYPE_ZKLAIM_CREATE 990
2706
2707#define GNUNET_MESSAGE_TYPE_ZKLAIM_RESULT_CODE 991
2679 2708
2680/******************************************************************************/ 2709/******************************************************************************/
2681/*********************************** CADET **********************************/ 2710/*********************************** CADET **********************************/