aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_typemap.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-04 14:00:32 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-04 14:00:32 +0000
commit83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch)
treed0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/core/gnunet-service-core_typemap.h
parent28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff)
downloadgnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.tar.gz
gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.zip
curly wars / auto-indentation
Diffstat (limited to 'src/core/gnunet-service-core_typemap.h')
-rw-r--r--src/core/gnunet-service-core_typemap.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/core/gnunet-service-core_typemap.h b/src/core/gnunet-service-core_typemap.h
index d589c0b1c..ab106a161 100644
--- a/src/core/gnunet-service-core_typemap.h
+++ b/src/core/gnunet-service-core_typemap.h
@@ -39,16 +39,14 @@ struct GSC_TypeMap;
39 * Add a set of types to our type map. 39 * Add a set of types to our type map.
40 */ 40 */
41void 41void
42GSC_TYPEMAP_add (const uint16_t *types, 42GSC_TYPEMAP_add (const uint16_t * types, unsigned int tlen);
43 unsigned int tlen);
44 43
45 44
46/** 45/**
47 * Remove a set of types from our type map. 46 * Remove a set of types from our type map.
48 */ 47 */
49void 48void
50GSC_TYPEMAP_remove (const uint16_t *types, 49GSC_TYPEMAP_remove (const uint16_t * types, unsigned int tlen);
51 unsigned int tlen);
52 50
53 51
54/** 52/**
@@ -78,11 +76,10 @@ GSC_TYPEMAP_get_from_message (const struct GNUNET_MessageHeader *msg);
78 * @param types array of types 76 * @param types array of types
79 * @param tcnt number of entries in types 77 * @param tcnt number of entries in types
80 * @return GNUNET_YES if a type is in the map, GNUNET_NO if not 78 * @return GNUNET_YES if a type is in the map, GNUNET_NO if not
81 */ 79 */
82int 80int
83GSC_TYPEMAP_test_match (const struct GSC_TypeMap *tmap, 81GSC_TYPEMAP_test_match (const struct GSC_TypeMap *tmap, const uint16_t * types,
84 const uint16_t *types, 82 unsigned int tcnt);
85 unsigned int tcnt);
86 83
87 84
88/** 85/**
@@ -92,11 +89,10 @@ GSC_TYPEMAP_test_match (const struct GSC_TypeMap *tmap,
92 * @param types array of types to add 89 * @param types array of types to add
93 * @param tcnt number of entries in types 90 * @param tcnt number of entries in types
94 * @return updated type map (fresh copy) 91 * @return updated type map (fresh copy)
95 */ 92 */
96struct GSC_TypeMap * 93struct GSC_TypeMap *
97GSC_TYPEMAP_extend (const struct GSC_TypeMap *tmap, 94GSC_TYPEMAP_extend (const struct GSC_TypeMap *tmap, const uint16_t * types,
98 const uint16_t *types, 95 unsigned int tcnt);
99 unsigned int tcnt);
100 96
101/** 97/**
102 * Create an empty type map. 98 * Create an empty type map.