summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf/smbconf_init.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-10libsmbconf: Convert smbconf_init() to sbcErr.Andreas Schneider1-10/+10
Signed-off-by: Michael Adam <obnox@samba.org>
2010-05-18smbconf: only include smbconf headers where needed.Günther Deschner1-0/+1
Guenther
2009-01-21s3:libsmbconf: include smbconf headers with lib/smbconf prefixMichael Adam1-3/+3
Michael
2009-01-21s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_initMichael Adam1-1/+1
Michael
2009-01-21s3:libsmbconf: remove the init headers from smbconf.hMichael Adam1-0/+2
give the smbconf_init() dispatcher and the backends (smbconf_reg and smbconf_txt) a header of their own each. This allows to use the basic infrastructure and single backends individually. Michael
2008-10-27[s3]libsmbconf: fall back to file backend when no valid backend was foundMichael Adam1-4/+5
Interpret the source string as a file name when it contains a ':' sign but the initial part is not a known backend. This might occur even implicitly when "%T" is used in an include file name (even though this is not realistic..). Michael
2008-10-27[s3]libsmbconf: fix comment typo.Michael Adam1-1/+1
Michael
2008-10-27[s3]libsmbconf: remove unused define.Michael Adam1-3/+0
Michael
2008-04-22libsmbconf: rename smbconf_init_txt_simple() to smbconf_init_txt().Michael Adam1-2/+2
...for consistency. Michael (This used to be commit 3d1da73f66b8452693262e2d03f986eec438451d)
2008-04-13libsmbconf: add a smbconf init dispatcher smbconf_init().Michael Adam1-0/+95
The dispatcher takes a config source argument in the form of "backend:path" where backend can (currently) be one of "txt" (aka "file") or "reg" (aka "registry"). When the path is omitted, it is up to the backend to provide a default path. When there is no separator ":" and the string is not a recognized backend, then file backend is assumed and the string is passed in as the path argument. Michael (This used to be commit cc613a60eb0f6b92cae98e8669e5e569a1eb9324)