Home | History | Annotate | Download | only in examples

Lines Matching refs:conf

238 int conf_init(conf_t *conf)
242 *conf->http_proxy = 0;
244 conf->proxy_user[i] = 0; /* Clean up password from memory */
245 *conf->timeserver = 0;
252 conf_t conf[1];
269 conf_init(conf);
274 snprintf(conf->timeserver, MAX_STRING, "%s", &argv[OptionIndex][9]);
283 snprintf(conf->proxy_user, MAX_STRING, "%s", &argv[OptionIndex][13]);
286 snprintf(conf->http_proxy, MAX_STRING, "%s", &argv[OptionIndex][8]);
297 if (*conf->timeserver == 0) /* Use default server for time information */
298 snprintf(conf->timeserver, MAX_STRING, "%s", DefaultTimeServer[0]);
304 SyncTime_CURL_Init(curl, conf->http_proxy, conf->proxy_user);
329 fprintf(stderr, "Fetch: %s\n\n", conf->timeserver);
333 SyncTime_CURL_Fetch(curl, conf->timeserver, "index.htm",
363 conf_init(conf);