diff options
author | Yunchih Chen <yunchih.cat@gmail.com> | 2018-12-07 15:45:30 +0800 |
---|---|---|
committer | Yunchih Chen <yunchih.cat@gmail.com> | 2019-03-07 15:02:17 +0800 |
commit | b655c8e74ad5d29db18660a677784f181f8e7590 (patch) | |
tree | a227b77bdb13610871ec1394794cb55c103b2429 /include/commit.h | |
parent | af48bcec8be1f4b0cc55ce47bd6eb7c7d977f4d1 (diff) | |
download | nfcollect-b655c8e74ad5d29db18660a677784f181f8e7590.tar.gz 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/commit.h')
-rw-r--r-- | include/commit.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/include/commit.h b/include/commit.h index 2e16571..47a3099 100644 --- a/include/commit.h +++ b/include/commit.h @@ -1,11 +1,6 @@ -#ifndef _COMMIT_H -#define _COMMIT_H +#ifndef COMMIT_H +#define COMMIT_H -#include "common.h" -void nfl_commit_init(); -int nfl_commit_worker(nfl_header_t *header, nfl_entry_t *store, - enum nfl_compression_t compression_opt, - bool truncate, - const char *filename); +void *commit(void *targs); -#endif +#endif // COMMIT_H |