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.h102
1 files changed, 79 insertions, 23 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index f2892e125..6ab008d16 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 Copyright (C) 2001--2020 GNUnet e.V. 3 Copyright (C) 2001--2024 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published 6 under the terms of the GNU Affero General Public License as published
@@ -19,6 +19,10 @@
19 */ 19 */
20 20
21/** 21/**
22 * @addtogroup libgnunetutil
23 * Multi-function utilities library for GNUnet programs
24 * @{
25 *
22 * @author Christian Grothoff 26 * @author Christian Grothoff
23 * @author Tobias Frisch 27 * @author Tobias Frisch
24 * 28 *
@@ -1323,7 +1327,7 @@ extern "C" {
1323/** 1327/**
1324 * Service to client: result of store operation. 1328 * Service to client: result of store operation.
1325 */ 1329 */
1326#define GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_STORE_RESPONSE 436 1330#define GNUNET_MESSAGE_TYPE_NAMESTORE_GENERIC_RESPONSE 436
1327 1331
1328/** 1332/**
1329 * Client to service: lookup label 1333 * Client to service: lookup label
@@ -2348,7 +2352,7 @@ extern "C" {
2348/** M<->S<->C: PSYC message which contains a header and one or more message 2352/** M<->S<->C: PSYC message which contains a header and one or more message
2349 * parts. */ 2353 * parts. */
2350#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_HEADER \ 2354#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_HEADER \
2351 692 // FIXME: start using this where appropriate 2355 692 // FIXME: start using this where appropriate
2352 2356
2353/** Message part: method */ 2357/** Message part: method */
2354#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_METHOD 693 2358#define GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_METHOD 693
@@ -2595,14 +2599,14 @@ extern "C" {
2595#define GNUNET_MESSAGE_TYPE_PEERSTORE_STORE 820 2599#define GNUNET_MESSAGE_TYPE_PEERSTORE_STORE 820
2596 2600
2597/** 2601/**
2598 * Iteration request 2602 * Iteration request (see also 828, 829)
2599 */ 2603 */
2600#define GNUNET_MESSAGE_TYPE_PEERSTORE_ITERATE 821 2604#define GNUNET_MESSAGE_TYPE_PEERSTORE_ITERATE_START 821
2601 2605
2602/** 2606/**
2603 * Iteration record message 2607 * Record result message
2604 */ 2608 */
2605#define GNUNET_MESSAGE_TYPE_PEERSTORE_ITERATE_RECORD 822 2609#define GNUNET_MESSAGE_TYPE_PEERSTORE_RECORD 822
2606 2610
2607/** 2611/**
2608 * Iteration end message 2612 * Iteration end message
@@ -2610,19 +2614,34 @@ extern "C" {
2610#define GNUNET_MESSAGE_TYPE_PEERSTORE_ITERATE_END 823 2614#define GNUNET_MESSAGE_TYPE_PEERSTORE_ITERATE_END 823
2611 2615
2612/** 2616/**
2613 * Watch request 2617 * Monitor request
2618 */
2619#define GNUNET_MESSAGE_TYPE_PEERSTORE_MONITOR_START 824
2620
2621/**
2622 * Monitor sync
2623 */
2624#define GNUNET_MESSAGE_TYPE_PEERSTORE_MONITOR_SYNC 825
2625
2626/**
2627 * Monitor next request
2628 */
2629#define GNUNET_MESSAGE_TYPE_PEERSTORE_MONITOR_NEXT 826
2630
2631/**
2632 * Store result message
2614 */ 2633 */
2615#define GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH 824 2634#define GNUNET_MESSAGE_TYPE_PEERSTORE_STORE_RESULT 827
2616 2635
2617/** 2636/**
2618 * Watch response 2637 * Iteration request (see also 821, 829)
2619 */ 2638 */
2620#define GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH_RECORD 825 2639#define GNUNET_MESSAGE_TYPE_PEERSTORE_ITERATE_NEXT 828
2621 2640
2622/** 2641/**
2623 * Watch cancel request 2642 * Iteration request (see also 821, 828)
2624 */ 2643 */
2625#define GNUNET_MESSAGE_TYPE_PEERSTORE_WATCH_CANCEL 826 2644#define GNUNET_MESSAGE_TYPE_PEERSTORE_ITERATE_STOP 829
2626 2645
2627/******************************************************************************* 2646/*******************************************************************************
2628 * SOCIAL message types 2647 * SOCIAL message types
@@ -3197,6 +3216,11 @@ extern "C" {
3197#define GNUNET_MESSAGE_TYPE_NAT_ADDRESS_CHANGE 1064 3216#define GNUNET_MESSAGE_TYPE_NAT_ADDRESS_CHANGE 1064
3198 3217
3199/** 3218/**
3219 * Message to ask NAT service to notify all clients about a new global address.
3220 */
3221#define GNUNET_MESSAGE_TYPE_NAT_ADD_GLOBAL_ADDRESS 1065
3222
3223/**
3200 * Message to ask NAT service to request autoconfiguration. 3224 * Message to ask NAT service to request autoconfiguration.
3201 */ 3225 */
3202#define GNUNET_MESSAGE_TYPE_NAT_AUTO_REQUEST_CFG 1067 3226#define GNUNET_MESSAGE_TYPE_NAT_AUTO_REQUEST_CFG 1067
@@ -3526,6 +3550,11 @@ extern "C" {
3526#define GNUNET_MESSAGE_TYPE_COMMUNICATOR_UDP_PAD 1461 3550#define GNUNET_MESSAGE_TYPE_COMMUNICATOR_UDP_PAD 1461
3527 3551
3528/** 3552/**
3553 * UDP Rekey.
3554 */
3555#define GNUNET_MESSAGE_TYPE_COMMUNICATOR_UDP_REKEY 1462
3556
3557/**
3529 * Next available: 1500 3558 * Next available: 1500
3530 */ 3559 */
3531#define GNUNET_MESSAGE_TYPE_RECLAIM_REFERENCE_DELETE 1500 3560#define GNUNET_MESSAGE_TYPE_RECLAIM_REFERENCE_DELETE 1500
@@ -3545,17 +3574,9 @@ extern "C" {
3545 3574
3546#define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_CREATE 1600 3575#define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_CREATE 1600
3547 3576
3548#define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_UPDATE 1601 3577#define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_DESTROY 1601
3549
3550#define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_DESTROY 1602
3551
3552#define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_GET_NAME 1603
3553
3554#define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_SET_NAME 1604
3555
3556#define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_GET_KEY 1605
3557 3578
3558#define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_MEMBER_ID 1606 3579#define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_MEMBER_ID 1602
3559 3580
3560/************************************ Room *************************************/ 3581/************************************ Room *************************************/
3561 3582
@@ -3571,6 +3592,10 @@ extern "C" {
3571 3592
3572#define GNUNET_MESSAGE_TYPE_MESSENGER_ROOM_GET_MESSAGE 1616 3593#define GNUNET_MESSAGE_TYPE_MESSENGER_ROOM_GET_MESSAGE 1616
3573 3594
3595#define GNUNET_MESSAGE_TYPE_MESSENGER_ROOM_SYNC 1617
3596
3597#define GNUNET_MESSAGE_TYPE_MESSENGER_ROOM_LINK 1618
3598
3574/*********************************************************************************/ 3599/*********************************************************************************/
3575 3600
3576/*********************************************************************************/ 3601/*********************************************************************************/
@@ -3597,7 +3622,36 @@ extern "C" {
3597 3622
3598#define GNUNET_MESSAGE_TYPE_CMDS_HELPER_LOCAL_FINISHED 1706 3623#define GNUNET_MESSAGE_TYPE_CMDS_HELPER_LOCAL_FINISHED 1706
3599 3624
3625#define GNUNET_MESSAGE_TYPE_CMDS_HELPER_BARRIER_REACHED 1707
3626
3627#define GNUNET_MESSAGE_TYPE_CMDS_HELPER_BARRIER_ATTACH 1708
3628
3629#define GNUNET_MESSAGE_TYPE_CMDS_HELPER_BARRIER_CROSSABLE 1709
3630
3631#define GNUNET_MESSAGE_TYPE_CMDS_HELPER_BARRIER_ATTACHED 1710
3632
3633/*********************************************************************************/
3634
3600/*********************************************************************************/ 3635/*********************************************************************************/
3636/********************************** NAMESTORE (cont.) **************************/
3637/*********************************************************************************/
3638/* NAMESTORE: message types 1750-1800
3639 */
3640
3641/**
3642 * Message type for start of record edit with advisory lock
3643 */
3644#define GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_SET_EDIT 1750
3645
3646/**
3647 * Return record set to edit with previous editor hint/advisory lock
3648 */
3649#define GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_SET_EDIT_RESPONSE 1751
3650
3651/**
3652 * Message type for cancellation/reset of editor hint/advisory lock
3653 */
3654#define GNUNET_MESSAGE_TYPE_NAMESTORE_RECORD_SET_EDIT_CANCEL 1752
3601 3655
3602/** 3656/**
3603 * Type used to match 'all' message types. 3657 * Type used to match 'all' message types.
@@ -3617,4 +3671,6 @@ extern "C" {
3617 3671
3618/** @} */ /* end of group protocols */ 3672/** @} */ /* end of group protocols */
3619 3673
3674/** @} */ /* end of group addition */
3675
3620/* end of gnunet_protocols.h */ 3676/* end of gnunet_protocols.h */