summaryrefslogtreecommitdiff
path: root/ovsdb/ovsdb.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@noironetworks.com>2014-12-15 14:10:38 +0100
committerThomas Graf <tgraf@noironetworks.com>2014-12-15 14:15:12 +0100
commitca6ba70092b1528e12d3140d70232175a13c335d (patch)
tree49c4bab3a1745a6d618582096e27b9ffaf8d8ffa /ovsdb/ovsdb.h
parent8c7be52d10a1e9a4745249a4a94540df13d847a3 (diff)
downloadopenvswitch-ca6ba70092b1528e12d3140d70232175a13c335d.tar.gz
list: Rename struct list to struct ovs_list
struct list is a common name and can't be used in public headers. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ovsdb/ovsdb.h')
-rw-r--r--ovsdb/ovsdb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ovsdb/ovsdb.h b/ovsdb/ovsdb.h
index 1103e6df8..04586e746 100644
--- a/ovsdb/ovsdb.h
+++ b/ovsdb/ovsdb.h
@@ -56,11 +56,11 @@ bool ovsdb_schema_equal(const struct ovsdb_schema *,
/* Database. */
struct ovsdb {
struct ovsdb_schema *schema;
- struct list replicas; /* Contains "struct ovsdb_replica"s. */
+ struct ovs_list replicas; /* Contains "struct ovsdb_replica"s. */
struct shash tables; /* Contains "struct ovsdb_table *"s. */
/* Triggers. */
- struct list triggers; /* Contains "struct ovsdb_trigger"s. */
+ struct ovs_list triggers; /* Contains "struct ovsdb_trigger"s. */
bool run_triggers;
};
@@ -79,7 +79,7 @@ struct json *ovsdb_execute(struct ovsdb *, const struct ovsdb_session *,
/* Database replication. */
struct ovsdb_replica {
- struct list node; /* Element in "struct ovsdb" replicas list. */
+ struct ovs_list node; /* Element in "struct ovsdb" replicas list. */
const struct ovsdb_replica_class *class;
};