| Server IP : 216.92.14.13 / Your IP : 216.73.216.171 Web Server : Apache System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : rmlac2fmr ( 1040637) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/include/dovecot/ |
Upload File : |
#ifndef MDBOX_MAP_PRIVATE_H
#define MDBOX_MAP_PRIVATE_H
#include "mdbox-map.h"
struct dbox_mail_lookup_rec {
uint32_t map_uid;
uint16_t refcount;
struct mdbox_map_mail_index_record rec;
};
struct mdbox_map {
struct mdbox_storage *storage;
const struct mdbox_settings *set;
char *path, *index_path;
struct mail_index *index;
struct mail_index_view *view;
uint32_t map_ext_id, ref_ext_id;
struct mailbox_list *root_list;
bool verify_existing_file_ids:1;
};
struct mdbox_map_append {
struct dbox_file_append_context *file_append;
uoff_t offset, size;
};
struct mdbox_map_append_context {
struct mdbox_map *map;
struct mdbox_map_atomic_context *atomic;
struct mail_index_transaction *trans;
ARRAY(struct dbox_file_append_context *) file_appends;
ARRAY(struct dbox_file *) files;
ARRAY(struct mdbox_map_append) appends;
uint32_t first_new_file_id;
unsigned int files_nonappendable_count;
bool failed:1;
};
struct mdbox_map_atomic_context {
struct mdbox_map *map;
struct mail_index_transaction *sync_trans;
struct mail_index_sync_ctx *sync_ctx;
struct mail_index_view *sync_view;
bool map_refreshed:1;
bool locked:1;
bool success:1;
bool failed:1;
};
int mdbox_map_view_lookup_rec(struct mdbox_map *map,
struct mail_index_view *view, uint32_t seq,
struct dbox_mail_lookup_rec *rec_r);
#endif