PQF native support for SRW ;)
[yaz-moved-to-github.git] / zutil / zoom-p.h
index 0f7a81e..38412a3 100644 (file)
@@ -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.6 2003-02-20 15:11:58 adam Exp $
  */
 
-#if HAVE_GSOAP
-#include <yaz/srw-util.h>
-#else
-struct soap {
-    int dummy;
-};
+#if HAVE_XSLT
+#include <yaz/srw.h>
 #endif
 
 #include <yaz/proto.h>
@@ -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,15 @@ 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 piggyback;
     char *setname;
+    char *schema;
     ODR odr;
     ZOOM_record_cache record_cache;
     ZOOM_options options;
@@ -110,6 +108,7 @@ struct ZOOM_record_cache_p {
     struct ZOOM_record_p rec;
     char *elementSetName;
     char *syntax;
+    char *schema;
     int pos;
     ZOOM_record_cache next;
 };