summaryrefslogtreecommitdiff
path: root/lib/hmap.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-07-19 11:22:10 -0700
committerBen Pfaff <blp@nicira.com>2010-10-01 10:25:10 -0700
commitf3099647623f2b13ece56cf8cf31761c00c1c297 (patch)
tree24fb9d741ac963092c775ea3b7c6dff28ee0208e /lib/hmap.h
parent93b13be8e65455ecf6e568e604cf76fdb20601c9 (diff)
downloadopenvswitch-f3099647623f2b13ece56cf8cf31761c00c1c297.tar.gz
hmap: New function hmap_clear().
Diffstat (limited to 'lib/hmap.h')
-rw-r--r--lib/hmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hmap.h b/lib/hmap.h
index d56749996..92aff7f99 100644
--- a/lib/hmap.h
+++ b/lib/hmap.h
@@ -69,6 +69,7 @@ struct hmap {
/* Initialization. */
void hmap_init(struct hmap *);
void hmap_destroy(struct hmap *);
+void hmap_clear(struct hmap *);
void hmap_swap(struct hmap *a, struct hmap *b);
void hmap_moved(struct hmap *hmap);
static inline size_t hmap_count(const struct hmap *);