]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
lib/generic: missing include guard, updated doc
authorMarek Vavruša <marek.vavrusa@nic.cz>
Sun, 19 Apr 2015 19:28:58 +0000 (21:28 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Sun, 19 Apr 2015 19:28:58 +0000 (21:28 +0200)
lib/generic/map.h
lib/generic/pack.h

index 1606f9db32c2e3957854a16eeb356b1059727c14..7b04af51095de2b5d9675ba492ce6fae45b29dc3 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 /**
- *
  * @file map.h
  * @brief A Crit-bit tree key-value map implementation.
  *
@@ -95,6 +94,8 @@ void map_clear(map_t *map);
 
 /**
  * Calls callback for all strings in map with the given prefix
+ * @param map
+ * @param prefix   required string prefix (empty => all strings)
  * @param callback callback parameters are (key, value, baton)
  * @param baton    passed uservalue
  */
index 33e889c532fa6459e841bd8135c794d3a38da65e..9a4e0939911a010d81010e370e8c27c564867142 100644 (file)
@@ -52,6 +52,8 @@
  * @{
  */
 
+#pragma once
+
 #include <stdint.h>
 #include <string.h>
 #include "array.h"