Lines Matching defs: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;
279 opts = cp->cf_opts;
282 opts = opts_parse(opts, Args, OPTF_CONF);
293 fillconflist(lineno, entry, opts, comment, 0);
297 if (ret == 1 && opts && opts_optarg(opts, "P") != NULL)
309 conf_open(const char *cfname, const char *tfname, struct opts *cliopts)
442 conf_close(struct opts *opts)
449 if (Changed == CHG_NONE || opts_count(opts, "n") != 0) {
450 if (opts_count(opts, "v"))
476 if (opts_count(opts, "v"))
495 if (opts_count(opts, "v"))
562 * conf_opts -- return the parsed opts for an entry
564 struct opts *
578 conf_replace(const char *lhs, struct opts *newopts)
679 struct opts *opts;
685 opts = opts_parse(NULL, NULL, 0);
690 conf_open(argv[1], argv[1], opts);
695 conf_close(opts);