X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fovsdb-idl-provider.h;h=87f62d64ce41214771c0a32174a8b2ede08c9807;hb=4e6ca956f56b7a7f7284a4cd8788873ba57b229c;hp=45ea869af06bc20676fb4e7470b434866f142593;hpb=979821c0a6b0c8a9f941a2e13c49feffe2391ab8;p=openvswitch diff --git a/lib/ovsdb-idl-provider.h b/lib/ovsdb-idl-provider.h index 45ea869a..87f62d64 100644 --- a/lib/ovsdb-idl-provider.h +++ b/lib/ovsdb-idl-provider.h @@ -54,12 +54,15 @@ struct ovsdb_idl_table_class { struct ovsdb_idl_table { const struct ovsdb_idl_table_class *class; + unsigned char *modes; /* OVSDB_IDL_* bitmasks, indexed by column. */ + bool need_table; /* Monitor table even if no columns? */ struct shash columns; /* Contains "const struct ovsdb_idl_column *"s. */ struct hmap rows; /* Contains "struct ovsdb_idl_row"s. */ struct ovsdb_idl *idl; /* Containing idl. */ }; struct ovsdb_idl_class { + const char *database; /* for this database. */ const struct ovsdb_idl_table_class *tables; size_t n_tables; }; @@ -71,10 +74,6 @@ struct ovsdb_idl_row *ovsdb_idl_get_row_arc( void ovsdb_idl_txn_verify(const struct ovsdb_idl_row *, const struct ovsdb_idl_column *); -void ovsdb_idl_txn_delete(struct ovsdb_idl_row *); -struct ovsdb_idl_row *ovsdb_idl_txn_insert( - struct ovsdb_idl_txn *, - const struct ovsdb_idl_table_class *); struct ovsdb_idl_txn *ovsdb_idl_txn_get(const struct ovsdb_idl_row *);