Catalli's threaded switch
[sliver-openvswitch.git] / ovsdb / table.h
index 67784e9..4d3b9ee 100644 (file)
@@ -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 *);