X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fpquery.h;h=2872a3bdf32da9013ae64ccd801da81543518fec;hp=ddcd5dc4ffb3ea33ad8bebef8bb9439e628d0413;hb=HEAD;hpb=4b178f16795cbdd5693abc705e5bdd4a17016672 diff --git a/include/yaz/pquery.h b/include/yaz/pquery.h index ddcd5dc..2872a3b 100644 --- a/include/yaz/pquery.h +++ b/include/yaz/pquery.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data. + * Copyright (C) Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -48,10 +48,21 @@ YAZ_EXPORT Z_RPNQuery *yaz_pqf_parse(YAZ_PQF_Parser p, ODR o, 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 +Z_FacetList *yaz_pqf_parse_facet_list(ODR odr, const char *args ); + 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); +YAZ_EXPORT +Z_Term *z_Term_create(ODR o, int term_type, const char *buf, size_t len); + /* no error */ #define YAZ_PQF_ERROR_NONE 0