Home
last modified time | relevance | path

Searched refs:schema_parser (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/libucl/utils/
H A Ducl-tool.c134 struct ucl_parser *schema_parser = ucl_parser_new(0); in main() local
138 if (!ucl_parser_add_file(schema_parser, schema)) { in main()
140 ucl_parser_get_error(schema_parser)); in main()
143 if ((schema_obj = ucl_parser_get_object(schema_parser)) == NULL) { in main()
145 ucl_parser_get_error(schema_parser)); in main()
/freebsd/contrib/libucl/lua/
H A Dlua_ucl.c948 struct ucl_parser *parser, *schema_parser; in lua_ucl_parser_validate() local
967 schema_parser = ucl_parser_new (0); in lua_ucl_parser_validate()
970 if (!ucl_parser_add_file (schema_parser, schema_file)) { in lua_ucl_parser_validate()
974 ucl_parser_free (schema_parser); in lua_ucl_parser_validate()
979 schema = ucl_parser_get_object (schema_parser); in lua_ucl_parser_validate()
980 ucl_parser_free (schema_parser); in lua_ucl_parser_validate()