/* This file is part of Pazpar2.
- Copyright (C) 2006-2011 Index Data
+ Copyright (C) 2006-2013 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
/** \brief Represents a host (irrespective of databases) */
struct host {
- char *url; // logical host/database?args ..
char *tproxy; // tproxy address (no Z39.50 UI)
char *proxy; // logical proxy address
char *ipport; // tproxy or proxy resolved
void database_hosts_destroy(database_hosts_t *);
struct host *find_host(database_hosts_t hosts, const char *hostport,
- const char *proxy, int port, iochan_man_t iochan_man);
+ const char *proxy, iochan_man_t iochan_man);
int host_getaddrinfo(struct host *host, iochan_man_t iochan_man);