X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fovsdb-parser.h;h=6efa0a73c8bb5f5bd937502b280e8b0254b0206e;hb=7a44236e274511579719aecdb0b3cd4b090be03f;hp=f9a2ef7ed9a42972a71ef7d3c9a26dad35bc7e35;hpb=f85f8ebbfac946c19b3c6eb0f4170f579d0a4d25;p=openvswitch diff --git a/lib/ovsdb-parser.h b/lib/ovsdb-parser.h index f9a2ef7e..6efa0a73 100644 --- a/lib/ovsdb-parser.h +++ b/lib/ovsdb-parser.h @@ -61,7 +61,7 @@ void ovsdb_parser_init(struct ovsdb_parser *, const struct json *, const char *name, ...) PRINTF_FORMAT(3, 4); const struct json *ovsdb_parser_member(struct ovsdb_parser *, const char *name, - enum ovsdb_parser_types); + enum ovsdb_parser_types); void ovsdb_parser_raise_error(struct ovsdb_parser *parser, const char *format, ...) @@ -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 */