X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zutil%2Fzoom-p.h;h=82f1371738b1fc456654d123c1f6924a91e4e230;hb=660689d0e3d249b5d6c10fa695e621ec5b8e36a9;hp=0f7a81ebe576cece3fefc75aac887a462e464612;hpb=4d531a1a9131d69c3b6c27fbac42837e22cff61c;p=yaz-moved-to-github.git diff --git a/zutil/zoom-p.h b/zutil/zoom-p.h index 0f7a81e..82f1371 100644 --- a/zutil/zoom-p.h +++ b/zutil/zoom-p.h @@ -1,14 +1,10 @@ /* * Private C header for ZOOM C. - * $Id: zoom-p.h,v 1.3 2003-01-06 08:20:29 adam Exp $ + * $Id: zoom-p.h,v 1.8 2003-05-30 10:24:58 adam Exp $ */ -#if HAVE_GSOAP -#include -#else -struct soap { - int dummy; -}; +#if HAVE_XSLT +#include #endif #include @@ -23,6 +19,7 @@ struct ZOOM_query_p { Z_SortKeySpecList *sort_spec; int refcount; ODR odr; + char *query_string; }; #define STATE_IDLE 0 @@ -34,9 +31,10 @@ struct ZOOM_query_p { #define ZOOM_SELECT_EXCEPT 4 struct ZOOM_connection_p { - struct soap *soap; + enum oid_proto proto; COMSTACK cs; char *host_port; + char *path; int error; char *addinfo; const char *diagset; @@ -84,15 +82,16 @@ struct ZOOM_options_p { typedef struct ZOOM_record_cache_p *ZOOM_record_cache; struct ZOOM_resultset_p { - Z_Query *z_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; @@ -103,13 +102,16 @@ struct ZOOM_resultset_p { struct ZOOM_record_p { ODR odr; WRBUF wrbuf_marc; + WRBUF wrbuf_iconv; Z_NamePlusRecord *npr; + char *record_charset; }; struct ZOOM_record_cache_p { struct ZOOM_record_p rec; char *elementSetName; char *syntax; + char *schema; int pos; ZOOM_record_cache next; };