Searched refs:schema_parser (Results 1 – 2 of 2) sorted by relevance
134 struct ucl_parser *schema_parser = ucl_parser_new(0); in main() local138 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()
948 struct ucl_parser *parser, *schema_parser; in lua_ucl_parser_validate() local967 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()