X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Ftable.h;h=4d3b9ee72db8a2f3ce6ff93877d5ebfdea98a808;hb=c09c9fb21a4fa7dc68f932595041c90ecc7f9b2d;hp=67784e93c917e45669dcce86167bb8e5dc52bc27;hpb=58985e09eafe83a7fbe9c85626e44abe9d9eca8c;p=openvswitch diff --git a/ovsdb/table.h b/ovsdb/table.h index 67784e93..4d3b9ee7 100644 --- a/ovsdb/table.h +++ b/ovsdb/table.h @@ -27,14 +27,14 @@ 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 *);