| Server IP : 176.32.38.42 / Your IP : 216.73.216.231 Web Server : LiteSpeed System : Linux ha006.mymail.zone 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64 User : s1225329 ( 1835) PHP Version : 7.4.33 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 : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/1808595/root/usr/include/dovecot/ |
Upload File : |
#ifndef ISTREAM_ATTACHMENT_CONNECTOR_H #define ISTREAM_ATTACHMENT_CONNECTOR_H /* Start building a message stream. The base_input contains the message without attachments. The final stream must be exactly msg_size bytes. If the original msg_size isn't known, it can be set to UOFF_T_MAX. */ struct istream_attachment_connector * istream_attachment_connector_begin(struct istream *base_input, uoff_t msg_size); /* Add the given input stream as attachment. The attachment starts at the given start_offset in the (original) message. If base64_blocks_per_line is non-zero, the input is base64-encoded with the given settings. The (resulting base64-encoded) input must have exactly encoded_size bytes. Returns 0 if the input was ok, -1 if we've already reached msg_size or attachment offsets/sizes aren't valid. */ int istream_attachment_connector_add(struct istream_attachment_connector *conn, struct istream *decoded_input, uoff_t start_offset, uoff_t encoded_size, unsigned int base64_blocks_per_line, bool base64_have_crlf, const char **error_r); struct istream * istream_attachment_connector_finish(struct istream_attachment_connector **conn); void istream_attachment_connector_abort(struct istream_attachment_connector **conn); #endif