aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_typemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/gnunet-service-core_typemap.c')
-rw-r--r--src/core/gnunet-service-core_typemap.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/gnunet-service-core_typemap.c b/src/core/gnunet-service-core_typemap.c
index 3aa652999..45dcc65c9 100644
--- a/src/core/gnunet-service-core_typemap.c
+++ b/src/core/gnunet-service-core_typemap.c
@@ -1,5 +1,15 @@
1 1
2/** 2/**
3 * A type map describing which messages a given neighbour is able
4 * to process.
5 */
6struct GSC_TypeMap
7{
8 uint32_t bits[(UINT16_MAX + 1) / 32];
9};
10
11
12/**
3 * Bitmap of message types this peer is able to handle. 13 * Bitmap of message types this peer is able to handle.
4 */ 14 */
5static uint32_t my_type_map[(UINT16_MAX + 1) / 32]; 15static uint32_t my_type_map[(UINT16_MAX + 1) / 32];