shadow_copy2: introduce config struct and function shadow_copy2_connect()
commit5037f8351af7192483b641ff8d703c383cce226f
authorMichael Adam <obnox@samba.org>
Thu, 23 May 2013 23:35:44 +0000 (24 01:35 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Jan 2014 09:15:53 +0000 (13 10:15 +0100)
tree043b96e15fafd5116c242a5f5405a90f97e2b25d
parent0985cce104b4e5121809cbb16590e71611f414f8
shadow_copy2: introduce config struct and function shadow_copy2_connect()

This moves the parsing of the config to a central place.
So users of configuation don't need to call lp_parm_... all the time.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 1ecef5743583cf617f5506bc2fca3baa70cfb9b3)
source3/modules/vfs_shadow_copy2.c