Lines Matching refs:conf
38 #include "src/conf.h"
264 parse_source (struct opts *opts, struct conf_entry *conf)
276 assert (!strcmp (conf->key, "source"));
277 conf = conf->next;
278 while (conf && strcmp (conf->key, "end"))
280 if (!strcmp (conf->key, "host"))
281 host = conf->value;
282 else if (!strcmp (conf->key, "port"))
283 port = conf->value;
284 else if (!strcmp (conf->key, "proxy"))
285 proxy = conf->value;
287 fatal ("malformed config: '%s' in source stanza", conf->key);
288 conf = conf->next;
290 if (!conf)
295 return conf;
302 struct conf_entry *conf, *e;
311 pfatal ("can't open conf file '%s'", opts->conf_file);
315 pinfo ("can't open conf file '%s'", conf_file);
319 conf = conf_parse (f);
320 if (!conf)
323 for (e = conf; e; e = e->next)