blob: 93d5738f0d929e34b80176b8c81c1b698556cc91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <stdio.h>
#include "config.h"
#include "regexset.h"
int main(int argc, char **argv) {
/* Regex sets must be initialized before config. */
rs_init();
if(!cfg_init()) {
/* Free any registered regex sets when config fails.
Config will fail if a regex set fails to compile all parts. */
rs_free();
return 1;
}
return 0;
}
|