|
pazpar2
1.11.3
|
#include <yaz/mutex.h>Go to the source code of this file.
Data Structures | |
| struct | host |
| Represents a host (irrespective of databases) More... | |
Typedefs | |
| typedef struct database_hosts * | database_hosts_t |
Functions | |
| database_hosts_t | database_hosts_create (void) |
| 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) |
| int | host_getaddrinfo (struct host *host, iochan_man_t iochan_man) |
| typedef struct database_hosts* database_hosts_t |
| database_hosts_t database_hosts_create | ( | void | ) |
Definition at line 132 of file host.c.
References database_hosts::hosts, database_hosts::mutex, and pazpar2_mutex_create().
Referenced by config_create().
| void database_hosts_destroy | ( | database_hosts_t * | ) |
Definition at line 141 of file host.c.
References host::cond_ready, host::ipport, host::mutex, and host::next.
Referenced by config_destroy().
| struct host* find_host | ( | database_hosts_t | hosts, |
| const char * | hostport, | ||
| const char * | proxy, | ||
| int | port, | ||
| iochan_man_t | iochan_man | ||
| ) |
Definition at line 79 of file host.c.
References create_host(), host::error, database_hosts::hosts, database_hosts::mutex, host::next, host::proxy, and host::tproxy.
Referenced by client_prep_connection().
| int host_getaddrinfo | ( | struct host * | host, |
| iochan_man_t | iochan_man | ||
| ) |
Definition at line 193 of file getaddrinfo.c.
References host::error, work::error, getaddrinfo_start(), work::host, work::hostport, work::iochan_man, host::ipport, work::ipport, perform_getaddrinfo(), host::proxy, sel_thread_add(), and host::tproxy.
Referenced by create_host().
1.8.9.1