X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Ftable.h;h=4d3b9ee72db8a2f3ce6ff93877d5ebfdea98a808;hb=c09c9fb21a4fa7dc68f932595041c90ecc7f9b2d;hp=ff99cf17c34ba012a6a075d51758b6dee33949bd;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=openvswitch diff --git a/ovsdb/table.h b/ovsdb/table.h index ff99cf17..4d3b9ee7 100644 --- a/ovsdb/table.h +++ b/ovsdb/table.h @@ -29,10 +29,12 @@ struct ovsdb_table_schema { char *name; 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, - 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 *);