diff options
author | Florian Westphal <fw@strlen.de> | 2021-06-16 01:45:29 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-06-21 14:44:58 +0200 |
commit | 4892fceea2b59415c9714293689f3f0d07ac5057 (patch) | |
tree | 3b41511008eaa8a5ca9f8817eba01cea2448e4be /include/statement.h | |
parent | 767f0af82a3896a9a643de281cb020d04a7b7cf0 (diff) |
src: add queue expr and flags to queue_stmt_alloc
Preparation patch to avoid too much $<stmt>$ references in the parser.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/statement.h')
-rw-r--r-- | include/statement.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/statement.h b/include/statement.h index 7637a82e..06221040 100644 --- a/include/statement.h +++ b/include/statement.h @@ -159,7 +159,8 @@ struct queue_stmt { uint16_t flags; }; -extern struct stmt *queue_stmt_alloc(const struct location *loc); +extern struct stmt *queue_stmt_alloc(const struct location *loc, + struct expr *e, uint16_t flags); struct quota_stmt { uint64_t bytes; |