mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
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.
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user