settings.h

Thu, 06 Oct 2011 00:06:30 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 06 Oct 2011 00:06:30 +0200
changeset 17
5f43f733cc12
parent 16
bc9a0fefd892
child 19
8bac9fd0629d
permissions
-rw-r--r--

fixed suffixList realloc bug + added destroy_suffix_list_t

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

#ifndef SETTINGS_H_
#define SETTINGS_H_

#include "stdinc.h"
#include "suffix_list.h"

typedef struct _settings {
  char fileSeparator;
  suffix_list_t* suffixList;
  bool recursive;
  bool includeSuffixes;
  bool matchesOnly;
  bool verbose;
} 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