aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_typemap.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-07 09:42:36 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-07 09:42:36 +0000
commit145db4f07472ffd03b8872928c165a4a7ef46352 (patch)
tree8bf1eee2d2dfb2537b34b39f2d3cc81fb6be1ddd /src/core/gnunet-service-core_typemap.h
parentdb1ababc2af1771a10c79c65a729852700ac7699 (diff)
downloadgnunet-145db4f07472ffd03b8872928c165a4a7ef46352.tar.gz
gnunet-145db4f07472ffd03b8872928c165a4a7ef46352.zip
fixes
Diffstat (limited to 'src/core/gnunet-service-core_typemap.h')
-rw-r--r--src/core/gnunet-service-core_typemap.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/core/gnunet-service-core_typemap.h b/src/core/gnunet-service-core_typemap.h
index fe3b885b3..d43c64536 100644
--- a/src/core/gnunet-service-core_typemap.h
+++ b/src/core/gnunet-service-core_typemap.h
@@ -28,7 +28,11 @@
28 28
29#include "gnunet_util_lib.h" 29#include "gnunet_util_lib.h"
30#include "gnunet_transport_service.h" 30#include "gnunet_transport_service.h"
31#include "gnunet_service_core.h" 31
32/**
33 * Map specifying which message types a peer supports.
34 */
35struct GSC_TypeMap;
32 36
33 37
34/** 38/**
@@ -57,10 +61,17 @@ GSC_TYPEMAP_remove (const uint16_t *types,
57 * @return GNUNET_YES if a type is in the map, GNUNET_NO if not 61 * @return GNUNET_YES if a type is in the map, GNUNET_NO if not
58 */ 62 */
59int 63int
60GSC_TYPEMAP_test_match (struct GSC_TypeMap *tmap, 64GSC_TYPEMAP_test_match (const struct GSC_TypeMap *tmap,
61 const uint16_t *types, 65 const uint16_t *types,
62 unsigned int tcnt); 66 unsigned int tcnt);
63 67
64 68
69void
70GSC_TYPEMAP_init ();
71
72
73void
74GSC_TYPEMAP_done ();
75
65#endif 76#endif
66/* end of gnunet-service-core_typemap.h */ 77/* end of gnunet-service-core_typemap.h */