From be441e1ffdc2495162399b61053a8f8c18ebc5b6 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 22 Aug 2017 18:45:52 +0200 Subject: src: add debugging mask to context structure So this toggle is not global anymore. Update name that fits better with the semantics of this variable. Signed-off-by: Pablo Neira Ayuso --- include/erec.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/erec.h') diff --git a/include/erec.h b/include/erec.h index 36e0efa4..223cb12d 100644 --- a/include/erec.h +++ b/include/erec.h @@ -58,8 +58,10 @@ static inline void erec_queue(struct error_record *erec, list_add_tail(&erec->list, queue); } -extern void erec_print(FILE *f, const struct error_record *erec); -extern void erec_print_list(FILE *f, struct list_head *list); +extern void erec_print(FILE *f, const struct error_record *erec, + unsigned int debug_mask); +extern void erec_print_list(FILE *f, struct list_head *list, + unsigned int debug_mask); struct eval_ctx; -- cgit v1.2.3