diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-06 11:01:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-06 11:01:23 +0000 |
commit | 60e84bc16ecf431bd6f7aa22b3adb48df70bf8cf (patch) | |
tree | 8feca79fc98294639d7927613cdb20f08efd5373 /src/core/gnunet-service-core_typemap.c | |
parent | e788f53d58b5a4d46f86f5508b70bbede9e010b3 (diff) | |
download | gnunet-60e84bc16ecf431bd6f7aa22b3adb48df70bf8cf.tar.gz gnunet-60e84bc16ecf431bd6f7aa22b3adb48df70bf8cf.zip |
hxing
Diffstat (limited to 'src/core/gnunet-service-core_typemap.c')
-rw-r--r-- | src/core/gnunet-service-core_typemap.c | 10 |
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 | */ | ||
6 | struct 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 | */ |
5 | static uint32_t my_type_map[(UINT16_MAX + 1) / 32]; | 15 | static uint32_t my_type_map[(UINT16_MAX + 1) / 32]; |