summaryrefslogtreecommitdiff
path: root/src/gen_bpf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen_bpf.h')
-rw-r--r--src/gen_bpf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gen_bpf.h b/src/gen_bpf.h
index 14484e7..8f886ae 100644
--- a/src/gen_bpf.h
+++ b/src/gen_bpf.h
@@ -36,7 +36,8 @@ struct bpf_program {
#define BPF_PGM_SIZE(x) \
((x)->blk_cnt * sizeof(*((x)->blks)))
-struct bpf_program *gen_bpf_generate(const struct db_filter_col *col);
+int gen_bpf_generate(const struct db_filter_col *col,
+ struct bpf_program **prgm_ptr);
void gen_bpf_release(struct bpf_program *program);
#endif