Lines Matching refs:config_line
767 char *config_line;
956 config_line = config_line_buf; /* from now on, use a pointer */
957 DBG (DBG_DBG, "check_host: config file line: `%s'\n", config_line);
958 if (config_line[0] == '#')
961 if (strchr (config_line, '='))
964 len = strlen (config_line);
969 netmask = strchr (config_line, '/');
975 config_line, netmask);
980 if (*config_line == '[')
982 config_line++;
983 tmp = strchr (config_line, ']');
988 config_line);
995 if (strcmp (config_line, "+") == 0)
1001 /* compare remote_ip (remote IP address) to the config_line */
1002 else if (strcasecmp (config_line, remote_ip) == 0)
1009 else if ((IPv4map == SANE_TRUE) && (strcmp (config_line, remote_ipv4) == 0))
1018 if (strchr (config_line, ':') != NULL) /* is a v6 address */
1022 if (check_v6_in_range (sin6, config_line, netmask))
1026 remote_ip, config_line, netmask);
1050 if (check_v4_in_range (sin, config_line, netmask))
1053 ((IPv4map == SANE_TRUE) ? remote_ipv4 : remote_ip), config_line, netmask);
1074 if (check_v4_in_range (sin, config_line, netmask))
1078 remote_ip, config_line, netmask);
1092 err = getaddrinfo (config_line, NULL, &hints, &res);
1097 config_line, gai_strerror (err));
1150 char *config_line;
1255 config_line = config_line_buf; /* from now on, use a pointer */
1256 DBG (DBG_DBG, "check_host: config file line: `%s'\n", config_line);
1257 if (config_line[0] == '#')
1260 if (strchr (config_line, '='))
1263 len = strlen (config_line);
1268 netmask = strchr (config_line, '/');
1274 config_line, netmask);
1277 if (strcmp (config_line, "+") == 0)
1285 if (inet_pton (AF_INET, config_line, &config_line_address) > 0)
1296 remote_ip, config_line, netmask);
1304 config_line);
1305 he = gethostbyname (config_line);
1310 config_line, hstrerror (h_errno));
2723 char config_line[PATH_MAX];
2734 while (sanei_config_read (config_line, sizeof (config_line), fp))
2736 if (config_line[0] == '#')
2739 optval = strchr (config_line, '=');
2743 len = strlen (config_line);
2751 if (strstr(config_line, "data_portrange") != NULL)
2804 else if(strstr(config_line, "data_connect_timeout") != NULL)