From dc43c01c1562f6bef60e5ee6725e25c9b0c77a31 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 6 Jan 2009 10:11:41 +0000 Subject: Change API of inputstream_peek(_slow) to return errors. Joy. svn path=/trunk/libparserutils/; revision=5965 --- include/parserutils/errors.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/parserutils/errors.h') 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 */ -- cgit v1.2.3