X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fzoom-p.h;h=05f5503ded53f8e69e1679a8a172157f7b6ed144;hb=6244022fc260d3f35804ed690b1b2a4a466d0e51;hp=a18d63e45b0d960671500abef337a0a40282446a;hpb=8535dd99e47effa0d28f0a4b5f2357b0290bc7df;p=yaz-moved-to-github.git diff --git a/src/zoom-p.h b/src/zoom-p.h index a18d63e..05f5503 100644 --- a/src/zoom-p.h +++ b/src/zoom-p.h @@ -35,6 +35,9 @@ #include #include #include +#include + +#define SHPTR 1 typedef struct ZOOM_Event_p *ZOOM_Event; @@ -150,11 +153,20 @@ struct ZOOM_resultset_p { ZOOM_connection connection; char **databaseNames; int num_databaseNames; + YAZ_MUTEX mutex; +#if SHPTR + struct WRBUF_shptr *record_wrbuf; +#endif }; struct ZOOM_record_p { ODR odr; +#if SHPTR + struct WRBUF_shptr *record_wrbuf; +#else WRBUF wrbuf; +#endif + Z_NamePlusRecord *npr; const char *schema;