X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-add.h;h=112958b1dd21b3225f9fe8b7e32e6921328b603f;hb=61662168d4d4c1f7edb38cccac4b4a24dcecc58e;hp=857b19464b90d79c853ab7c5d019698c872488bb;hpb=85a2e7affad79fd8bd59b403ba7b5f7867d60523;p=yaz-moved-to-github.git diff --git a/include/prt-add.h b/include/prt-add.h index 857b194..112958b 100644 --- a/include/prt-add.h +++ b/include/prt-add.h @@ -24,7 +24,14 @@ * OF THIS SOFTWARE. * * $Log: prt-add.h,v $ - * Revision 1.2 1997-04-30 08:52:09 quinn + * Revision 1.4 1999-04-20 09:56:48 adam + * Added 'name' paramter to encoder/decoder routines (typedef Odr_fun). + * Modified all encoders/decoders to reflect this change. + * + * Revision 1.3 1997/05/14 06:53:46 adam + * C++ support. + * + * Revision 1.2 1997/04/30 08:52:09 quinn * Null * * Revision 1.1 1996/10/10 11:51:58 quinn @@ -36,6 +43,10 @@ #ifndef PRT_ADD_H #define PRT_ADD_H +#ifdef __cplusplus +extern "C" { +#endif + typedef struct Z_QueryExpressionTerm { Z_Term *queryTerm; @@ -96,6 +107,11 @@ typedef struct Z_SearchInfoReport Z_SearchInfoReport_elem **elements; } Z_SearchInfoReport; -int z_SearchInfoReport (ODR o, Z_SearchInfoReport **p, int opt); +int z_SearchInfoReport (ODR o, Z_SearchInfoReport **p, int opt, + const char *name); + +#ifdef __cplusplus +} +#endif #endif