X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zutil%2Fzoom-p.h;h=68faf1e90a2f55a20c89b2d749d9fa877fb704a3;hb=c39a893dfdae5f792139177132e7e7a70e010aa7;hp=c8210e04f68c11d0fd03522b07b40958484e0725;hpb=85fcb12fe992e4dc0fa91e95fc320943c1c26cc5;p=yaz-moved-to-github.git diff --git a/zutil/zoom-p.h b/zutil/zoom-p.h index c8210e0..68faf1e 100644 --- a/zutil/zoom-p.h +++ b/zutil/zoom-p.h @@ -1,20 +1,25 @@ /* * Private C header for ZOOM C. - * $Id: zoom-p.h,v 1.2 2002-12-09 23:32:29 adam Exp $ + * $Id: zoom-p.h,v 1.7 2003-05-20 08:22:33 adam Exp $ */ + +#if HAVE_XSLT +#include +#endif + #include #include #include #include #include - typedef struct ZOOM_Event_p *ZOOM_Event; struct ZOOM_query_p { - Z_Query *query; + Z_Query *z_query; Z_SortKeySpecList *sort_spec; int refcount; ODR odr; + char *query_string; }; #define STATE_IDLE 0 @@ -26,8 +31,10 @@ struct ZOOM_query_p { #define ZOOM_SELECT_EXCEPT 4 struct ZOOM_connection_p { + enum oid_proto proto; COMSTACK cs; char *host_port; + char *path; int error; char *addinfo; const char *diagset; @@ -75,15 +82,16 @@ struct ZOOM_options_p { typedef struct ZOOM_record_cache_p *ZOOM_record_cache; struct ZOOM_resultset_p { - Z_Query *r_query; Z_SortKeySpecList *r_sort_spec; - ZOOM_query search; + ZOOM_query query; int refcount; int size; int start; int count; + int step; int piggyback; char *setname; + char *schema; ODR odr; ZOOM_record_cache record_cache; ZOOM_options options; @@ -101,6 +109,7 @@ struct ZOOM_record_cache_p { struct ZOOM_record_p rec; char *elementSetName; char *syntax; + char *schema; int pos; ZOOM_record_cache next; };