summaryrefslogtreecommitdiff
path: root/src/app/config/config.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-11-19 15:45:12 -0500
committerNick Mathewson <nickm@torproject.org>2019-11-20 09:26:47 -0500
commit89c355b38601e0eda4e999219946bf2431d5de51 (patch)
tree12f1c44a0dfad5492a0e282c43d78c70e87b3e34 /src/app/config/config.h
parenta30d143228b4211fd24093c244117e07e9409de5 (diff)
downloadtor-89c355b38601e0eda4e999219946bf2431d5de51.tar.gz
tor-89c355b38601e0eda4e999219946bf2431d5de51.zip
Some tests for log changes, commit, and rollback
Diffstat (limited to 'src/app/config/config.h')
-rw-r--r--src/app/config/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/config/config.h b/src/app/config/config.h
index c6c03329bb..15c9352467 100644
--- a/src/app/config/config.h
+++ b/src/app/config/config.h
@@ -304,6 +304,12 @@ STATIC int options_init_logs(const or_options_t *old_options,
const or_options_t *options, int validate_only);
STATIC int options_create_directories(char **msg_out);
+struct log_transaction_t;
+STATIC struct log_transaction_t *options_start_log_transaction(
+ const or_options_t *old_options,
+ char **msg_out);
+STATIC void options_commit_log_transaction(struct log_transaction_t *xn);
+STATIC void options_rollback_log_transaction(struct log_transaction_t *xn);
#ifdef TOR_UNIT_TESTS
int options_validate(const or_options_t *old_options,