X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fovsdb-data.h;h=f7e98a84bd1d90d79da97c9d40bc5f65d47039e9;hb=9591fefeea4b475ee0d1387486a410bbb592b050;hp=820a4dbb3a9be3a1ee6268c16798ae8a2f604651;hpb=2b66469b96c8a2955d4321fc7caf96be74d33185;p=openvswitch diff --git a/lib/ovsdb-data.h b/lib/ovsdb-data.h index 820a4dbb..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 { @@ -84,11 +85,6 @@ struct ovsdb_error *ovsdb_atom_from_json(union ovsdb_atom *, const struct json *, struct ovsdb_symbol_table *) WARN_UNUSED_RESULT; -struct ovsdb_error *ovsdb_datum_from_json_unique(struct ovsdb_datum *, - const struct ovsdb_type *, - const struct json *, - struct ovsdb_symbol_table *) - WARN_UNUSED_RESULT; struct json *ovsdb_atom_to_json(const union ovsdb_atom *, enum ovsdb_atomic_type); @@ -172,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);