Lines Matching defs:conffile

92 /* list of conffile entry names that are considered "done" */
109 " (processes all entries in /etc/logadm.conf or conffile given by -f)\n"\
116 " -f conffile use conffile instead of /etc/logadm.conf\n"\
120 " -r remove logname entry from conffile\n"\
121 " -V ensure conffile entries exist, correct\n"\
128 " -P timestamp used to store rotation date in conffile\n"\
162 const char *conffile; /* our configuration file */
239 * 2. "-r" or "-w" asking us to write to the conffile. Lots
240 * of argument checking, then we make the change to conffile
243 * 3. "-V" to search/verify the conffile was given. We do
244 * the appropriate run through the conffile and exit.
248 * every entry in conffile. We verify that only the options
260 * in conffile supplies no log file names, so the entry
265 * in conffile gives log file names that we then loop
270 * the entry in conffile either doesn't exist or it exists
275 * a matching entry in conffile supplies log file names
281 * override any found in the conffile, and we apply the defaults
306 /* this implements the default conffile and timestamps */
307 if ((conffile = opts_optarg(clopts, "f")) == NULL)
308 conffile = Default_conffile;
312 (void) out("# loading %s\n", conffile);
313 status = conf_open(conffile, timestamps, clopts);
317 /* handle conffile write option */
321 "main: add/replace conffile entry: <%s>\n",
331 * or every entry in the conffile if none were supplied.
336 * being asked to do all entries in conffile
346 "main: run all entries in conffile\n");
374 /* write out any conffile changes */
466 (void) fprintf(stderr, "conffile opts:");
471 /* handle conffile lookup option */
473 /* lookup an entry in conffile */
476 "dologname: lookup conffile entry\n");
486 /* handle conffile removal option */
490 "dologname: remove conffile entry\n");
537 * if the conffile entry supplied log file names, then
539 * the entry name in conffile).
635 * conffile has lots of stuff in it) and that amount
675 * the entire conffile