-/* $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.
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