aboutsummaryrefslogtreecommitdiffstats
path: root/include/extract.h
diff options
context:
space:
mode:
authorYunchih Chen <yunchih.cat@gmail.com>2018-12-07 15:45:30 +0800
committerYunchih Chen <yunchih.cat@gmail.com>2019-03-07 15:02:17 +0800
commitb655c8e74ad5d29db18660a677784f181f8e7590 (patch)
treea227b77bdb13610871ec1394794cb55c103b2429 /include/extract.h
parentaf48bcec8be1f4b0cc55ce47bd6eb7c7d977f4d1 (diff)
downloadnfcollect-b655c8e74ad5d29db18660a677784f181f8e7590.tar
nfcollect-b655c8e74ad5d29db18660a677784f181f8e7590.tar.gz
nfcollect-b655c8e74ad5d29db18660a677784f181f8e7590.tar.bz2
nfcollect-b655c8e74ad5d29db18660a677784f181f8e7590.tar.lz
nfcollect-b655c8e74ad5d29db18660a677784f181f8e7590.tar.xz
nfcollect-b655c8e74ad5d29db18660a677784f181f8e7590.tar.zst
nfcollect-b655c8e74ad5d29db18660a677784f181f8e7590.zip
sqlite3 rewrite
This rewrite intends to simplifies previous design by hosting the storage in sqlite database instead of counting on individual log files.
Diffstat (limited to 'include/extract.h')
-rw-r--r--include/extract.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/extract.h b/include/extract.h
index da7c7bf..afc0b64 100644
--- a/include/extract.h
+++ b/include/extract.h
@@ -1,4 +1,7 @@
-#pragma once
+#ifndef _EXTRACT_H
+#define _EXTRACT_H
-#include "common.h"
-int nfl_extract_worker(const char *filename, nfl_state_t *state, const time_range_t *range);
+#include "main.h"
+bool extract(State *s, const void *src);
+
+#endif // _EXTRACT_H