/*
- * $Id: zoom-c.c,v 1.8 2001-11-15 21:59:40 adam Exp $
+ * $Id: zoom-c.c,v 1.9 2001-11-16 09:52:39 adam Exp $
*
* ZOOM layer for C, connections, result sets, queries.
*/
else
c->host_port = xstrdup(host);
+ Z3950_options_set(c->options, "host", c->host_port);
+
c->async = Z3950_options_get_bool (c->options, "async", 0);
task = Z3950_connection_add_task (c, Z3950_TASK_CONNECT);
return s;
}
-const char *Z3950_connection_host (Z3950_connection c)
-{
- return c->host_port;
-}
-
void Z3950_query_destroy(Z3950_query s)
{
if (!s)