From 69391dadda9b759772650b9df62a04b972c8ba5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albin=20Eldst=C3=A5l-Damlin?= Date: Mon, 14 Dec 2009 21:46:45 +0100 Subject: Proper error reporting from filter_config --- src/filter_config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/filter_config.h') diff --git a/src/filter_config.h b/src/filter_config.h index eadaf24ac..8e20320ff 100644 --- a/src/filter_config.h +++ b/src/filter_config.h @@ -38,9 +38,10 @@ * configured filter sections. * @param chain the chain to append filters on * @param spec the filter chain specification + * @param error_r space to return an error description * @return the number of filters which were successfully added */ unsigned int -filter_chain_parse(struct filter *chain, const char *spec); +filter_chain_parse(struct filter *chain, const char *spec, GError **error_r); #endif -- cgit v1.2.3