X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fovsdb-data.h;h=e12153c9c71b9974a4d7bd6e87c0be1f19e11d65;hb=0b3f2725391c561cb53e4a7a860648a116f04e08;hp=a5c49f974e48df6d2e4cbd722fc42f70c3f48106;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=openvswitch diff --git a/lib/ovsdb-data.h b/lib/ovsdb-data.h index a5c49f97..e12153c9 100644 --- a/lib/ovsdb-data.h +++ b/lib/ovsdb-data.h @@ -75,7 +75,8 @@ struct json *ovsdb_atom_to_json(const union ovsdb_atom *, enum ovsdb_atomic_type); char *ovsdb_atom_from_string(union ovsdb_atom *, - const struct ovsdb_base_type *, const char *) + const struct ovsdb_base_type *, const char *, + struct ovsdb_symbol_table *) WARN_UNUSED_RESULT; void ovsdb_atom_to_string(const union ovsdb_atom *, enum ovsdb_atomic_type, struct ds *); @@ -142,7 +143,8 @@ struct json *ovsdb_datum_to_json(const struct ovsdb_datum *, const struct ovsdb_type *); char *ovsdb_datum_from_string(struct ovsdb_datum *, - const struct ovsdb_type *, const char *) + const struct ovsdb_type *, const char *, + struct ovsdb_symbol_table *) WARN_UNUSED_RESULT; void ovsdb_datum_to_string(const struct ovsdb_datum *, const struct ovsdb_type *, struct ds *); @@ -216,6 +218,7 @@ struct ovsdb_symbol *ovsdb_symbol_table_put(struct ovsdb_symbol_table *, const struct uuid *, bool used); struct ovsdb_symbol *ovsdb_symbol_table_insert(struct ovsdb_symbol_table *, const char *name); +const char *ovsdb_symbol_table_find_unused(const struct ovsdb_symbol_table *); /* Tokenization *