diff options
Diffstat (limited to 'src/lib-storage/index/maildir/maildir-filename.h')
-rw-r--r-- | src/lib-storage/index/maildir/maildir-filename.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib-storage/index/maildir/maildir-filename.h b/src/lib-storage/index/maildir/maildir-filename.h new file mode 100644 index 0000000..a691dea --- /dev/null +++ b/src/lib-storage/index/maildir/maildir-filename.h @@ -0,0 +1,14 @@ +#ifndef MAILDIR_FILENAME_H +#define MAILDIR_FILENAME_H + +struct maildir_keywords_sync_ctx; + +const char *maildir_filename_generate(void); + +bool maildir_filename_get_size(const char *fname, char type, uoff_t *size_r); + +unsigned int maildir_filename_base_hash(const char *fname); +int maildir_filename_base_cmp(const char *fname1, const char *fname2); +int maildir_filename_sort_cmp(const char *fname1, const char *fname2); + +#endif |