projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generalize the idea of tokens a bit more, don't restrict it to the rfc822
[apps/madmutt.git]
/
mbyte.h
diff --git
a/mbyte.h
b/mbyte.h
index
3eeed04
..
b6f1274
100644
(file)
--- a/
mbyte.h
+++ b/
mbyte.h
@@
-1,3
+1,12
@@
+/*
+ * Copyright notice from original mutt:
+ * [none]
+ *
+ * This file is part of mutt-ng, see http://www.muttng.org/.
+ * It's licensed under the GNU General Public License,
+ * please see the file GPL in the top level source directory.
+ */
+
#ifndef _MBYTE_H
# define _MBYTE_H
#ifndef _MBYTE_H
# define _MBYTE_H
@@
-13,8
+22,8
@@
# endif
#ifndef HAVE_WC_FUNCS
# endif
#ifndef HAVE_WC_FUNCS
-size_t wcrtomb (char *s, wchar_t wc, mbstate_t *ps);
-size_t mbrtowc (wchar_t *
pwc, const char *s, size_t n, mbstate_t *
ps);
+size_t wcrtomb (char *s, wchar_t wc, mbstate_t *
ps);
+size_t mbrtowc (wchar_t *
pwc, const char *s, size_t n, mbstate_t *
ps);
int iswprint (wint_t wc);
int iswspace (wint_t wc);
int iswalnum (wint_t wc);
int iswprint (wint_t wc);
int iswspace (wint_t wc);
int iswalnum (wint_t wc);
@@
-26,7
+35,7
@@
int wcwidth (wchar_t wc);
void mutt_set_charset (char *charset);
extern int Charset_is_utf8;
void mutt_set_charset (char *charset);
extern int Charset_is_utf8;
-size_t utf8rtowc (wchar_t *
pwc, const char *s, size_t n, mbstate_t *
_ps);
+size_t utf8rtowc (wchar_t *
pwc, const char *s, size_t n, mbstate_t *
_ps);
wchar_t replacement_char (void);
#endif /* _MBYTE_H */
wchar_t replacement_char (void);
#endif /* _MBYTE_H */