X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fovsdb-data.h;h=f7e98a84bd1d90d79da97c9d40bc5f65d47039e9;hb=0a6f55420508c31af9fe41aafdd26ce8462cc1be;hp=ae0faa26e4ac95254b46911f3694ee72e5db7de0;hpb=d931cde4d74ef1eee77594dd60c3a5b587394a1a;p=openvswitch diff --git a/lib/ovsdb-data.h b/lib/ovsdb-data.h index ae0faa26..f7e98a84 100644 --- a/lib/ovsdb-data.h +++ b/lib/ovsdb-data.h @@ -22,6 +22,7 @@ struct ds; struct ovsdb_symbol_table; +struct shash; /* One value of an atomic type (given by enum ovs_atomic_type). */ union ovsdb_atom { @@ -167,6 +168,8 @@ char *ovsdb_datum_from_string(struct ovsdb_datum *, void ovsdb_datum_to_string(const struct ovsdb_datum *, const struct ovsdb_type *, struct ds *); +void ovsdb_datum_from_shash(struct ovsdb_datum *, struct shash *); + /* Comparison. */ uint32_t ovsdb_datum_hash(const struct ovsdb_datum *, const struct ovsdb_type *, uint32_t basis);