diff options
Diffstat (limited to 'src/core/gnunet-service-core_typemap.c')
-rw-r--r-- | src/core/gnunet-service-core_typemap.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/gnunet-service-core_typemap.c b/src/core/gnunet-service-core_typemap.c index e4f75bd00..5d40820df 100644 --- a/src/core/gnunet-service-core_typemap.c +++ b/src/core/gnunet-service-core_typemap.c | |||
@@ -260,6 +260,18 @@ GSC_TYPEMAP_extend (const struct GSC_TypeMap *tmap, | |||
260 | 260 | ||
261 | 261 | ||
262 | /** | 262 | /** |
263 | * Create an empty type map. | ||
264 | * | ||
265 | * @param map a type map | ||
266 | */ | ||
267 | struct GSC_TypeMap * | ||
268 | GSC_TYPEMAP_create () | ||
269 | { | ||
270 | return GNUNET_malloc (sizeof (struct GSC_TypeMap)); | ||
271 | } | ||
272 | |||
273 | |||
274 | /** | ||
263 | * Free the given type map. | 275 | * Free the given type map. |
264 | * | 276 | * |
265 | * @param map a type map | 277 | * @param map a type map |