+Added a new ZOOM event type ZOOM_EVENT_END which signals no more events
+to be returned for this connection.
+
--- 2.1.16 2006/03/31
Allow multiple languages and charsets to be specified with
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: zoom.h,v 1.33 2005-12-21 16:43:13 mike Exp $
+ * $Id: zoom.h,v 1.34 2006-04-07 11:27:24 adam Exp $
*/
/**
* \file zoom.h
#define ZOOM_EVENT_RECV_APDU 7
#define ZOOM_EVENT_RECV_RECORD 8
#define ZOOM_EVENT_RECV_SEARCH 9
+#define ZOOM_EVENT_END 10
/* ----------------------------------------------------------- */
/* result sets */
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: zoom-c.c,v 1.67 2006-04-01 07:21:12 adam Exp $
+ * $Id: zoom-c.c,v 1.68 2006-04-07 11:27:24 adam Exp $
*/
/**
* \file zoom-c.c
assert (0);
}
xfree (task);
+
+ if (!c->tasks)
+ {
+ ZOOM_Event event = ZOOM_Event_create(ZOOM_EVENT_END);
+ ZOOM_connection_put_event(c, event);
+ }
}
}
ZOOM_options_get(c->options, "implementationName"),
odr_prepend(c->odr_out, "ZOOM-C", ireq->implementationName));
- version = odr_strdup(c->odr_out, "$Revision: 1.67 $");
+ version = odr_strdup(c->odr_out, "$Revision: 1.68 $");
if (strlen(version) > 10) /* check for unexpanded CVS strings */
version[strlen(version)-2] = '\0';
ireq->implementationVersion = odr_prepend(c->odr_out,