Lines Matching defs:config
13 # include <config.h>
185 void *domain; /* domain with config */
186 ni_id config_dir; /* ID config dir */
492 /* The config dumper */
533 ? "ntpq remote config from"
3565 msyslog(LOG_INFO, "config: driftfile disabled");
3591 msyslog(LOG_INFO, "config: leap smear interval %i s", leap_smear_intv);
4363 /* Define two different config functions. One for the daemon and the other for
4441 * config_remotely() - implements ntpd side of ntpq :config
4450 snprintf(origin, sizeof(origin), "remote config from %s",
4629 * the config tree around after application, so free it.
4772 struct netinfo_config_state *config;
4790 config = emalloc(sizeof(*config));
4791 config->domain = domain;
4792 config->config_dir = config_dir;
4793 config->prop_index = 0;
4794 config->val_index = 0;
4795 config->val_list = NULL;
4797 return config;
4806 struct netinfo_config_state *config
4809 ni_free(config->domain);
4810 free(config);
4819 struct netinfo_config_state *config,
4824 int prop_index = config->prop_index;
4825 int val_index = config->val_index;
4826 char **val_list = config->val_list;
4841 * a separate line. We squirrel away the values in the config state
4845 if (NI_OK == ni_lookupprop(config->domain,
4846 &config->config_dir, current_prop.text,
4852 config->val_list =
4856 val_list = config->val_list;
4872 config->prop_index = prop_index;
4917 config->val_index++; /* HMS: Should this be in the 'else'? */
4923 prop_index = ++config->prop_index;
4929 val_list = config->val_list = NULL;
4930 val_index = config->val_index = 0;