aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/config.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-05-17 09:09:49 -0400
committerNick Mathewson <nickm@torproject.org>2021-05-17 09:09:49 -0400
commitdebede5e501667bc20666e3c2f5d62d7bc888c8b (patch)
tree3b671ad5f2c443ef9515610ae6ca6c17dfc4315a /src/app/config/config.h
parentfbd47a50783c79a553510091df09dce7632e02f6 (diff)
parent97b61e21a9a713ecd672ff106428286238ae05e4 (diff)
downloadtor-debede5e501667bc20666e3c2f5d62d7bc888c8b.tar.gz
tor-debede5e501667bc20666e3c2f5d62d7bc888c8b.zip
Merge branch 'maint-0.4.5' into maint-0.4.6
Diffstat (limited to 'src/app/config/config.h')
-rw-r--r--src/app/config/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/config/config.h b/src/app/config/config.h
index e534bcbcbe..de198e203d 100644
--- a/src/app/config/config.h
+++ b/src/app/config/config.h
@@ -44,6 +44,9 @@ int get_protocol_warning_severity_level(void);
#define LOG_PROTOCOL_WARN (get_protocol_warning_severity_level())
+/** Pattern for backing up configuration files */
+#define CONFIG_BACKUP_PATTERN "%s.orig.1"
+
/** An error from options_trial_assign() or options_init_from_string(). */
typedef enum setopt_err_t {
SETOPT_OK = 0,