summaryrefslogtreecommitdiff
path: root/lib/smap.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-06-27 11:06:10 -0700
committerBen Pfaff <blp@nicira.com>2012-07-18 10:30:50 -0700
commit51c82a49d58daebe289e045fe44009d59b1f9236 (patch)
tree23c207f6a8f7a33e4fd1e97374057423b729564e /lib/smap.h
parentcccc13569249376eb2e1a364e07dfc33a745d791 (diff)
downloadopenvswitch-51c82a49d58daebe289e045fe44009d59b1f9236.tar.gz
smap: New function smap_steal().
An upcoming commit will add a caller. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/smap.h')
-rw-r--r--lib/smap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/smap.h b/lib/smap.h
index 8510a3761..13eec1c4f 100644
--- a/lib/smap.h
+++ b/lib/smap.h
@@ -48,7 +48,8 @@ void smap_add_format(struct smap *, const char *key, const char *, ...)
void smap_replace(struct smap *, const char *, const char *);
void smap_remove(struct smap *, const char *);
-void smap_remove_node(struct smap *smap, struct smap_node *);
+void smap_remove_node(struct smap *, struct smap_node *);
+char *smap_steal(struct smap *, struct smap_node *);
void smap_clear(struct smap *);
const char *smap_get(const struct smap *, const char *);