X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fconnection.h;h=748c61032a8ff463efdc93c9eae50cd0e6997177;hb=ed886db22397360898fa5ef764543237e99b1774;hp=4b8a5618d15420c0b841bc27f3f9da29fd9630c8;hpb=dbcf2c3410ed74d919efdc62ffbd00e716284d8e;p=pazpar2-moved-to-github.git diff --git a/src/connection.h b/src/connection.h index 4b8a561..748c610 100644 --- a/src/connection.h +++ b/src/connection.h @@ -1,4 +1,4 @@ -/* $Id: connection.h,v 1.1 2007-04-23 21:05:23 adam Exp $ +/* $Id: connection.h,v 1.3 2007-06-02 04:32:28 quinn Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -39,11 +39,13 @@ struct connection *connection_create(struct client *cl); void connect_resolver_host(struct host *host); int connection_send_apdu(struct connection *co, Z_APDU *a); struct host *connection_get_host(struct connection *con); +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); const char *connection_get_url(struct connection *co); +void connection_release(struct connection *co); #endif