X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fprt-add.h;h=112958b1dd21b3225f9fe8b7e32e6921328b603f;hb=a0bdc8bbd4d346939e7c24fd7e07b6d361d78643;hp=3ecee3f1c6b8cf8713724cc0e2ea363eea03d0d7;hpb=de697b2c40e31fd28235af628940bd08734f764b;p=yaz-moved-to-github.git diff --git a/include/prt-add.h b/include/prt-add.h index 3ecee3f..112958b 100644 --- a/include/prt-add.h +++ b/include/prt-add.h @@ -24,7 +24,17 @@ * OF THIS SOFTWARE. * * $Log: prt-add.h,v $ - * Revision 1.1 1996-10-10 11:51:58 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 * Added SerchResult additional info * * @@ -33,6 +43,10 @@ #ifndef PRT_ADD_H #define PRT_ADD_H +#ifdef __cplusplus +extern "C" { +#endif + typedef struct Z_QueryExpressionTerm { Z_Term *queryTerm; @@ -93,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