diff options
author | Alvaro Neira <alvaroneay@gmail.com> | 2014-09-30 17:21:38 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-09 13:22:55 +0200 |
commit | ffac724a876d1fb3ae08b7da727d251a6762358c (patch) | |
tree | e3d51d13203c0cd48427fbc1fac4765f5264f3ba /include/statement.h | |
parent | 389545e6fda863f8804b513b8dca4c4db4a7c5a6 (diff) |
src: Enhance payload_gen_dependency()
With this patch, this function returns a statement with the new dependency
that we want to add, instead of an expression.
This change is needed in a follow up patch.
Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/statement.h')
-rw-r--r-- | include/statement.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/statement.h b/include/statement.h index e2f02b8c..7a57f7dd 100644 --- a/include/statement.h +++ b/include/statement.h @@ -166,6 +166,7 @@ struct stmt { extern struct stmt *stmt_alloc(const struct location *loc, const struct stmt_ops *ops); +int stmt_evaluate(struct eval_ctx *ctx, struct stmt *stmt); extern void stmt_free(struct stmt *stmt); extern void stmt_list_free(struct list_head *list); extern void stmt_print(const struct stmt *stmt); |