aboutsummaryrefslogtreecommitdiff
path: root/src/lib/conf
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-11-05 14:23:56 +1000
committerteor <teor@torproject.org>2019-11-05 14:23:56 +1000
commitb9269d6d0a19c998295a2b7910b54bf5f4b1e9c6 (patch)
tree7cc071cec2c75b04b3faec84494d56949912fa75 /src/lib/conf
parent61694695469824f5daf5155d5f072dd97be22c32 (diff)
parentb985cf2403c109f728abd0d8d3cb231dc5c9893d (diff)
downloadtor-b9269d6d0a19c998295a2b7910b54bf5f4b1e9c6.tar.gz
tor-b9269d6d0a19c998295a2b7910b54bf5f4b1e9c6.zip
Merge remote-tracking branch 'tor-github/pr/1486'
Diffstat (limited to 'src/lib/conf')
-rw-r--r--src/lib/conf/conftypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/conf/conftypes.h b/src/lib/conf/conftypes.h
index 69a5f79bf3..d4e2ea218a 100644
--- a/src/lib/conf/conftypes.h
+++ b/src/lib/conf/conftypes.h
@@ -178,6 +178,11 @@ typedef struct struct_magic_decl_t {
* however, setting them appends to their old value.
*/
#define CFLG_NOREPLACE (1u<<5)
+/**
+ * Flag to indicate that an option or type cannot be changed while Tor is
+ * running.
+ **/
+#define CFLG_IMMUTABLE (1u<<6)
/**
* A group of flags that should be set on all obsolete options and types.