Lines Matching defs:hosts
95 /* .IP hosts
96 /* List of hosts to connect to.
101 /* against any database called "postfix_info" located on hosts
118 /* hosts = host1.some.domain\fR \fBhost2.some.domain
199 int len_hosts; /* number of hosts */
200 HOST **db_hosts; /* hosts on which databases reside */
214 ARGV *hosts;
425 /* try not to hammer the dead hosts too often */
480 * Try the remaining hosts. "count" is a safety net, in case the loop
481 * takes more than RETRY_CONN_INTV and the dead hosts are no longer
684 char *hosts;
736 hosts = cfg_get_str(p, "hosts", "", 0, 0);
738 dict_pgsql->hosts = argv_split(hosts, " ,\t\r\n");
739 if (dict_pgsql->hosts->argc == 0) {
740 argv_add(dict_pgsql->hosts, "localhost", ARGV_END);
741 argv_terminate(dict_pgsql->hosts);
744 myname, pgsqlcf, dict_pgsql->hosts->argv[0]);
746 myfree(hosts);
779 dict_pgsql->pldb = plpgsql_init(dict_pgsql->hosts);
788 static PLPGSQL *plpgsql_init(ARGV *hosts)
794 PLDB->len_hosts = hosts->argc;
795 PLDB->db_hosts = (HOST **) mymalloc(sizeof(HOST *) * hosts->argc);
796 for (i = 0; i < hosts->argc; i++)
797 PLDB->db_hosts[i] = host_init(hosts->argv[i]);
851 if (dict_pgsql->hosts)
852 argv_free(dict_pgsql->hosts);