Lines Matching defs:host_list
64 static int process_host_list(char **host_list, int servicetype)
72 for (j = 0; host_list[j]; j++) {
74 if ((pchr = strchr(host_list[j], HOST_INFO_DELIMITER))) {
75 unsigned int hostname_len = pchr - host_list[j];
84 strncpy (host_str, host_list[j], hostname_len);
104 strncpy (host_str, host_list[j], MAX_LEN_LIST_ENTRY - 1);
144 free (host_list[j]);
145 host_list[j] = (char*) malloc(sizeof(char) *
147 if (host_list[j] == NULL) {
151 snprintf (host_list[j], strlen(host_str) + strlen(proto_str) + strlen(port_str) + 2 + 1,