summaryrefslogtreecommitdiff
path: root/src/or/statefile.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-27 10:05:53 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-27 10:09:16 -0400
commit9f8b60d74c91f4028b68ea8345a5562768acc81e (patch)
treea5142b04b596e9167063e1abfaf6784b278dae92 /src/or/statefile.h
parent3a47dfed349ee2c05f30ba142d3583772fa2287f (diff)
downloadtor-9f8b60d74c91f4028b68ea8345a5562768acc81e.tar.gz
tor-9f8b60d74c91f4028b68ea8345a5562768acc81e.zip
Move or_state_mark_dirty into statefile.c
Previously it was an inline function in or.h
Diffstat (limited to 'src/or/statefile.h')
-rw-r--r--src/or/statefile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/statefile.h b/src/or/statefile.h
index b4cc4d1dc6..5aa2ca9320 100644
--- a/src/or/statefile.h
+++ b/src/or/statefile.h
@@ -17,6 +17,7 @@ char *get_stored_bindaddr_for_server_transport(const char *transport);
int or_state_load(void);
int or_state_loaded(void);
void or_state_free_all(void);
+void or_state_mark_dirty(or_state_t *state, time_t when);
#ifdef STATEFILE_PRIVATE
STATIC config_line_t *get_transport_in_state_by_name(const char *transport);