summaryrefslogtreecommitdiff
path: root/regexset.h
blob: 14d158f02acb4b94707ebbf2aa91ad383a24651d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _REGEXSET_H_
#define _REGEXSET_H_

#include <pcre.h>

struct regexset_t {
	pcre *text;
	pcre *join;
};

void rs_init();
struct regexset_t *rs_add(const char *text, const char *join);
struct regexset_t *rs_get(int index);
void rs_free();

#endif