/usr/include/dovecot/message-header-encode.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 | #ifndef MESSAGE_HEADER_ENCODE_H
#define MESSAGE_HEADER_ENCODE_H
/* Encode UTF-8 input into output wherever necessary. */
void message_header_encode(const char *input, string_t *output);
/* Encode the whole UTF-8 input using "Q" or "B" encoding into output.
The output is split into multiple lines if necessary. The first line length
is looked up from the output string. */
void message_header_encode_q(const unsigned char *input, unsigned int len,
string_t *output);
void message_header_encode_b(const unsigned char *input, unsigned int len,
string_t *output);
#endif
|