]> git.sesse.net Git - plocate/blobdiff - options.h
Move Serializer into its own file.
[plocate] / options.h
diff --git a/options.h b/options.h
new file mode 100644 (file)
index 0000000..683c8d3
--- /dev/null
+++ b/options.h
@@ -0,0 +1,16 @@
+#ifndef _OPTIONS_H
+#define _OPTIONS_H
+
+#include <stdint.h>
+
+extern const char *dbpath;
+extern bool ignore_case;
+extern bool only_count;
+extern bool print_nul;
+extern bool use_debug;
+extern bool patterns_are_regex;
+extern bool use_extended_regex;
+extern int64_t limit_matches;
+extern int64_t limit_left;  // Not strictly an option.
+
+#endif  // !defined(_OPTIONS_H)