SRW record retrieval works for ZOOM
[yaz-moved-to-github.git] / zutil / zoom-p.h
index 0f7a81e..2b776d9 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.5 2003-02-17 14:35:42 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>
@@ -34,9 +30,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;
@@ -93,6 +90,7 @@ struct ZOOM_resultset_p {
     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;
 };