X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fpquery.h;h=c532f21ee0b76236fbaca8a2588ea0eec55ea849;hp=417986bc335c55514c271b4534d2fdac9bf1ae31;hb=46ed30d0d83dd1b21e58a4db365a60aefaa5aad8;hpb=8e3d81fc1e875957337ff69c6a449c40c00ed8bd diff --git a/include/pquery.h b/include/pquery.h index 417986b..c532f21 100644 --- a/include/pquery.h +++ b/include/pquery.h @@ -24,7 +24,14 @@ * OF THIS SOFTWARE. * * $Log: pquery.h,v $ - * Revision 1.6 1996-08-12 14:09:24 adam + * Revision 1.8 1997-09-01 08:49:50 adam + * New windows NT/95 port using MSV5.0. To export DLL functions the + * YAZ_EXPORT modifier was added. Defined in yconfig.h. + * + * 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 @@ -51,9 +58,18 @@ #include #include -Z_RPNQuery *p_query_rpn (ODR o, oid_proto proto, const char *qbuf); +#ifdef __cplusplus +extern "C" { +#endif + +YAZ_EXPORT Z_RPNQuery *p_query_rpn (ODR o, oid_proto proto, 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); + +#ifdef __cplusplus +} +#endif -Z_AttributesPlusTerm *p_query_scan (ODR o, oid_proto proto, - Odr_oid **attributeSetP, const char *qbuf); -int p_query_attset (const char *arg); #endif