X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fshash.h;h=8efdde1b9ef0d6b2ab409066af71a5c65c616edb;hb=7a44236e274511579719aecdb0b3cd4b090be03f;hp=236d865ed09c5df65411f500e8dc3114a3ca0f9f;hpb=58fda1dab104041fc693032475ec4662c1a52849;p=openvswitch diff --git a/lib/shash.h b/lib/shash.h index 236d865e..8efdde1b 100644 --- a/lib/shash.h +++ b/lib/shash.h @@ -44,6 +44,7 @@ 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 *, const void *); +bool shash_add_once(struct shash *, const char *, const void *); void shash_delete(struct shash *, struct shash_node *); struct shash_node *shash_find(const struct shash *, const char *); void *shash_find_data(const struct shash *, const char *);