mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Initial paraglob integration.
This commit is contained in:
parent
f2b7764769
commit
e1520a0d67
17 changed files with 302 additions and 3 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "RandTest.h"
|
||||
#include "Val.h"
|
||||
#include "digest.h"
|
||||
#include "src/paraglob.h"
|
||||
|
||||
namespace probabilistic {
|
||||
class BloomFilter;
|
||||
|
@ -188,4 +189,14 @@ private:
|
|||
DECLARE_SERIAL(CardinalityVal);
|
||||
};
|
||||
|
||||
class ParaglobVal : public OpaqueVal {
|
||||
public:
|
||||
explicit ParaglobVal(paraglob::Paraglob* p);
|
||||
VectorVal* get(StringVal* &pattern);
|
||||
bool operator==(const ParaglobVal *other);
|
||||
|
||||
private:
|
||||
paraglob::Paraglob* internal_paraglob;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue