aboutsummaryrefslogtreecommitdiff
path: root/src/io/io.h
diff options
context:
space:
mode:
authorSopár Adrián <dev.adrian.sopar@protonmail.com>2022-07-05 23:02:16 +0200
committerSopár Adrián <dev.adrian.sopar@protonmail.com>2022-07-05 23:02:16 +0200
commitc5cd2b2443dc48aaeb61feac4a96071c7bc9790e (patch)
tree38f611224caf6f3e15b7121b06c1b1e9c5e129b3 /src/io/io.h
Init commit.HEADmaster
Diffstat (limited to 'src/io/io.h')
-rw-r--r--src/io/io.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/io/io.h b/src/io/io.h
new file mode 100644
index 0000000..97af398
--- /dev/null
+++ b/src/io/io.h
@@ -0,0 +1,24 @@
+#ifndef PLOC_GEN_IO_H
+#define PLOC_GEN_IO_H
+
+#include "pattern/pattern.h"
+
+/*
+ * Print parameters.
+ */
+struct print_params
+{
+ unsigned int count;
+ /*
+ * aggregated is true, if the print function gets called on the
+ * same file over and over again.
+ */
+ bool aggregated;
+ bool print_count;
+ bool print_code;
+ bool print_author;
+};
+
+void pattern_nums_to_str(char *str, struct pattern *pattern);
+
+#endif \ No newline at end of file