summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tor_runner.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/tor_runner.c b/src/tools/tor_runner.c
index dd90af3df5..f8805e6500 100644
--- a/src/tools/tor_runner.c
+++ b/src/tools/tor_runner.c
@@ -46,6 +46,12 @@
static void child(const tor_main_configuration_t *cfg)
__attribute__((noreturn));
+const char *
+tor_api_get_provider_version(void)
+{
+ return "libtorrunner " VERSION;
+}
+
int
tor_run_main(const tor_main_configuration_t *cfg)
{
@@ -98,4 +104,3 @@ child(const tor_main_configuration_t *cfg)
abort(); /* Unreachable */
}
}
-