Lines Matching defs:config

50 # include <config.h>
103 {"config", required_argument, NULL, 'c'},
105 {"config-option", required_argument, NULL, 'O'},
129 static void setglobalflags (zconf_t *config)
131 recflag = config->recursive;
147 zconf_t *config;
155 config = loadconfig ("", (zconf_t *)NULL); /* load built in config */
156 if ( fileexist (defconfname) ) /* load default config file */
157 config = loadconfig (defconfname, config);
158 if ( config == NULL )
160 setglobalflags (config);
182 usage ("ksk rollover requires an domain argument", config);
212 if ( fileexist (defconfname) ) /* load default config file */
213 config = loadconfig (defconfname, config);
214 if ( config == NULL )
216 setglobalflags (config);
219 config = loadconfig (optarg, config);
220 setglobalflags (config);
221 checkconfig (config);
224 config = loadconfig_fromstr (optarg, config);
225 setglobalflags (config);
226 checkconfig (config);
243 usage (str, config);
252 usage (str, config);
265 file = config->zonedir; /* use default directory */
279 usage ("", config);
281 createkey (keyname, data, config);
320 ksk_roll (kskdomain, action - '0', data, config);
345 sopt_usage ("\tusage: %s -C <name> [-k] [-dpr] [-c config] [dir ...]\n", progname);
346 lopt_usage ("\tusage: %s --create=<name> [-k] [-dpr] [-c config] [dir ...]\n", progname);
352 sopt_usage ("\tusage: %s -P|-A|-D <keyspec> [-dr] [-c config] [dir ...]\n", progname);
353 lopt_usage ("\tusage: %s --published=<keyspec> [-dr] [-c config] [dir ...]\n", progname);
354 lopt_usage ("\tusage: %s --active=<keyspec> [-dr] [-c config] [dir ...]\n", progname);
355 lopt_usage ("\tusage: %s --depreciated=<keyspec> [-dr] [-c config] [dir ...]\n", progname);
358 sopt_usage ("\tusage: %s -R <keyspec> [-dr] [-c config] [dir ...]\n", progname);
359 lopt_usage ("\tusage: %s --revoke=<keyspec> [-dr] [-c config] [dir ...]\n", progname);
362 lopt_usage ("\tusage: %s --remove=<keyspec> [-dr] [-c config] [dir ...]\n", progname);
363 lopt_usage ("\tusage: %s --destroy=<keyspec> [-dr] [-c config] [dir ...]\n", progname);
379 fprintf (stderr, "\t-c file%s", loptstr (", --config=file\n", ""));
380 fprintf (stderr, "\t\t read config from <file> instead of %s\n", CONFIG_FILE);
381 fprintf (stderr, "\t-O optstr%s", loptstr (", --config-option=\"optstr\"\n", ""));
382 fprintf (stderr, "\t\t read config options from commandline\n");
410 if ( fileexist (path) ) /* load local config file */
412 dbg_val ("Load local config file \"%s\"\n", path);
501 /* try to read local config file */
504 if ( fileexist (path) ) /* load local config file */
506 dbg_val ("Load local config file \"%s\"\n", path);