sbr/escape_addresses.h \
sbr/ext_hook.h \
sbr/fdcompare.h \
+ sbr/fmt_rfc2047.h \
sbr/folder_addmsg.h \
sbr/folder_delmsgs.h \
sbr/folder_free.h \
struct msgs_array;
char *concat (const char *, ...) ENDNULL;
-int decode_rfc2047 (char *, char *, size_t);
-
-/*
- * Decode two characters into their quoted-printable representation.
- *
- * Arguments are:
- *
- * byte1 - First character of Q-P representation
- * byte2 - Second character of Q-P representation
- *
- * Returns the decoded value, -1 if the conversion failed.
- */
-int decode_qp(unsigned char byte1, unsigned char byte2) CONST;
/*
* Encode a message header using RFC 2047 encoding. If the message contains
*/
#include "h/mh.h"
+#include "fmt_rfc2047.h"
#include "check_charset.h"
#include "h/utils.h"
#ifdef HAVE_ICONV
--- /dev/null
+/* fmt_rfc2047.h -- decode RFC-2047 header format
+ *
+ * This code is Copyright (c) 2017, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information. */
+
+/*
+ * Decode two characters into their quoted-printable representation.
+ *
+ * Arguments are:
+ *
+ * byte1 - First character of Q-P representation
+ * byte2 - Second character of Q-P representation
+ *
+ * Returns the decoded value, -1 if the conversion failed.
+ */
+int decode_qp(unsigned char byte1, unsigned char byte2) CONST;
+
+int decode_rfc2047(char *, char *, size_t);
*/
#include "h/mh.h"
+#include "fmt_rfc2047.h"
#include "uprf.h"
#include "context_find.h"
#include "error.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_rfc2047.h"
#include "sbr/cpydata.h"
#include "sbr/trimcpy.h"
#include "sbr/m_convert.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_rfc2047.h"
#include "sbr/uprf.h"
#include "sbr/check_charset.h"
#include "sbr/getcpy.h"
*/
#include "h/mh.h"
+#include "sbr/fmt_rfc2047.h"
#include "sbr/brkstring.h"
#include "sbr/ambigsw.h"
#include "sbr/error.h"