summaryrefslogtreecommitdiff
path: root/lib/shash.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-07-28 13:29:57 -0700
committerBen Pfaff <blp@nicira.com>2009-07-30 16:07:13 -0700
commit78299b0a6871a31c8b0cce5ef3f67ab465ab094f (patch)
tree453905c564d46f3f8627834523400d27f7e6f8b2 /lib/shash.h
parent3b7c608d6afeea32ff8d6ce616970c7d095b4bcc (diff)
downloadopenvswitch-78299b0a6871a31c8b0cce5ef3f67ab465ab094f.tar.gz
shash: Make shash_add() return the new node.
Diffstat (limited to 'lib/shash.h')
-rw-r--r--lib/shash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shash.h b/lib/shash.h
index bcac41b57..72d830200 100644
--- a/lib/shash.h
+++ b/lib/shash.h
@@ -35,7 +35,7 @@ void shash_init(struct shash *);
void shash_destroy(struct shash *);
void shash_clear(struct shash *);
bool shash_is_empty(const struct shash *);
-void shash_add(struct shash *, const char *, void *);
+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 *);
void *shash_find_data(const struct shash *, const char *);