aboutsummaryrefslogtreecommitdiff
path: root/src/work.h
blob: 644a24421f0d233523d07842b3c980559559489f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef GRAB_WORK_H
#define GRAB_WORK_H

#include <pcre2.h>

typedef struct {
	char c;
	pcre2_code *re;
#if DEBUG
	bool free_me;
#endif
} op_t;

void process_file(const char *filename, unsigned char **buf);

#endif /* !GRAB_WORK_H */