aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.h
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2018-04-16 20:16:37 -0400
committerNeel Chauhan <neel@neelc.org>2018-04-16 20:37:50 -0400
commite72742d693827a747ad405eb81422d6ee9fd691b (patch)
tree0fba2fff3d6c667a585ab6747c10538cc0584ac5 /src/or/control.h
parent9e3e1b8bfb7739d3add782a9f2fe7242ec9a36ae (diff)
downloadtor-e72742d693827a747ad405eb81422d6ee9fd691b.tar.gz
tor-e72742d693827a747ad405eb81422d6ee9fd691b.zip
Add GETINFO current-time/{local,utc} command to ControlPort
Diffstat (limited to 'src/or/control.h')
-rw-r--r--src/or/control.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/control.h b/src/or/control.h
index 2fd3c553f3..2f312a6638 100644
--- a/src/or/control.h
+++ b/src/or/control.h
@@ -311,6 +311,10 @@ STATIC int getinfo_helper_dir(
control_connection_t *control_conn,
const char *question, char **answer,
const char **errmsg);
+STATIC int getinfo_helper_current_time(
+ control_connection_t *control_conn,
+ const char *question, char **answer,
+ const char **errmsg);
#endif /* defined(CONTROL_PRIVATE) */