messaging: Keep an array of event contexts registered
commit33df9c538a18c515b696fa1e40d87ad9dbee8578
authorVolker Lendecke <vl@samba.org>
Thu, 22 Jun 2017 06:34:34 +0000 (22 08:34 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 25 Jul 2017 15:43:17 +0000 (25 17:43 +0200)
tree9a434050965328a9c7569e9a2cd768e9aa5d56ee
parentb5610284533f8b434c7cee4b4ec5a5be3d394b83
messaging: Keep an array of event contexts registered

This is done with an explicit reference-counting and without talloc
destructors. The code is isolated enough for now that explicit refcount
management seems simpler. This might change in the future, but for
now keep it simple.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/messages.c