projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netdev-linux: Fix strict aliasing warnings.
[openvswitch]
/
ovsdb
/
ovsdb.h
diff --git
a/ovsdb/ovsdb.h
b/ovsdb/ovsdb.h
index a83412dcdf66cc93ebbb2ac422aa647127e1c8ed..642f686f00331629d5551434dd7894f602cbcadc 100644
(file)
--- a/
ovsdb/ovsdb.h
+++ b/
ovsdb/ovsdb.h
@@
-29,10
+29,12
@@
struct uuid;
/* Database schema. */
struct ovsdb_schema {
char *name;
/* Database schema. */
struct ovsdb_schema {
char *name;
+ char *version;
struct shash tables; /* Contains "struct ovsdb_table_schema *"s. */
};
struct shash tables; /* Contains "struct ovsdb_table_schema *"s. */
};
-struct ovsdb_schema *ovsdb_schema_create(const char *name);
+struct ovsdb_schema *ovsdb_schema_create(const char *name,
+ const char *version);
struct ovsdb_schema *ovsdb_schema_clone(const struct ovsdb_schema *);
void ovsdb_schema_destroy(struct ovsdb_schema *);
struct ovsdb_schema *ovsdb_schema_clone(const struct ovsdb_schema *);
void ovsdb_schema_destroy(struct ovsdb_schema *);