summaryrefslogtreecommitdiffstats
path: root/src/transports/tf_maildir.h
blob: b3707b1a9ad816b2dbc7607606a3439530915d36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*************************************************
*     Exim - an Internet mail transport agent    *
*************************************************/

/* Copyright (c) University of Cambridge 1995 - 2009 */
/* Copyright (c) The Exim Maintainers 2021 */
/* See the file NOTICE for conditions of use and distribution. */

/* Header file for the functions that are used to support the use of
maildirsize files for quota handling in maildir directories. */

extern off_t  maildir_compute_size(uschar *, int *, time_t *, const pcre2_code *,
                const pcre2_code *, BOOL);
extern BOOL   maildir_ensure_directories(uschar *, address_item *, BOOL, int,
                uschar *);
extern int    maildir_ensure_sizefile(uschar *,
                appendfile_transport_options_block *, const pcre2_code *,
                const pcre2_code *, off_t *, int *);
extern void   maildir_record_length(int, int);

/* End of tf_maildir.h */