diff options
Diffstat (limited to 'src/include/gnunet_protocols.h')
-rw-r--r-- | src/include/gnunet_protocols.h | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index e9b81a654..9aa029e9d 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--2018 GNUnet e.V. | 3 | Copyright (C) 2001--2020 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 |
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @author Christian Grothoff | 22 | * @author Christian Grothoff |
23 | * @author Tobias Frisch | ||
23 | * | 24 | * |
24 | * @file | 25 | * @file |
25 | * Constants for network protocols | 26 | * Constants for network protocols |
@@ -3508,6 +3509,46 @@ extern "C" { | |||
3508 | #define GNUNET_MESSAGE_TYPE_RECLAIM_REFERENCE_RESULT 1501 | 3509 | #define GNUNET_MESSAGE_TYPE_RECLAIM_REFERENCE_RESULT 1501 |
3509 | 3510 | ||
3510 | 3511 | ||
3512 | /*********************************************************************************/ | ||
3513 | /********************************** MESSENGER **********************************/ | ||
3514 | /*********************************************************************************/ | ||
3515 | /* MESSENGER: message types 1600-1629 | ||
3516 | * 1600-1609 Connection-level Messages | ||
3517 | * 1610-1619 Room-level Messages | ||
3518 | */ | ||
3519 | |||
3520 | /********************************* Connection **********************************/ | ||
3521 | |||
3522 | #define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_CREATE 1600 | ||
3523 | |||
3524 | #define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_UPDATE 1601 | ||
3525 | |||
3526 | #define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_DESTROY 1602 | ||
3527 | |||
3528 | #define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_GET_NAME 1603 | ||
3529 | |||
3530 | #define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_SET_NAME 1604 | ||
3531 | |||
3532 | #define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_GET_KEY 1605 | ||
3533 | |||
3534 | #define GNUNET_MESSAGE_TYPE_MESSENGER_CONNECTION_MEMBER_ID 1606 | ||
3535 | |||
3536 | /************************************ Room *************************************/ | ||
3537 | |||
3538 | #define GNUNET_MESSAGE_TYPE_MESSENGER_ROOM_OPEN 1610 | ||
3539 | |||
3540 | #define GNUNET_MESSAGE_TYPE_MESSENGER_ROOM_ENTRY 1611 | ||
3541 | |||
3542 | #define GNUNET_MESSAGE_TYPE_MESSENGER_ROOM_CLOSE 1612 | ||
3543 | |||
3544 | #define GNUNET_MESSAGE_TYPE_MESSENGER_ROOM_SEND_MESSAGE 1614 | ||
3545 | |||
3546 | #define GNUNET_MESSAGE_TYPE_MESSENGER_ROOM_RECV_MESSAGE 1615 | ||
3547 | |||
3548 | #define GNUNET_MESSAGE_TYPE_MESSENGER_ROOM_GET_MESSAGE 1616 | ||
3549 | |||
3550 | /*********************************************************************************/ | ||
3551 | |||
3511 | /** | 3552 | /** |
3512 | * Type used to match 'all' message types. | 3553 | * Type used to match 'all' message types. |
3513 | */ | 3554 | */ |