summaryrefslogtreecommitdiff
path: root/halibut.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-06-27 13:18:32 +0000
committerSimon Tatham <anakin@pobox.com>2004-06-27 13:18:32 +0000
commitd87fabeacea32abba73d67f991f9e523991369c7 (patch)
tree2107cd344ecdf683140efcf9503a23677f55141c /halibut.h
parent037337dcc8cc4e7f2f8a628ab73b1b461dae7171 (diff)
downloadhalibut-d87fabeacea32abba73d67f991f9e523991369c7.zip
halibut-d87fabeacea32abba73d67f991f9e523991369c7.tar.gz
halibut-d87fabeacea32abba73d67f991f9e523991369c7.tar.bz2
halibut-d87fabeacea32abba73d67f991f9e523991369c7.tar.xz
Sort out error handling everywhere a charset name is converted into
an integer charset ID. [originally from svn r4317]
Diffstat (limited to 'halibut.h')
-rw-r--r--halibut.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/halibut.h b/halibut.h
index 88b39f2..f76d059 100644
--- a/halibut.h
+++ b/halibut.h
@@ -241,6 +241,7 @@ enum {
err_infonodechar, /* colon/comma in node name in info */
err_text_codeline, /* \c line too long in text backend */
err_htmlver, /* unrecognised HTML version keyword */
+ err_charset, /* unrecognised character set name */
err_whatever /* random error of another type */
};
@@ -299,6 +300,7 @@ int uisdigit(wchar_t);
wchar_t *ustrlow(wchar_t *s);
wchar_t *ustrftime(const wchar_t *wfmt, const struct tm *timespec);
int cvt_ok(int charset, const wchar_t *s);
+int charset_from_ustr(filepos *fpos, const wchar_t *name);
/*
* wcwidth.c