lib: Add messages_dgm_ref.[ch]
authorVolker Lendecke <vl@samba.org>
Sat, 4 Oct 2014 09:15:12 +0000 (11:15 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 13 Feb 2015 22:32:07 +0000 (23:32 +0100)
commit0108c2921d5b604da42ba70b1f38cda16fd071f7
tree609b23c1d9e9a9fdd07b73673cf8b9ac5ea13d1e
parenta15a4297cee8d12df449652c602573fb67bd3c23
lib: Add messages_dgm_ref.[ch]

We only have one messaging_dgm context per process. But we will use this from
two completely independent messaging subsystems which are independently
initialized. We need to coordinate creation and destruction, do this via
talloc.

I know this looks like a step back, but when in the future we have really just
one messaging subsystem, this can go again. My immediate goal is to make
source3 and source4 transport-compatible, and this looks like a quick way
towards that goal.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/messages_dgm_ref.c [new file with mode: 0644]
source3/lib/messages_dgm_ref.h [new file with mode: 0644]
source3/wscript_build