2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-25 15:07:05 +00:00

ovsdb: Require database, table, column names to be valid identifiers.

Database, table, and column names have always been required by the OVSDB
specification to be identifiers (e.g. valid C identifiers), but this has
never been enforced.

This commit adds enforcement and fixes one instance of an invalid column
name in the vswitch schema.
This commit is contained in:
Ben Pfaff
2009-11-19 16:48:12 -08:00
parent b9edf64b05
commit b966380b45
5 changed files with 10 additions and 4 deletions

View File

@@ -71,4 +71,6 @@ struct ovsdb_error *ovsdb_parser_get_error(const struct ovsdb_parser *);
struct ovsdb_error *ovsdb_parser_finish(struct ovsdb_parser *)
WARN_UNUSED_RESULT;
bool ovsdb_parser_is_id(const char *string);
#endif /* ovsdb-parser.h */