HEX
Server: LiteSpeed
System: Linux srv1.dhviews.com 5.14.0-570.23.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 24 11:27:16 EDT 2025 x86_64
User: bdedition (1723)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/self/root/proc/thread-self/root/usr/local/apps/dovecot/include/dovecot/imap-envelope.h
#ifndef IMAP_ENVELOPE_H
#define IMAP_ENVELOPE_H

struct imap_arg;
struct message_part_envelope;

/* Write envelope to given string */
void imap_envelope_write(struct message_part_envelope *data,
				   string_t *str);

/* Parse envelope from arguments */
bool imap_envelope_parse_args(const struct imap_arg *args,
	pool_t pool, struct message_part_envelope **envlp_r,
	const char **error_r);
/* Parse envelope from string */
bool imap_envelope_parse(const char *envelope,
	pool_t pool, struct message_part_envelope **envlp_r,
	const char **error_r);

#endif