settings.h

changeset 10
ecf787666f44
child 16
bc9a0fefd892
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/settings.h	Thu Sep 15 13:29:06 2011 +0200
@@ -0,0 +1,33 @@
+/*
+ * 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;
+} 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