ZOOM C: handle HTTP redirect for SRU GET
[yaz-moved-to-github.git] / src / zoom-p.h
index bde6b55..f227f13 100644 (file)
@@ -103,6 +103,7 @@ struct ZOOM_connection_p {
     ZOOM_Event m_queue_front;
     ZOOM_Event m_queue_back;
     zoom_sru_mode sru_mode;
+    int no_redirects; /* 0 for no redirects. >0 for number of redirects */
 };
 
 struct ZOOM_options_entry {
@@ -150,6 +151,11 @@ struct ZOOM_record_p {
     Z_NamePlusRecord *npr;
     const char *schema;
 
+#if YAZ_HAVE_XML2
+    xmlChar *xml_mem;
+    int xml_size;
+#endif
+
     const char *diag_uri;
     const char *diag_message;
     const char *diag_details;