diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-03-24 11:15:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-11 13:25:11 -0400 |
commit | 80a6c8caa3910b18ce50ef870ef0af546c64faa2 (patch) | |
tree | 2f48426164336a059e8f3ff02ae631463017d78c /src/test/test.c | |
parent | 4e76b206b5fac18805a5cb2c3440dd367bd3b92d (diff) | |
download | tor-80a6c8caa3910b18ce50ef870ef0af546c64faa2.tar.gz tor-80a6c8caa3910b18ce50ef870ef0af546c64faa2.zip |
Basic work on a publish/subscribe abstraction
The goal here is to provide a way to decouple pieces of the code
that want to learn "when something happens" from those that realize
that it has happened.
The implementation here consists of a generic backend, plus a set of
macros to define and implement a set of type-safe frontends.
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test.c b/src/test/test.c index ed167a3e67..dcbaf5bbca 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -1159,6 +1159,7 @@ extern struct testcase_t oom_tests[]; extern struct testcase_t options_tests[]; extern struct testcase_t policy_tests[]; extern struct testcase_t procmon_tests[]; +extern struct testcase_t pubsub_tests[]; extern struct testcase_t pt_tests[]; extern struct testcase_t relay_tests[]; extern struct testcase_t relaycell_tests[]; @@ -1230,6 +1231,7 @@ struct testgroup_t testgroups[] = { { "util/format/", util_format_tests }, { "util/logging/", logging_tests }, { "util/process/", util_process_tests }, + { "util/pubsub/", pubsub_tests }, { "util/thread/", thread_tests }, { "dns/", dns_tests }, END_OF_GROUPS |