notifyd: Add notifyd_parse_db()
authorVolker Lendecke <vl@samba.org>
Fri, 9 Jan 2015 12:24:58 +0000 (12:24 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 7 Jul 2015 21:51:24 +0000 (23:51 +0200)
commit0deb657ba689c8b0e259b385bce30d4ff56f2810
treef9bd2a3e5884c78db46cedfeefa2126b5549981a
parent730b025d7bf8c951d55db60018c6ef85eae387a3
notifyd: Add notifyd_parse_db()

The database format notifyd is "private" to it. This makes it
possible for smbcontrol and others to query notifyd's database with
MSG_SMB_NOTIFY_GET_DB and inspect it without having to know exactly what
format it uses.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/notifyd/notifyd.c
source3/smbd/notifyd/notifyd.h