diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-06-16 20:10:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-06-16 20:10:55 +0000 |
commit | 0296fe30f002512dbde10f73ce7c57bf0085db7d (patch) | |
tree | b2bdb1e3bc1624982393e0c2d31bcfef62e2320a /src/include/gnunet_container_lib.h | |
parent | 4157c8256423c4cde80dcb3fbec992f683b8edf8 (diff) | |
download | gnunet-0296fe30f002512dbde10f73ce7c57bf0085db7d.tar.gz gnunet-0296fe30f002512dbde10f73ce7c57bf0085db7d.zip |
need clear api
Diffstat (limited to 'src/include/gnunet_container_lib.h')
-rw-r--r-- | src/include/gnunet_container_lib.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/gnunet_container_lib.h b/src/include/gnunet_container_lib.h index 1ac6cd4ed..e35ad1b74 100644 --- a/src/include/gnunet_container_lib.h +++ b/src/include/gnunet_container_lib.h | |||
@@ -295,6 +295,15 @@ GNUNET_CONTAINER_meta_data_delete (struct GNUNET_CONTAINER_MetaData *md, | |||
295 | 295 | ||
296 | 296 | ||
297 | /** | 297 | /** |
298 | * Remove all items in the container. | ||
299 | * | ||
300 | * @param md metadata to manipulate | ||
301 | */ | ||
302 | void | ||
303 | GNUNET_CONTAINER_meta_data_clear (struct GNUNET_CONTAINER_MetaData *md); | ||
304 | |||
305 | |||
306 | /** | ||
298 | * Add the current time as the publication date | 307 | * Add the current time as the publication date |
299 | * to the meta-data. | 308 | * to the meta-data. |
300 | * | 309 | * |