aboutsummaryrefslogtreecommitdiffstats
path: root/collect.h
diff options
context:
space:
mode:
authorYunchih Chen <yunchih.cat@gmail.com>2018-03-02 18:08:47 +0800
committerYunchih Chen <yunchih.cat@gmail.com>2018-03-02 18:08:47 +0800
commit87e6bdc58160b85664c43ebc731a07ae8bceed79 (patch)
treefb571dde267521c9ea8aa18a6ffb84e7c4e3799a /collect.h
parentcb02fbda5ca090b6e69288967b831d9f8f3184ef (diff)
downloadnfcollect-87e6bdc58160b85664c43ebc731a07ae8bceed79.tar
nfcollect-87e6bdc58160b85664c43ebc731a07ae8bceed79.tar.gz
nfcollect-87e6bdc58160b85664c43ebc731a07ae8bceed79.tar.bz2
nfcollect-87e6bdc58160b85664c43ebc731a07ae8bceed79.tar.lz
nfcollect-87e6bdc58160b85664c43ebc731a07ae8bceed79.tar.xz
nfcollect-87e6bdc58160b85664c43ebc731a07ae8bceed79.tar.zst
nfcollect-87e6bdc58160b85664c43ebc731a07ae8bceed79.zip
Implement receive thread synchronization
Diffstat (limited to 'collect.h')
-rw-r--r--collect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/collect.h b/collect.h
index 0f525e3..98eee4d 100644
--- a/collect.h
+++ b/collect.h
@@ -1,5 +1,5 @@
#pragma once
void *nfl_collect_worker(void *targs);
-void nfl_state_update_or_create(nflog_state_t **nf, uint32_t id, uint32_t entries_max, nflog_global_t *g);
+void nfl_state_init(nflog_state_t **nf, uint32_t id, uint32_t entries_max, nflog_global_t *g);
void nfl_state_free(nflog_state_t *nf);