#include "hmap.h"
+struct json;
+
/* A map from string to string. */
struct smap {
struct hmap map; /* Contains "struct smap_node"s. */
void smap_clone(struct smap *dst, const struct smap *src);
const struct smap_node **smap_sort(const struct smap *);
+void smap_from_json(struct smap *, const struct json *);
+struct json *smap_to_json(const struct smap *);
+
#endif /* smap.h */