summaryrefslogtreecommitdiff
path: root/include/parserutils/errors.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-01-06 10:11:41 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-01-06 10:11:41 +0000
commitdc43c01c1562f6bef60e5ee6725e25c9b0c77a31 (patch)
tree41bd19b4d5ae56a81a781ca220861139d9188580 /include/parserutils/errors.h
parent007c7b16ab269fc16cc4d3a337d3b84319097368 (diff)
downloadlibparserutils-dc43c01c1562f6bef60e5ee6725e25c9b0c77a31.tar.gz
libparserutils-dc43c01c1562f6bef60e5ee6725e25c9b0c77a31.tar.bz2
Change API of inputstream_peek(_slow) to return errors. Joy.
svn path=/trunk/libparserutils/; revision=5965
Diffstat (limited to 'include/parserutils/errors.h')
-rw-r--r--include/parserutils/errors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/parserutils/errors.h b/include/parserutils/errors.h
index 632d334..74c7f34 100644
--- a/include/parserutils/errors.h
+++ b/include/parserutils/errors.h
@@ -19,6 +19,7 @@ typedef enum parserutils_error {
PARSERUTILS_FILENOTFOUND = 4,
PARSERUTILS_NEEDDATA = 5,
PARSERUTILS_BADENCODING = 6,
+ PARSERUTILS_EOF = 7
} parserutils_error;
/* Convert a parserutils error value to a string */