Lines Matching refs:conf
248 int conf_init(conf_t *conf) in conf_init() argument
252 *conf->http_proxy = 0; in conf_init()
254 conf->proxy_user[i] = 0; /* Clean up password from memory */ in conf_init()
255 *conf->timeserver = 0; in conf_init()
262 conf_t conf[1]; in main() local
268 conf_init(conf); in main()
274 snprintf(conf->timeserver, MAX_STRING, "%s", &argv[OptionIndex][9]); in main()
283 snprintf(conf->proxy_user, MAX_STRING, "%s", &argv[OptionIndex][13]); in main()
286 snprintf(conf->http_proxy, MAX_STRING, "%s", &argv[OptionIndex][8]); in main()
297 if(*conf->timeserver == 0) /* Use default server for time information */ in main()
298 snprintf(conf->timeserver, MAX_STRING, "%s", DefaultTimeServer[0]); in main()
314 SyncTime_CURL_Init(curl, conf->http_proxy, conf->proxy_user); in main()
339 fprintf(stderr, "Fetch: %s\n\n", conf->timeserver); in main()
343 SyncTime_CURL_Fetch(curl, conf->timeserver, "index.htm", in main()
373 conf_init(conf); in main()