Patch: Add init and cleanup functions to registry backends and call them if they are defined

Richard Sharpe realrichardsharpe at gmail.com
Sun Jan 11 12:59:44 MST 2015


On Sat, Jan 10, 2015 at 1:02 PM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> Hi folks,
>
> Sometimes, as in my zookeeper backend, you need an init and cleanup function.
>
> This small patch provides that.
>
> Please provide feedback or push if OK ...

A small update. If the init function fails, we should not install it.
Rather, we should print a level 0 message in the log.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-init-and-cleanup-functions-to-the-registry-backe.patch
Type: text/x-patch
Size: 2532 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150111/a3e02822/attachment.bin>


More information about the samba-technical mailing list