/usr/include/dovecot/raw-storage.h is in dovecot-dev 1:2.2.9-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #ifndef RAW_STORAGE_H
#define RAW_STORAGE_H
#include "index-storage.h"
#define RAW_STORAGE_NAME "raw"
#define RAW_SUBSCRIPTION_FILE_NAME "subscriptions"
struct raw_storage {
struct mail_storage storage;
};
struct raw_mailbox {
struct mailbox box;
struct raw_storage *storage;
time_t mtime, ctime;
uoff_t size;
const char *envelope_sender;
unsigned int synced:1;
unsigned int have_filename:1;
};
extern struct mail_vfuncs raw_mail_vfuncs;
struct mail_user *
raw_storage_create_from_set(const struct setting_parser_info *set_info,
const struct mail_user_settings *set);
int raw_mailbox_alloc_stream(struct mail_user *user, struct istream *input,
time_t received_time, const char *envelope_sender,
struct mailbox **box_r);
int raw_mailbox_alloc_path(struct mail_user *user, const char *path,
time_t received_time, const char *envelope_sender,
struct mailbox **box_r);
#endif
|