aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_typemap.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-06 19:03:36 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-06 19:03:36 +0000
commitd7591587eb28a40e44a3065c30ec1b60a9bcba68 (patch)
treeefcd2ce887c1c333fd323e95ec83755075bc91d2 /src/core/gnunet-service-core_typemap.c
parent0046468edaf3131f5f13b33b5672831e880ccbe7 (diff)
downloadgnunet-d7591587eb28a40e44a3065c30ec1b60a9bcba68.tar.gz
gnunet-d7591587eb28a40e44a3065c30ec1b60a9bcba68.zip
finishing clients draft
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.