X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fovsdb-idl.h;h=4c64585da8bef0a4b108ba0fa347cea3b62402a9;hb=09cc5de3c360fcf3f9de0ef37229cf411dc362c1;hp=3b8582d0d28d37c44c1bebd7a60ab8e62b6ea8b6;hpb=69490970b3555fd45f844b4f6304bc2dc6a01b0b;p=openvswitch diff --git a/lib/ovsdb-idl.h b/lib/ovsdb-idl.h index 3b8582d0..4c64585d 100644 --- a/lib/ovsdb-idl.h +++ b/lib/ovsdb-idl.h @@ -65,8 +65,11 @@ void ovsdb_idl_txn_increment(struct ovsdb_idl_txn *, const char *table, void ovsdb_idl_txn_destroy(struct ovsdb_idl_txn *); void ovsdb_idl_txn_wait(const struct ovsdb_idl_txn *); enum ovsdb_idl_txn_status ovsdb_idl_txn_commit(struct ovsdb_idl_txn *); +enum ovsdb_idl_txn_status ovsdb_idl_txn_commit_block(struct ovsdb_idl_txn *); void ovsdb_idl_txn_abort(struct ovsdb_idl_txn *); +const char *ovsdb_idl_txn_get_error(const struct ovsdb_idl_txn *); + int64_t ovsdb_idl_txn_get_increment_new_value(const struct ovsdb_idl_txn *); const struct uuid *ovsdb_idl_txn_get_insert_uuid(const struct ovsdb_idl_txn *, const struct uuid *); @@ -81,4 +84,6 @@ void ovsdb_idl_txn_delete(const struct ovsdb_idl_row *); const struct ovsdb_idl_row *ovsdb_idl_txn_insert( struct ovsdb_idl_txn *, const struct ovsdb_idl_table_class *); +struct ovsdb_idl *ovsdb_idl_txn_get_idl (struct ovsdb_idl_txn *); + #endif /* ovsdb-idl.h */