zeek/tools/binpac/lib/binpac_regex.cc
Robin Sommer 434f147932 binpac: Adding a new binpac::init() function that must be called by the host
before anything else.

Internally, this function compiles all regular expressions, avoiding
to that inside the regexp constructore. The code is a bit hackish due
to the way the regexp code depends on the Bro header.
2025-08-20 08:52:23 -07:00

10 lines
116 B
C++

#include <vector>
class RE_Matcher;
namespace binpac {
std::vector<RE_Matcher*>* uncompiled_re_matchers = 0;
}