aboutsummaryrefslogtreecommitdiff
path: root/lib/ovsdb-idl-provider.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-05-22 01:53:07 -0700
committerEthan Jackson <ethan@nicira.com>2012-06-14 16:41:44 -0700
commita699f6143e09b1d63ea284b7d8180c74f27dea60 (patch)
tree27e2567365c14d7423f299ba7cf4e4da4ff7a40f /lib/ovsdb-idl-provider.h
parent79f1cbe9f86ddfb1b5d92b80d85e09cd44768d6c (diff)
lib: Utilize smaps in the idl.
String to string maps are used all over the Open vSwitch database. Before this patch, they were implemented in the idl as parallel string arrays. This strategy has proven a bit cumbersome. With this patch, string to string maps are implemented using the smap library. Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/ovsdb-idl-provider.h')
-rw-r--r--lib/ovsdb-idl-provider.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ovsdb-idl-provider.h b/lib/ovsdb-idl-provider.h
index 95254b75..546acbb8 100644
--- a/lib/ovsdb-idl-provider.h
+++ b/lib/ovsdb-idl-provider.h
@@ -51,6 +51,7 @@ struct ovsdb_idl_table_class {
const struct ovsdb_idl_column *columns;
size_t n_columns;
size_t allocation_size;
+ void (*row_init)(struct ovsdb_idl_row *);
};
struct ovsdb_idl_table {