diff options
| author | Ben Pfaff <blp@nicira.com> | 2010-06-30 13:26:42 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2010-06-30 16:49:01 -0700 |
| commit | 79903dd171cd7bdbb52710b98dbaa5de1537de87 (patch) | |
| tree | 2dbdee72f39de7eaace8fb01e54cd6f92bfc42a4 /lib/shash.h | |
| parent | 1c6d8802c23c64a9439be43fa2064aca8083bfb2 (diff) | |
| download | openvswitch-79903dd171cd7bdbb52710b98dbaa5de1537de87.tar.gz | |
shash: New function shash_replace().
To be used in an upcoming commit.
Diffstat (limited to 'lib/shash.h')
| -rw-r--r-- | lib/shash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/shash.h b/lib/shash.h index f97e6616d..19e4c5d63 100644 --- a/lib/shash.h +++ b/lib/shash.h @@ -55,6 +55,7 @@ struct shash_node *shash_add(struct shash *, const char *, const void *); struct shash_node *shash_add_nocopy(struct shash *, char *, const void *); bool shash_add_once(struct shash *, const char *, const void *); void shash_add_assert(struct shash *, const char *, const void *); +void *shash_replace(struct shash *, const char *, const void *data); 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 *); |
