]> git.proxmox.com Git - mirror_ovs.git/blobdiff - lib/smap.h
smap: Add smap_get_uint() helper function.
[mirror_ovs.git] / lib / smap.h
index 766c65f7f504fe09dfec5e81ed25abf09e799394..a92115966706c4e4235807f10cb70fdaa018fd5e 100644 (file)
@@ -104,6 +104,8 @@ const char *smap_get_def(const struct smap *, const char *key,
 struct smap_node *smap_get_node(const struct smap *, const char *);
 bool smap_get_bool(const struct smap *smap, const char *key, bool def);
 int smap_get_int(const struct smap *smap, const char *key, int def);
+unsigned int smap_get_uint(const struct smap *smap, const char *key,
+                           unsigned int def);
 unsigned long long int smap_get_ullong(const struct smap *, const char *key,
                                        unsigned long long def);
 bool smap_get_uuid(const struct smap *, const char *key, struct uuid *);