Added a warning (always to stderr) when opening the log file fails
[yaz-moved-to-github.git] / src / zoom-p.h
index d852feb..54a2e6a 100644 (file)
@@ -1,6 +1,12 @@
 /*
- * Private C header for ZOOM C.
- * $Id: zoom-p.h,v 1.2 2003-12-20 00:51:19 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
  */
 
 #include <yaz/proto.h>
@@ -33,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;
@@ -151,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;
 };