summaryrefslogtreecommitdiff
path: root/ovsdb/ovsdb.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-02-08 15:23:33 -0800
committerBen Pfaff <blp@nicira.com>2011-02-15 12:24:29 -0800
commit6aa09313722406629133b375871547fb426800ef (patch)
treee949d3551517b8248b1783a4f6d87abf278051af /ovsdb/ovsdb.h
parente1ebc8cea2991e19456cb9fce54ac8167f6dbf4c (diff)
downloadopenvswitch-6aa09313722406629133b375871547fb426800ef.tar.gz
ovsdb-tool: Add commands for printing the database checksum.
Diffstat (limited to 'ovsdb/ovsdb.h')
-rw-r--r--ovsdb/ovsdb.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ovsdb/ovsdb.h b/ovsdb/ovsdb.h
index 642f686f0..ae743bbc5 100644
--- a/ovsdb/ovsdb.h
+++ b/ovsdb/ovsdb.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009, 2010 Nicira Networks
+/* Copyright (c) 2009, 2010, 2011 Nicira Networks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,11 +30,13 @@ struct uuid;
struct ovsdb_schema {
char *name;
char *version;
+ char *cksum;
struct shash tables; /* Contains "struct ovsdb_table_schema *"s. */
};
struct ovsdb_schema *ovsdb_schema_create(const char *name,
- const char *version);
+ const char *version,
+ const char *cksum);
struct ovsdb_schema *ovsdb_schema_clone(const struct ovsdb_schema *);
void ovsdb_schema_destroy(struct ovsdb_schema *);