X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fpquery.h;h=79c49fdea9e3910389967d232e44e1ef92f0f7c6;hp=d6324f3758e76a5167aaef1ce20b8e7493894629;hb=234a815c6258460f1746fe7ff92659f6639e72f9;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755 diff --git a/include/yaz/pquery.h b/include/yaz/pquery.h index d6324f3..79c49fd 100644 --- a/include/yaz/pquery.h +++ b/include/yaz/pquery.h @@ -42,14 +42,18 @@ typedef struct yaz_pqf_parser *YAZ_PQF_Parser; YAZ_EXPORT Z_RPNQuery *p_query_rpn(ODR o, const char *qbuf); -YAZ_EXPORT Z_AttributesPlusTerm *p_query_scan(ODR o, oid_proto proto, - Odr_oid **attributeSetP, const char *qbuf); YAZ_EXPORT YAZ_PQF_Parser yaz_pqf_create(void); YAZ_EXPORT Z_RPNQuery *yaz_pqf_parse(YAZ_PQF_Parser p, ODR o, const char *qbuf); YAZ_EXPORT Z_AttributesPlusTerm *yaz_pqf_scan(YAZ_PQF_Parser p, ODR o, Odr_oid **attributeSetId, const char *qbuf); + +YAZ_EXPORT Z_AttributeList *yaz_pqf_scan_attribute_list(YAZ_PQF_Parser p, ODR o, + Odr_oid **attributeSetId, + const char *qbuf); + + YAZ_EXPORT void yaz_pqf_destroy(YAZ_PQF_Parser p); YAZ_EXPORT int yaz_pqf_error(YAZ_PQF_Parser p, const char **msg, size_t *off);