Added a warning (always to stderr) when opening the log file fails
[yaz-moved-to-github.git] / src / zoom-p.h
index b9d8223..54a2e6a 100644 (file)
@@ -1,11 +1,13 @@
 /*
- * Private C header for ZOOM C.
- * $Id: zoom-p.h,v 1.1 2003-10-27 12:21:36 adam Exp $
+ * Copyright (c) 2000-2004, Index Data
+ * See the file LICENSE for details.
+ *
+ * $Id: zoom-p.h,v 1.5 2004-10-15 00:19:02 adam Exp $
+ */
+/**
+ * \file zoom-p.h
+ * \brief Internal header for ZOOM implementation
  */
-
-#if HAVE_XSLT
-#include <yaz/srw.h>
-#endif
 
 #include <yaz/proto.h>
 #include <yaz/comstack.h>
@@ -37,7 +39,7 @@ struct ZOOM_connection_p {
     char *path;
     int error;
     char *addinfo;
-    const char *diagset;
+    char *diagset;
     int state;
     int mask;
     int reconnect_ok;
@@ -155,6 +157,11 @@ struct ZOOM_task_p {
         } scan;
 #define ZOOM_TASK_PACKAGE 5
         ZOOM_package package;
+#define ZOOM_TASK_SORT 6
+       struct {
+           ZOOM_resultset resultset;
+           ZOOM_query q;
+       } sort;
     } u;
     ZOOM_task next;
 };