X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fconnection.h;h=1b7b24c96900b44fe535f7a96d7780b2c020d178;hb=7a8e8e37ed254a29f5085855e6d03fe4ff7573e9;hp=ceb7269190496eaf6dc5c56ea64f8790ce530818;hpb=9267d02c3601122f74bdf3a9d21f30080a4a1a9a;p=pazpar2-moved-to-github.git diff --git a/src/connection.h b/src/connection.h index ceb7269..1b7b24c 100644 --- a/src/connection.h +++ b/src/connection.h @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2009 Index Data + Copyright (C) Index Data Pazpar2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -25,23 +25,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define CONNECTION_H #include -#include #include "eventl.h" -struct client; struct connection; struct host; -struct session; -void connection_destroy(struct connection *co); -void connect_resolver_host(struct host *host); -int connection_prep_connection(struct connection *co, struct session *se); -const char *connection_get_url(struct connection *co); -void connection_release(struct connection *co); +void connect_resolver_host(struct host *host, iochan_man_t iochan); ZOOM_connection connection_get_link(struct connection *co); -ZOOM_resultset connection_get_resultset(struct connection *co); -void connection_set_resultset(struct connection *co, ZOOM_resultset rs); void connection_continue(struct connection *co); +void connect_resolver_host(struct host *host, iochan_man_t iochan_man); +void connection_release2(struct connection *co); #endif