X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fpquery.h;fp=include%2Fyaz%2Fpquery.h;h=066b560be489e05413ae998403b7d4af49bae893;hp=bc480c7e91f9106df1c83a18fd43b78a8edc1293;hb=7a4064cd15f6c6b34c1180e1bc51f0d0e90da320;hpb=3bfe867a001cb4e4f88d47541f77a21027719bd5 diff --git a/include/yaz/pquery.h b/include/yaz/pquery.h index bc480c7..066b560 100644 --- a/include/yaz/pquery.h +++ b/include/yaz/pquery.h @@ -24,7 +24,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: pquery.h,v 1.10 2007-01-03 08:42:14 adam Exp $ */ +/* $Id: pquery.h,v 1.11 2007-04-12 13:52:57 adam Exp $ */ /** * \file pquery.h @@ -41,21 +41,19 @@ YAZ_BEGIN_CDECL typedef struct yaz_pqf_parser *YAZ_PQF_Parser; -YAZ_EXPORT Z_RPNQuery *p_query_rpn (ODR o, oid_proto proto, const char *qbuf); +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 int p_query_attset (const char *arg); +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 void yaz_pqf_destroy(YAZ_PQF_Parser p); -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 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 int yaz_pqf_error(YAZ_PQF_Parser p, const char **msg, size_t *off); /* no error */