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.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/gnunet-service-core_typemap.c b/src/core/gnunet-service-core_typemap.c
index 0d270737b..dfd0b8888 100644
--- a/src/core/gnunet-service-core_typemap.c
+++ b/src/core/gnunet-service-core_typemap.c
@@ -51,6 +51,24 @@ GSC_TYPEMAP_remove (const uint16_t *types,
51 51
52 52
53/** 53/**
54 * Test if any of the types from the types array is in the
55 * given type map.
56 *
57 * @param map map to test
58 * @param types array of types
59 * @param tcnt number of entries in types
60 * @return GNUNET_YES if a type is in the map, GNUNET_NO if not
61 */
62int
63GSC_TYPEMAP_test_match (struct GSC_TypeMap *tmap,
64 const uint16_t *types,
65 unsigned int tcnt)
66{
67 return GNUNET_YES; /* FIXME */
68}
69
70
71/**
54 * Compute a type map message for this peer. 72 * Compute a type map message for this peer.
55 * 73 *
56 * @return this peers current type map message. 74 * @return this peers current type map message.