X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fovsdb.h;h=0d15ef2db2488c8dd8146b4bfb8f0621f8eb74ad;hb=973d7411d62e848a2b9b0175ba7bb6234efdbff3;hp=ae743bbc50ba7d26803427fed5f6b6af5026901d;hpb=6aa09313722406629133b375871547fb426800ef;p=openvswitch diff --git a/ovsdb/ovsdb.h b/ovsdb/ovsdb.h index ae743bbc..0d15ef2d 100644 --- a/ovsdb/ovsdb.h +++ b/ovsdb/ovsdb.h @@ -23,6 +23,7 @@ struct json; struct ovsdb_log; +struct ovsdb_session; struct ovsdb_txn; struct uuid; @@ -47,6 +48,9 @@ struct ovsdb_error *ovsdb_schema_from_json(struct json *, struct ovsdb_schema **) WARN_UNUSED_RESULT; struct json *ovsdb_schema_to_json(const struct ovsdb_schema *); + +bool ovsdb_schema_equal(const struct ovsdb_schema *, + const struct ovsdb_schema *); /* Database. */ struct ovsdb { @@ -68,7 +72,8 @@ struct json *ovsdb_to_json(const struct ovsdb *); struct ovsdb_table *ovsdb_get_table(const struct ovsdb *, const char *); -struct json *ovsdb_execute(struct ovsdb *, const struct json *params, +struct json *ovsdb_execute(struct ovsdb *, const struct ovsdb_session *, + const struct json *params, long long int elapsed_msec, long long int *timeout_msec);