X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/da090173a115e3450b23e6b84aa98972c4f1619e..b9b5ae9cd316d85a2aac4132e19ea54795b712e8:/halibut.h diff --git a/halibut.h b/halibut.h index 01cbf3e..f76d059 100644 --- a/halibut.h +++ b/halibut.h @@ -240,6 +240,8 @@ enum { err_infodirentry, /* \cfg{info-dir-entry} missing param */ 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 */ }; @@ -298,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