settings.h

Thu, 26 Jan 2012 15:55:52 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 26 Jan 2012 15:55:52 +0100
changeset 27
95a958e3de88
parent 25
802c5382f499
child 30
d642fdb6745e
permissions
-rw-r--r--

added regexp_parser struct and compile function

/*
 * 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* suffixList;
  regex_parser_t* regex;
  bfile_heuristics_t* bfileHeuristics;
  char fileSeparator;
  bool recursive;
  bool includeSuffixes;
  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