X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..fc83c7648c73765a72c74175b6952a0fda80dd00:/charset.h diff --git a/charset.h b/charset.h index ab5f062..703d30d 100644 --- a/charset.h +++ b/charset.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1999-2000 Thomas Roessler + * Copyright (C) 1999-2003 Thomas Roessler * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -56,4 +56,10 @@ char *mutt_get_default_charset (); */ #define M_ICONV_HOOK_FROM 1 /* apply charset-hooks to fromcode */ +/* Check if given character set is valid (either officially assigned or + * known to local iconv implementation). If strict is non-zero, check + * against iconv only. Returns 0 if known and negative otherwise. + */ +int mutt_check_charset (const char *s, int strict); + #endif /* _CHARSET_H */