diff options
Diffstat (limited to 'src/io/io.h')
-rw-r--r-- | src/io/io.h | 24 |
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 |