]> git.ipfire.org Git - thirdparty/tor.git/commit
Basic work on a publish/subscribe abstraction
authorNick Mathewson <nickm@torproject.org>
Thu, 24 Mar 2016 15:15:19 +0000 (11:15 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 11 May 2016 17:25:11 +0000 (13:25 -0400)
commit80a6c8caa3910b18ce50ef870ef0af546c64faa2
tree2f48426164336a059e8f3ff02ae631463017d78c
parent4e76b206b5fac18805a5cb2c3440dd367bd3b92d
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.
src/common/include.am
src/common/pubsub.c [new file with mode: 0644]
src/common/pubsub.h [new file with mode: 0644]
src/test/include.am
src/test/test.c
src/test/test_pubsub.c [new file with mode: 0644]