X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fpquery.h;h=b8ff386d2cb6447aad78b020a10a275a3e57a910;hb=a00dfa73d5d3796f8048f2134fec2685b62e2658;hp=ab1a3b37206a193ec85d2c23164013c1f7e663fc;hpb=3050c29a2d88f6af325f1fb9ae6d0927babf9193;p=yaz-moved-to-github.git diff --git a/include/pquery.h b/include/pquery.h index ab1a3b3..b8ff386 100644 --- a/include/pquery.h +++ b/include/pquery.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, Index Data. + * Copyright (c) 1995-1996, Index Data. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation, in whole or in part, for any purpose, is hereby granted, @@ -24,7 +24,23 @@ * OF THIS SOFTWARE. * * $Log: pquery.h,v $ - * Revision 1.2 1995-05-26 08:56:05 adam + * Revision 1.7 1997-05-14 06:53:43 adam + * C++ support. + * + * Revision 1.6 1996/08/12 14:09:24 adam + * Default prefix query attribute set defined by using p_query_attset. + * + * Revision 1.5 1996/03/15 11:01:46 adam + * Extra argument to p_query_rpn: protocol. + * Extra arguments to p_query_scan: protocol and attributeSet. + * + * Revision 1.4 1995/09/29 17:12:05 quinn + * Smallish + * + * Revision 1.3 1995/09/27 15:02:49 quinn + * Modified function heads & prototypes. + * + * Revision 1.2 1995/05/26 08:56:05 adam * New function: p_query_scan. * * Revision 1.1 1995/05/22 15:31:05 adam @@ -35,8 +51,21 @@ #ifndef PQUERY_H #define PQUERY_H +#include #include -Z_RPNQuery *p_query_rpn (ODR o, const char *qbuf); -Z_AttributesPlusTerm *p_query_scan (ODR o, const char *qbuf); +#ifdef __cplusplus +extern "C" { +#endif + +Z_RPNQuery *p_query_rpn (ODR o, oid_proto proto, const char *qbuf); + +Z_AttributesPlusTerm *p_query_scan (ODR o, oid_proto proto, + Odr_oid **attributeSetP, const char *qbuf); +int p_query_attset (const char *arg); + +#ifdef __cplusplus +} +#endif + #endif