diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-23 13:51:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-23 13:51:43 +0000 |
commit | b0f5a7b53015ad3de87da115c940ba92f6143116 (patch) | |
tree | a3d7b93f7391debd99efb76fd017008cde3c78a6 /src/core/gnunet-service-core_typemap.c | |
parent | 6ec2adf77b7c08ee8c427e38338dd39500cfa7f3 (diff) | |
download | gnunet-b0f5a7b53015ad3de87da115c940ba92f6143116.tar.gz gnunet-b0f5a7b53015ad3de87da115c940ba92f6143116.zip |
possibly fixing 1840 and/or related issues
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 |