Lines Matching refs:fields
187 const char *auth_socket_path, *proxy_host, *proxy_hostip, *const *fields;
213 pool, &fields);
215 *error_r = fields[0] != NULL ?
216 t_strdup(fields[0]) : "passdb lookup failed";
226 for (i = 0; fields[i] != NULL; i++) {
227 if (strncmp(fields[i], "proxy", 5) == 0 &&
228 (fields[i][5] == '\0' || fields[i][5] == '='))
230 else if (strncmp(fields[i], "host=", 5) == 0)
231 proxy_host = fields[i]+5;
232 else if (strncmp(fields[i], "hostip=", 7) == 0)
233 proxy_hostip = fields[i]+7;
234 else if (strncmp(fields[i], "user=", 5) == 0)
235 *user_r = t_strdup(fields[i]+5);
236 else if (strncmp(fields[i], "destuser=", 9) == 0)
237 *user_r = t_strdup(fields[i]+9);
238 else if (strncmp(fields[i], "port=", 5) == 0) {
239 if (net_str2port(fields[i]+5, &proxy_port) < 0)