aboutsummaryrefslogtreecommitdiff
path: root/src/filter/uniq.h
diff options
context:
space:
mode:
authorSopár Adrián <dev.adrian.sopar@protonmail.com>2022-07-05 23:02:16 +0200
committerSopár Adrián <dev.adrian.sopar@protonmail.com>2022-07-05 23:02:16 +0200
commitc5cd2b2443dc48aaeb61feac4a96071c7bc9790e (patch)
tree38f611224caf6f3e15b7121b06c1b1e9c5e129b3 /src/filter/uniq.h
Init commit.HEADmaster
Diffstat (limited to 'src/filter/uniq.h')
-rw-r--r--src/filter/uniq.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/filter/uniq.h b/src/filter/uniq.h
new file mode 100644
index 0000000..fa235a5
--- /dev/null
+++ b/src/filter/uniq.h
@@ -0,0 +1,12 @@
+#ifndef PLOC_GEN_FILTER_UNIQ_H
+#define PLOC_GEN_FILTER_UNIQ_H
+
+#include "stdbool.h"
+#include "pattern/pattern.h"
+
+void *create_uniq();
+void free_uniq(void *state);
+
+bool uniq(void *state, struct pattern *pattern);
+
+#endif \ No newline at end of file