| 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_FILE_H
#define MDBOX_FILE_H
#include "dbox-file.h"
struct mdbox_file {
struct dbox_file file;
struct mdbox_storage *storage;
uint32_t file_id;
time_t close_time;
};
struct dbox_file *
mdbox_file_init(struct mdbox_storage *storage, uint32_t file_id);
struct dbox_file *
mdbox_file_init_new_alt(struct mdbox_storage *storage);
/* Assign file ID for a newly created file. */
int mdbox_file_assign_file_id(struct mdbox_file *file, uint32_t file_id);
void mdbox_file_unrefed(struct dbox_file *file);
int mdbox_file_create_fd(struct dbox_file *file, const char *path,
bool parents);
void mdbox_files_free(struct mdbox_storage *storage);
void mdbox_files_sync_input(struct mdbox_storage *storage);
#endif