X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fshash.h;h=1210772ef19a1b2235c6a347d3f86b6407fc00a2;hb=df2fa9b50e1c0e93c6be1d31a5d69eb4f077add3;hp=dfb10e2cc420e4b5e1023337178749d33db5d18b;hpb=4e8e4213a815a30216e855a805a8bcd5b8c5a886;p=openvswitch diff --git a/lib/shash.h b/lib/shash.h index dfb10e2c..1210772e 100644 --- a/lib/shash.h +++ b/lib/shash.h @@ -66,6 +66,12 @@ const struct shash_node **shash_sort(const struct shash *); bool shash_equal_keys(const struct shash *, const struct shash *); struct shash_node *shash_random_node(struct shash *); +/* Working with "smaps": shashes used as string-to-string maps. */ +void smap_destroy(struct shash *); +bool smap_equal(const struct shash *, const struct shash *); +void smap_clone(struct shash *, const struct shash *); +void smap_add(struct shash *, const char *key, const char *value); + #ifdef __cplusplus } #endif