diff options
Diffstat (limited to 'src/utils/charset_errors.h')
-rw-r--r-- | src/utils/charset_errors.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/utils/charset_errors.h b/src/utils/charset_errors.h new file mode 100644 index 0000000..7571c06 --- /dev/null +++ b/src/utils/charset_errors.h @@ -0,0 +1,19 @@ +/* + * This file is part of libdom. + * Licensed under the MIT License, + * http://www.opensource.org/licenses/mit-license.php + * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org> + */ + +#ifndef dom_utils_charset_errors_h_ +#define dom_utils_charset_errors_h_ + +typedef enum { + CHARSET_OK, /**< No error */ + CHARSET_BADPARM, /**< Bad parameters to argument */ + CHARSET_NEEDDATA, /**< Insufficient data for operation */ + CHARSET_INVALID /**< Invalid input data */ +} charset_error; + +#endif + |