// Creates a new connection for client, associated with the host of
// client's database
-struct connection *connection_create(struct client *cl)
+static struct connection *connection_create(struct client *cl)
{
struct connection *new;
struct host *host = client_get_host(cl);
}
}
-struct host *connection_get_host(struct connection *con)
+static struct host *connection_get_host(struct connection *con)
{
return con->host;
}
struct session;
void connection_destroy(struct connection *co);
-struct connection *connection_create(struct client *cl);
void connect_resolver_host(struct host *host);
-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,