struct ovsdb_error *ovsdb_schema_from_file(const char *file_name,
struct ovsdb_schema **)
- WARN_UNUSED_RESULT;
+ OVS_WARN_UNUSED_RESULT;
struct ovsdb_error *ovsdb_schema_from_json(struct json *,
struct ovsdb_schema **)
- WARN_UNUSED_RESULT;
+ OVS_WARN_UNUSED_RESULT;
struct json *ovsdb_schema_to_json(const struct ovsdb_schema *);
bool ovsdb_schema_equal(const struct ovsdb_schema *,
/* Database. */
struct ovsdb {
struct ovsdb_schema *schema;
- struct list replicas; /* Contains "struct ovsdb_replica"s. */
+ struct ovs_list replicas; /* Contains "struct ovsdb_replica"s. */
struct shash tables; /* Contains "struct ovsdb_table *"s. */
/* Triggers. */
- struct list triggers; /* Contains "struct ovsdb_trigger"s. */
+ struct ovs_list triggers; /* Contains "struct ovsdb_trigger"s. */
bool run_triggers;
};
/* Database replication. */
struct ovsdb_replica {
- struct list node; /* Element in "struct ovsdb" replicas list. */
+ struct ovs_list node; /* Element in "struct ovsdb" replicas list. */
const struct ovsdb_replica_class *class;
};