errmask_t
static errmask_t
errmask_t errs = 0;
errmask_t
errmask_t errs = 0;
errmask_t
errmask_t errs = 0;
errmask_t
errmask_t errs = 0;
errmask_t
errmask_t errs = 0;
static errmask_t copy(char *, char *, int);
errmask_t
static errmask_t
static errmask_t check_file(struct file *fp);
errmask_t
errmask_t errs = 0;
errmask_t
errmask_t errs = 0;
static errmask_t bw_header(FILE *); /* write out baseline header */
static errmask_t bw_base(FILE *, struct base *); /* write out one base */
static errmask_t bw_file(FILE *, struct file *, int);
static errmask_t
static errmask_t
errmask_t errs = 0;
static errmask_t
errmask_t errs = 0;
errmask_t read_baseline(char *);
errmask_t write_baseline(char *);
errmask_t read_rules(char *);
errmask_t write_rules(char *);
errmask_t add_include(struct base *, char *);
errmask_t add_ignore(struct base *, char *);
errmask_t add_restr(char *);
errmask_t evaluate(struct base *, side_t, bool_t);
errmask_t analyze(void);
errmask_t find_renames(struct file *);
errmask_t reconcile(struct file *);
errmask_t do_copy(struct file *, side_t);
errmask_t do_remove(struct file *, side_t);
errmask_t do_rename(struct file *, side_t);
errmask_t do_like(struct file *, side_t, bool_t);
errmask_t
{ errmask_t errs = 0;
static errmask_t
errmask_t errs = 0;
static errmask_t
{ errmask_t errs = 0;
static errmask_t eval_file(struct base *, struct file *);
static errmask_t add_file_arg(struct base *, char *);
static errmask_t add_glob(struct base *, char *);
static errmask_t add_run(struct base *, char *);
static errmask_t
errmask_t errs = 0;
static errmask_t
errmask_t errs = 0;
errmask_t errs = ERR_OK;
static errmask_t
errmask_t errs = 0;
cleanup(errmask_t errmask)
static errmask_t findfiles(); /* find rule and baseline files */
static errmask_t
static errmask_t check_access(char *, int *); /* check access to file */
errmask_t
{ errmask_t errs = 0;
static errmask_t
errmask_t errs = 0;
static errmask_t
errmask_t
errmask_t errs = 0;
errmask_t
errmask_t errs = 0;
static errmask_t rw_header(FILE *file)
static errmask_t rw_base(FILE *file, struct base *bp)
static errmask_t add_rule(struct base *bp, int flags, const char *args)
errmask_t
errmask_t
errmask_t
errmask_t errs = 0;
static errmask_t rw_base(FILE *file, struct base *bp);
static errmask_t rw_header(FILE *file);
static errmask_t add_rule(struct base *, int, const char *);
errmask_t
errmask_t errs = 0;