aboutsummaryrefslogtreecommitdiff
path: root/lib/ovsdb-data.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-02-28 12:43:15 -0800
committerBen Pfaff <blp@nicira.com>2011-03-10 11:24:00 -0800
commite9387de4a2601ed2768baaa9bc92a3ef27f1145a (patch)
tree93b454fb139b59c0c5959d8dca313b33139ac67c /lib/ovsdb-data.h
parent71abd20a1789fb10a7a346ca1a029a76e3f10041 (diff)
ovsdb-data: Rename 'used' to 'created' in struct ovsdb_symbol.
The name 'created' better reflects the actual meaning of this member: in both ovsdb and ovs-vsctl, it is true if a row has been created with the symbol's UUID and false otherwise.
Diffstat (limited to 'lib/ovsdb-data.h')
-rw-r--r--lib/ovsdb-data.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ovsdb-data.h b/lib/ovsdb-data.h
index ced30339..fe279bcf 100644
--- a/lib/ovsdb-data.h
+++ b/lib/ovsdb-data.h
@@ -231,7 +231,7 @@ ovsdb_datum_conforms_to_type(const struct ovsdb_datum *datum,
struct ovsdb_symbol {
struct uuid uuid; /* The UUID that the symbol represents. */
- bool used; /* Already used as row UUID? */
+ bool created; /* Already used to create row? */
};
struct ovsdb_symbol_table *ovsdb_symbol_table_create(void);
@@ -243,7 +243,8 @@ struct ovsdb_symbol *ovsdb_symbol_table_put(struct ovsdb_symbol_table *,
const struct uuid *, bool used);
struct ovsdb_symbol *ovsdb_symbol_table_insert(struct ovsdb_symbol_table *,
const char *name);
-const char *ovsdb_symbol_table_find_unused(const struct ovsdb_symbol_table *);
+const char *ovsdb_symbol_table_find_uncreated(
+ const struct ovsdb_symbol_table *);
/* Tokenization
*