summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-12-27 06:50:07 +0000
committerRoger Dingledine <arma@torproject.org>2008-12-27 06:50:07 +0000
commit5519e633ec4c48c5e547554ff750db1aab835cc7 (patch)
tree90b8cd8079bf9c4d1f0c25bd5e3c1365b07ec2f0 /src/or/or.h
parent0c5e03fa21ecdc5f484b8cef18fcbb611349b47f (diff)
downloadtor-5519e633ec4c48c5e547554ff750db1aab835cc7.tar.gz
tor-5519e633ec4c48c5e547554ff750db1aab835cc7.zip
New controller event "clients_seen" to report a geoip-based summary
of which countries we've seen clients from recently. Now controllers like Vidalia can show bridge operators that they're actually making a difference. svn:r17796
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 0cc9b83b3f..e2f3a8c4c2 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3265,6 +3265,9 @@ typedef enum {
void control_event_bootstrap(bootstrap_status_t status, int progress);
void control_event_bootstrap_problem(const char *warn, int reason);
+void control_event_clients_seen(const char *timestarted,
+ const char *countries);
+
#ifdef CONTROL_PRIVATE
/* Used only by control.c and test.c */
size_t write_escaped_data(const char *data, size_t len, char **out);