| Server IP : 176.32.38.42 / Your IP : 216.73.216.67 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 : /usr/include/dovecot/ |
Upload File : |
#ifndef POP3C_STORAGE_H
#define POP3C_STORAGE_H
#include "index-storage.h"
#define POP3C_STORAGE_NAME "pop3c"
struct pop3c_storage {
struct mail_storage storage;
const struct pop3c_settings *set;
};
struct pop3c_mailbox {
struct mailbox box;
struct pop3c_storage *storage;
struct pop3c_client *client;
pool_t uidl_pool;
unsigned int msg_count;
/* LIST sizes */
uoff_t *msg_sizes;
/* UIDL strings */
const char *const *msg_uidls;
/* index UIDs for each message in this session.
the UID may not exist for the entire session */
uint32_t *msg_uids;
bool logged_in:1;
};
struct pop3c_mail {
struct index_mail imail;
struct istream *prefetch_stream;
bool prefetching:1;
bool prefetching_body:1;
};
#define POP3C_STORAGE(s) container_of(s, struct pop3c_storage, storage)
#define POP3C_MAILBOX(s) container_of(s, struct pop3c_mailbox, box)
#define POP3C_MAIL(s) container_of(s, struct pop3c_mail, imail.mail.mail)
struct mail *
pop3c_mail_alloc(struct mailbox_transaction_context *t,
enum mail_fetch_field wanted_fields,
struct mailbox_header_lookup_ctx *wanted_headers);
extern struct mail_vfuncs pop3c_mail_vfuncs;
#endif