Browse Source

* reorder fields in filters' rx_t struct

master
Alex 'AdUser' Z 4 years ago
parent
commit
6e40a8faed
  1. 12
      src/filters/pcre.c

12
src/filters/pcre.c

@ -13,24 +13,24 @@
struct _regexp {
rx_t *next;
pcre *regex;
pcre_extra *data;
int matches;
uint32_t ftag;
int matches;
short int score;
pcre *regex;
pcre_extra *data;
char pattern[PATTERN_MAX];
};
struct _config {
void (*logcb)(enum loglevel lvl, const char *msg);
rx_t *regexps;
rx_t *rlast; /* pointer to last regex in list */
int flags;
void (*logcb)(enum loglevel lvl, const char *msg);
short int defscore;
int flags;
char id[ID_MAX];
bool icase;
bool study;
bool usejit;
char id[ID_MAX];
};
#include "filter.c"

Loading…
Cancel
Save