/usr/include/dovecot/message-header-decode.h is in dovecot-dev 1:2.2.9-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #ifndef MESSAGE_HEADER_DECODE_H
#define MESSAGE_HEADER_DECODE_H
#include "unichar.h"
/* Return FALSE if you wish to stop decoding. charset is NULL when it's not
RFC2047-encoded. */
typedef bool message_header_decode_callback_t(const unsigned char *data,
size_t size, const char *charset,
void *context);
/* Decode RFC2047 encoded words. Call specified function for each
decoded block. */
void message_header_decode(const unsigned char *data, size_t size,
message_header_decode_callback_t *callback,
void *context);
/* Append decoded RFC2047 header as UTF-8 to given buffer. */
void message_header_decode_utf8(const unsigned char *data, size_t size,
buffer_t *dest, normalizer_func_t *normalizer);
#endif
|