403Webshell
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/usr/include/dovecot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/1/root/proc/thread-self/root/usr/include/dovecot/imap-bodystructure.h
#ifndef IMAP_BODYSTRUCTURE_H
#define IMAP_BODYSTRUCTURE_H

#include "imap-quote.h"

struct message_part;
struct message_header_line;
struct imap_arg;

/* Write a BODY/BODYSTRUCTURE from given message_part. The message_part->data
   field must be set. part->body_size.virtual_size and .lines are also used
   for writing it. Returns 0 on success, -1 if parts don't internally match
   (e.g. broken cached mime.parts mixed with parsed message). */
int imap_bodystructure_write(const struct message_part *part,
			     string_t *dest, bool extended,
			     enum imap_quote_flags qflags,
			     const char **error_r);

/* Parse BODYSTRUCTURE and save the contents to message_part->data for each
   message tree node. If the parts argument points to NULL, the message_part
   tree is created from the BODYSTRUCTURE. Otherwise, existing tree is used.
   Returns 0 if ok, -1 if bodystructure wasn't valid. */
int imap_bodystructure_parse_full(const char *bodystructure, pool_t pool,
			     struct message_part **parts, const char **error_r);

/* Same as imap_bodystructure_parse_full(), but read the input from imap_args
   instead of a string. */
int imap_bodystructure_parse_args(const struct imap_arg *args, pool_t pool,
			     struct message_part **parts, const char **error_r);

/* Parse BODYSTRUCTURE and save the contents to message_part->data for each
   message tree node. The parts argument must point to an existing message_part
   tree. Returns 0 if ok, -1 if bodystructure wasn't valid. */
int imap_bodystructure_parse(const char *bodystructure, pool_t pool,
			     struct message_part *parts, const char **error_r);

/* Get BODY part from BODYSTRUCTURE and write it to dest.
   Returns 0 if ok, -1 if bodystructure wasn't valid. */
int imap_body_parse_from_bodystructure(const char *bodystructure,
				       string_t *dest, const char **error_r);

#endif

Youez - 2016 - github.com/yon3zu
LinuXploit