SPDX: Mass-update to GPL-2.0-or-later
[exim.git] / src / src / transports / tf_maildir.h
1 /*************************************************
2 *     Exim - an Internet mail transport agent    *
3 *************************************************/
4
5 /* Copyright (c) University of Cambridge 1995 - 2009 */
6 /* Copyright (c) The Exim Maintainers 2021 */
7 /* See the file NOTICE for conditions of use and distribution. */
8 /* SPDX-License-Identifier: GPL-2.0-or-later */
9
10 /* Header file for the functions that are used to support the use of
11 maildirsize files for quota handling in maildir directories. */
12
13 extern off_t  maildir_compute_size(uschar *, int *, time_t *, const pcre2_code *,
14                 const pcre2_code *, BOOL);
15 extern BOOL   maildir_ensure_directories(uschar *, address_item *, BOOL, int,
16                 uschar *);
17 extern int    maildir_ensure_sizefile(uschar *,
18                 appendfile_transport_options_block *, const pcre2_code *,
19                 const pcre2_code *, off_t *, int *);
20 extern void   maildir_record_length(int, int);
21
22 /* End of tf_maildir.h */