shash: New function shash_count().
[sliver-openvswitch.git] / lib / shash.h
index 56f13bc..67be119 100644 (file)
@@ -42,6 +42,7 @@ void shash_init(struct shash *);
 void shash_destroy(struct shash *);
 void shash_clear(struct shash *);
 bool shash_is_empty(const struct shash *);
+size_t shash_count(const struct shash *);
 struct shash_node *shash_add(struct shash *, const char *, void *);
 void shash_delete(struct shash *, struct shash_node *);
 struct shash_node *shash_find(const struct shash *, const char *);