From: Timo Sirainen Date: Mon, 26 Nov 2012 21:03:09 +0000 (+0200) Subject: lib-fs: Added a temp_dir setting that the caller can specify. X-Git-Tag: 2.2.beta1~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1680fed5026a52fa4f47eb4cc6d82ec8dddcc50b;p=thirdparty%2Fdovecot%2Fcore.git lib-fs: Added a temp_dir setting that the caller can specify. --- diff --git a/src/lib-fs/fs-api.h b/src/lib-fs/fs-api.h index c87ee21872..d06346d078 100644 --- a/src/lib-fs/fs-api.h +++ b/src/lib-fs/fs-api.h @@ -52,6 +52,10 @@ enum fs_open_flags { struct fs_settings { /* Dovecot instance's base_dir */ const char *base_dir; + /* Directory where temporary files can be created at any time + (e.g. /tmp or mail_temp_dir) */ + const char *temp_dir; + /* Automatically try to rmdir() directories up to this path when deleting files. */ const char *root_path;