summaryrefslogtreecommitdiff
path: root/src/input/filter.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-11-08 23:08:30 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-11-08 23:08:30 +0000
commite53a5011237467c73c72b338570e4a455d2d1ef6 (patch)
tree1f580e130a9985f98c0fd6efb88f2c1071b1a7ca /src/input/filter.h
parent7836409aade83179b43dd7ad0699d9edf68aad90 (diff)
downloadlibparserutils-e53a5011237467c73c72b338570e4a455d2d1ef6.tar.gz
libparserutils-e53a5011237467c73c72b338570e4a455d2d1ef6.tar.bz2
Return errors from constructors and destructors.
svn path=/trunk/libparserutils/; revision=5652
Diffstat (limited to 'src/input/filter.h')
-rw-r--r--src/input/filter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/filter.h b/src/input/filter.h
index 96941a6..0d72b92 100644
--- a/src/input/filter.h
+++ b/src/input/filter.h
@@ -35,10 +35,10 @@ typedef union parserutils_filter_optparams {
/* Create an input filter */
-parserutils_filter *parserutils_filter_create(const char *int_enc,
- parserutils_alloc alloc, void *pw);
+parserutils_error parserutils_filter_create(const char *int_enc,
+ parserutils_alloc alloc, void *pw, parserutils_filter **filter);
/* Destroy an input filter */
-void parserutils_filter_destroy(parserutils_filter *input);
+parserutils_error parserutils_filter_destroy(parserutils_filter *input);
/* Configure an input filter */
parserutils_error parserutils_filter_setopt(parserutils_filter *input,