smap: New function smap_steal().
[openvswitch] / lib / smap.h
index 8510a3761efabda1a127f680e64d1e8a36935931..13eec1c4f4d6262f3c458f3761a52c64f13a6f40 100644 (file)
@@ -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 *);