Lines Matching defs:conf
321 am_config_t *conf = NULL;
322 if (am_get_agent_config(instance_id, config_file, &conf) == AM_SUCCESS) {
323 am_net_options_create(conf, wd->options, NULL);
326 am_config_free(&conf);
393 int am_audit_register_instance(am_config_t *conf) {
412 req.instance_id = conf->instance_id;
413 req.conf = conf;
418 if (audit_data->config[i].instance_id == conf->instance_id) {
419 audit_data->config[i].interval = conf->audit_remote_interval <= 0 ?
420 DEFAULT_RUN_INTERVAL : conf->audit_remote_interval;
421 strncpy(audit_data->config[i].config_file, conf->config, sizeof (audit_data->config[i].config_file) - 1);
430 audit_data->config[i].instance_id = conf->instance_id;
431 audit_data->config[i].interval = conf->audit_remote_interval <= 0 ?
432 DEFAULT_RUN_INTERVAL : conf->audit_remote_interval;
434 strncpy(audit_data->config[i].config_file, conf->config, sizeof (audit_data->config[i].config_file) - 1);