HEX
Server: Apache/2
System: Linux jingle.dotvndns.vn 2.6.32-754.17.1.el6.x86_64 #1 SMP Tue Jul 2 12:42:48 UTC 2019 x86_64
User: chuahuehuong (1863)
PHP: 7.3.16
Disabled: apache_note,apache_setenv,proc_get_status,exec,passthru,proc_nice,proc_terminate,shell_exec,system,ini_restore,syslog,define_syslog_variables,symlink,link,error_log,leak,dbmopen,closelog,stream_socket_server,execl,escapeshellcmd,ini_alter,dl,show_source,posix_getpwuid,posix_geteuid,posix_getegid,posix_getgrgid,open_basedir,safe_mode_include_dir,pcntl_exec,pcntl_fork,pclose,virtual,openlog,popen,escapeshellarg,eval,calo,posix_getpwuid,symlinks,symlink,getpwuid,mail
Upload Files
File: //usr/include/dovecot/qp-encoder.h
#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