Lines Matching refs:opts
45 #include "opts.h"
50 struct opts *opts, const char *com, int flags);
79 struct opts *cf_opts; /* parsed rhs of entry */
94 struct opts *opts, const char *com, int flags)
101 cp->cf_opts = opts;
194 struct opts *opts = NULL;
287 opts = cp->cf_opts;
290 opts = opts_parse(opts, Args, OPTF_CONF);
301 fillconflist(lineno, entry, opts, comment, 0);
305 if (ret == 1 && opts && opts_optarg(opts, "P") != NULL)
317 conf_open(const char *cfname, const char *tfname, struct opts *cliopts)
450 conf_close(struct opts *opts)
457 if (Changed == CHG_NONE || opts_count(opts, "n") != 0) {
458 if (opts_count(opts, "v"))
484 if (opts_count(opts, "v"))
503 if (opts_count(opts, "v"))
570 * conf_opts -- return the parsed opts for an entry
572 struct opts *
586 conf_replace(const char *lhs, struct opts *newopts)
687 struct opts *opts;
693 opts = opts_parse(NULL, NULL, 0);
698 conf_open(argv[1], argv[1], opts);
703 conf_close(opts);