]>
diplodocus.org Git - nmh/blob - sbr/fmt_rfc2047.h
1 /* fmt_rfc2047.h -- decode RFC-2047 header format
3 * This code is Copyright (c) 2017, by the authors of nmh. See the
4 * COPYRIGHT file in the root directory of the nmh distribution for
5 * complete copyright information. */
8 * Decode two characters into their quoted-printable representation.
12 * byte1 - First character of Q-P representation
13 * byte2 - Second character of Q-P representation
15 * Returns the decoded value, -1 if the conversion failed.
17 int decode_qp(unsigned char byte1
, unsigned char byte2
) CONST
;
19 int decode_rfc2047(char *, char *, size_t);