messages_dgm: Move directory handling up
commita3efb70c87b489967fbf0a0b6873325a6a49bfea
authorVolker Lendecke <vl@samba.org>
Sat, 4 Oct 2014 08:58:15 +0000 (4 10:58 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 13 Feb 2015 22:32:06 +0000 (13 23:32 +0100)
treea7247aacebedd1e4eb4379c43dc425d72ab92f3b
parent293a602b33f07ecf75f1ea4956c012261a6f2ae5
messages_dgm: Move directory handling up

When we want to use messages_dgm in source4, we need to find better
places for the lock and socket directories. Source4 does not have the
concept of a cache directory. So I chose "private dir"/sock and "lock
dir"/msg as subdirectories.

This moves directory creation from messages_dgm.c to messages.c,
source4/lib/messaging will have its own way of doing this.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/messages.c
source3/lib/messages_dgm.c
source3/lib/messages_dgm.h