summaryrefslogtreecommitdiff
path: root/regexset.h
blob: 3c023f11a036b56350f6dc22359b3a3088be45e5 (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, *join, *kick;
	pcre_extra *text_e, *join_e, *kick_e;
};

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

#endif