X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fconnection.h;h=94ad85e9754018311dfa11a1bb534094758d0bf5;hb=8272eab1f800eaa276166d9b75fd259e1a1b408c;hp=13fdd148ee77d0d51d7170c02eee9f5acc4ccaeb;hpb=a78bfdc62e206d1c892d2ed8c8bd4325c5583906;p=pazpar2-moved-to-github.git diff --git a/src/connection.h b/src/connection.h index 13fdd14..94ad85e 100644 --- a/src/connection.h +++ b/src/connection.h @@ -1,5 +1,5 @@ /* This file is part of Pazpar2. - Copyright (C) 2006-2008 Index Data + Copyright (C) 2006-2010 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 @@ -34,17 +34,10 @@ struct host; struct session; void connection_destroy(struct connection *co); -void connect_resolver_host(struct host *host); -void connection_set_authentication(struct connection *co, char *auth); -int connection_connect(struct connection *con); -struct connection *connection_get_available(struct connection *con_list, - struct session *se); -int connection_prep_connection(struct connection *co, struct session *se); +void connect_resolver_host(struct host *host, iochan_man_t iochan); const char *connection_get_url(struct connection *co); void connection_release(struct connection *co); 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); #endif @@ -52,7 +45,9 @@ void connection_continue(struct connection *co); /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +