| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/1/root/proc/thread-self/root/proc/thread-self/root/usr/include/dovecot/ |
Upload File : |
#ifndef QP_ENCODER_H
#define QP_ENCODER_H 1
enum qp_encoder_flag {
/* encode spaces as underscores, encode crlfs, adds =?utf-8?q?..?= encapsulation */
QP_ENCODER_FLAG_HEADER_FORMAT = 0x1,
/* treat input as true binary, no lf => crlf conversion, only CRLF is preserved */
QP_ENCODER_FLAG_BINARY_DATA = 0x2,
};
/* Initialize quoted-printable encoder. Write all the encoded output to dest. */
struct qp_encoder *qp_encoder_init(string_t *dest, unsigned int max_length,
enum qp_encoder_flag flags);
void qp_encoder_deinit(struct qp_encoder **qp);
/* Translate more (binary) data into quoted printable.
If QP_ENCODER_FLAG_BINARY_DATA is not set, text is assumed to be in
UTF-8 (but not enforced). No other character sets are supported. */
void qp_encoder_more(struct qp_encoder *qp, const void *src, size_t src_size);
/* Finish encoding any pending input.
This function also resets the entire encoder state, so the same encoder can
be used to encode more data if wanted. */
void qp_encoder_finish(struct qp_encoder *qp);
#endif