HEX
Server: LiteSpeed
System: Linux server.searchcove.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User: lurax (1083)
PHP: 8.3.30
Disabled: 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
Upload Files
File: //usr/include/dovecot/istream-dot.h
#ifndef ISTREAM_DOT_H
#define ISTREAM_DOT_H

enum istream_dot_flags {
	/* If asserted, the trailing [CR]LF before "." line isn't returned. */
	ISTREAM_DOT_NO_TRIM    = 0x00,
	ISTREAM_DOT_TRIM_TRAIL = 0x01,

	/* If not asserted, accept only CR-LF-'.'-CR-LF as the End Of Text
	   sequence. If asserted, also accept sequences missing one or both
	   of the CRs, i.e. LF-'.'-LF, CR-LF-'.'-LF, LF-'.'-CR-LF */
	ISTREAM_DOT_STRICT_EOT = 0x00,
	ISTREAM_DOT_LOOSE_EOT  = 0x02,
};

/* Create input stream for reading SMTP DATA style message: Drop initial "."
   from lines beginning with it. Return EOF on line that contains only "." */
struct istream *
i_stream_create_dot(struct istream *input, enum istream_dot_flags flags);

#endif