shash: New functions shash_destroy_free_data() and shash_clear_free_data().
[sliver-openvswitch.git] / lib / shash.h
index de85045..f97e661 100644 (file)
@@ -44,9 +44,11 @@ struct shash {
 
 void shash_init(struct shash *);
 void shash_destroy(struct shash *);
+void shash_destroy_free_data(struct shash *);
 void shash_swap(struct shash *, struct shash *);
 void shash_moved(struct shash *);
 void shash_clear(struct shash *);
+void shash_clear_free_data(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 *, const void *);