summaryrefslogtreecommitdiff
path: root/include/libxml/encoding.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libxml/encoding.h')
-rw-r--r--include/libxml/encoding.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libxml/encoding.h b/include/libxml/encoding.h
index 67add3b0..91fe87d7 100644
--- a/include/libxml/encoding.h
+++ b/include/libxml/encoding.h
@@ -32,6 +32,15 @@
extern "C" {
#endif
+typedef enum {
+ XML_ENC_ERR_SUCCESS = 0,
+ XML_ENC_ERR_SPACE = -1,
+ XML_ENC_ERR_INPUT = -2,
+ XML_ENC_ERR_PARTIAL = -3,
+ XML_ENC_ERR_INTERNAL = -4,
+ XML_ENC_ERR_MEMORY = -5
+} xmlCharEncError;
+
/*
* xmlCharEncoding:
*