diff options
author | Albin Eldstål-Damlin <laeder.keps@gmail.com> | 2009-12-14 21:46:45 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-12-14 22:18:28 +0100 |
commit | 69391dadda9b759772650b9df62a04b972c8ba5b (patch) | |
tree | f8f40eb31ab12b3b265b6c050d340185c0713410 /src/filter_config.h | |
parent | ff3393ebf1e581d97bfcce9045a60f3700688450 (diff) | |
download | mpd-69391dadda9b759772650b9df62a04b972c8ba5b.tar.gz mpd-69391dadda9b759772650b9df62a04b972c8ba5b.tar.xz mpd-69391dadda9b759772650b9df62a04b972c8ba5b.zip |
Proper error reporting from filter_config
Diffstat (limited to '')
-rw-r--r-- | src/filter_config.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |