X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/529a6c8362cf2786be0538848a26ec233d2189ec..0960a3d8eaea25ca71e3165556979b41ab10cb2b:/halibut.h 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