Yikes! Yesterday's "defensive programming" introduced a bug (D'oh!)
[yaz-moved-to-github.git] / src / zoom-p.h
index a1ef953..d445957 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: zoom-p.h,v 1.7 2005-06-25 15:46:07 adam Exp $
+ * $Id: zoom-p.h,v 1.9 2005-10-17 12:25:39 mike Exp $
  */
 /**
  * \file zoom-p.h
@@ -24,6 +24,8 @@ struct ZOOM_query_p {
     char *query_string;
 };
 
+typedef struct ZOOM_task_p *ZOOM_task;
+
 #define STATE_IDLE 0
 #define STATE_CONNECTING 1
 #define STATE_ESTABLISHED 2
@@ -68,6 +70,7 @@ struct ZOOM_connection_p {
 struct ZOOM_options_entry {
     char *name;
     char *value;
+    int len;                  /* of `value', which may contain NULs */
     struct ZOOM_options_entry *next;
 };