aboutsummaryrefslogtreecommitdiff
path: root/src/io/io.h
blob: 97af3980989eda5a1727d44b3f5683494c0bc37d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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