dovecot-2.2: lib-fs: Added a temp_dir setting that the caller ca...

dovecot at dovecot.org dovecot at dovecot.org
Mon Nov 26 23:03:18 EET 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/5552ac605201
changeset: 15400:5552ac605201
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Nov 26 23:03:09 2012 +0200
description:
lib-fs: Added a temp_dir setting that the caller can specify.

diffstat:

 src/lib-fs/fs-api.h |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 39578785ee92 -r 5552ac605201 src/lib-fs/fs-api.h
--- a/src/lib-fs/fs-api.h	Mon Nov 26 23:02:51 2012 +0200
+++ b/src/lib-fs/fs-api.h	Mon Nov 26 23:03:09 2012 +0200
@@ -52,6 +52,10 @@
 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;


More information about the dovecot-cvs mailing list