settings.h

Mon, 13 Feb 2012 19:10:00 +0100

author
Mike Becker <universe@uap-core.de>
date
Mon, 13 Feb 2012 19:10:00 +0100
changeset 31
27c3c1c6b768
parent 30
d642fdb6745e
permissions
-rw-r--r--

added --exclude-cstyle-comments shortcut

/*
 * settings.h
 *
 *  Created on: 15.09.2011
 *      Author: Mike
 */

#ifndef SETTINGS_H_
#define SETTINGS_H_

#include "stdinc.h"
#include "string_list.h"
#include "bfile_heuristics.h"
#include "regex_parser.h"

typedef struct _settings {
  string_list_t* includeSuffixes;
  string_list_t* excludeSuffixes;
  regex_parser_t* regex;
  bfile_heuristics_t* bfileHeuristics;
  char fileSeparator;
  bool recursive;
  bool matchesOnly;
  bool verbose;
  bool confusing_lnlen; /* this flag is set by the scanner */
} settings_t;

#ifdef _cplusplus
extern "C" {
#endif

settings_t* new_settings_t();
void destroy_settings_t(settings_t*);

#ifdef _cplusplus
}
#endif

#endif /* SETTINGS_H_ */

mercurial