X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fpquery.c;h=9ca515243aefef0952552c7699dd9bf64217f253;hb=3498164f9058a807e5e25de88ecce61b97df2d14;hp=69f4a6c043275852d5cf97410cbaa226cf2ec2fb;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755;p=yaz-moved-to-github.git diff --git a/src/pquery.c b/src/pquery.c index 69f4a6c..9ca5152 100644 --- a/src/pquery.c +++ b/src/pquery.c @@ -756,23 +756,6 @@ static Z_AttributesPlusTerm *p_query_scan_mk(struct yaz_pqf_parser *li, return apt; } -Z_AttributesPlusTerm *p_query_scan (ODR o, oid_proto proto, - Odr_oid **attributeSetP, - const char *qbuf) -{ - struct yaz_pqf_parser li; - - li.error = 0; - li.left_sep = "{\""; - li.right_sep = "}\""; - li.escape_char = '@'; - li.term_type = Z_Term_general; - li.query_buf = li.query_ptr = qbuf; - li.lex_buf = 0; - - return p_query_scan_mk(&li, o, attributeSetP); -} - YAZ_PQF_Parser yaz_pqf_create (void) { YAZ_PQF_Parser p = (YAZ_PQF_Parser) xmalloc (sizeof(*p));