diff options
author | Ben Pfaff <blp@nicira.com> | 2010-06-07 16:58:57 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-06-17 10:30:19 -0700 |
commit | a90b56b7708a17e8bd689d4a3558348f04cb8dcb (patch) | |
tree | c41442b00cc9975b4b13985d0aab589c387c1235 /lib/shash.h | |
parent | e3648418c4bf028e6bca38bcbfc5a5ed493447fb (diff) | |
download | openvswitch-a90b56b7708a17e8bd689d4a3558348f04cb8dcb.tar.gz |
shash: New functions shash_destroy_free_data() and shash_clear_free_data().
Diffstat (limited to 'lib/shash.h')
-rw-r--r-- | lib/shash.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/shash.h b/lib/shash.h index de8504527..f97e6616d 100644 --- a/lib/shash.h +++ b/lib/shash.h @@ -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 *); |