X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Ftable.h;h=4d3b9ee72db8a2f3ce6ff93877d5ebfdea98a808;hb=1f0af7586e9ffbdbafe00344aca56cd2663b1f62;hp=6e8a78596afc2e86074da12c9fed36fd2afc6cde;hpb=71c93bd4cc4d63be99cdc27ffee80c34f05bff75;p=openvswitch diff --git a/ovsdb/table.h b/ovsdb/table.h index 6e8a7859..4d3b9ee7 100644 --- a/ovsdb/table.h +++ b/ovsdb/table.h @@ -27,14 +27,16 @@ struct uuid; /* Schema for a database table. */ struct ovsdb_table_schema { char *name; - char *comment; bool mutable; struct shash columns; /* Contains "struct ovsdb_column *"s. */ + unsigned int max_rows; /* Maximum number of rows. */ }; struct ovsdb_table_schema *ovsdb_table_schema_create(const char *name, - const char *comment, - bool mutable); + bool mutable, + unsigned int max_rows); +struct ovsdb_table_schema *ovsdb_table_schema_clone( + const struct ovsdb_table_schema *); void ovsdb_table_schema_destroy(struct ovsdb_table_schema *); struct ovsdb_error *ovsdb_table_schema_from_json(const struct json *,