summaryrefslogtreecommitdiff
path: root/ovsdb/table.c
diff options
context:
space:
mode:
Diffstat (limited to 'ovsdb/table.c')
-rw-r--r--ovsdb/table.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ovsdb/table.c b/ovsdb/table.c
index 2184701ec..66071ce2f 100644
--- a/ovsdb/table.c
+++ b/ovsdb/table.c
@@ -301,11 +301,24 @@ ovsdb_table_create(struct ovsdb_table_schema *ts)
hmap_init(&table->indexes[i]);
}
hmap_init(&table->rows);
+ table->log = false;
return table;
}
void
+ovsdb_table_logging_enable(struct ovsdb_table *table, bool enabled)
+{
+ table->log = enabled;
+}
+
+bool
+ovsdb_table_is_logging_enabled(struct ovsdb_table *table)
+{
+ return table->log;
+}
+
+void
ovsdb_table_destroy(struct ovsdb_table *table)
{
if (table) {