summaryrefslogtreecommitdiff
path: root/src/feature/api/tor_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/api/tor_api.c')
-rw-r--r--src/feature/api/tor_api.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/feature/api/tor_api.c b/src/feature/api/tor_api.c
index 2a4458bf69..a53ade1f3e 100644
--- a/src/feature/api/tor_api.c
+++ b/src/feature/api/tor_api.c
@@ -61,6 +61,12 @@ tor_main_configuration_free(tor_main_configuration_t *cfg)
raw_free(cfg);
}
+const char *
+tor_api_get_provider_version(void)
+{
+ return "tor " VERSION;
+}
+
/* Main entry point for the Tor process. Called from main().
*
* This function is distinct from main() only so we can link main.c into
@@ -85,4 +91,3 @@ tor_main(int argc, char *argv[])
tor_main_configuration_free(cfg);
return rv;
}
-