From c5cd2b2443dc48aaeb61feac4a96071c7bc9790e Mon Sep 17 00:00:00 2001 From: Sopár Adrián Date: Tue, 5 Jul 2022 23:02:16 +0200 Subject: Init commit. --- src/io/io.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/io/io.h (limited to 'src/io/io.h') 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 -- cgit v1.2.3