/usr/include/dovecot/duplicate.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 | #ifndef DUPLICATE_H
#define DUPLICATE_H
struct duplicate_context;
struct mail_storage_settings;
#define DUPLICATE_DEFAULT_KEEP (3600 * 24)
bool duplicate_check(struct duplicate_context *ctx,
const void *id, size_t id_size, const char *user);
void duplicate_mark(struct duplicate_context *ctx,
const void *id, size_t id_size,
const char *user, time_t timestamp);
void duplicate_flush(struct duplicate_context *ctx);
struct duplicate_context *duplicate_init(struct mail_user *user);
void duplicate_deinit(struct duplicate_context **ctx);
#endif
|