summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf/smbconf_private.h
AgeCommit message (Collapse)AuthorFilesLines
2008-04-13libsmbconf: rename smbconf_init() to smbconf_init_internal().Michael Adam1-2/+2
smbconf_init should be the name of the dispatcher (to be written) Michael (This used to be commit 3fb95ab757650712716472ebaccb7119feb27596)
2008-04-10libsmbconf: add delete_includes mehtod to the api (and backend implementations)Michael Adam1-0/+2
Michael (This used to be commit daef50e54d58a6684b6a890ebf523ca6245f0290)
2008-04-10libsmbconf: add talloc context to the get_includes methods.Michael Adam1-0/+1
Michael (This used to be commit ed535b6b30b5c9412803f6373eadc704de6de2f9)
2008-04-10libsmbconf: add get_includes() and set_includes() to the API.Michael Adam1-0/+6
Includes have to get a special treatment, at least for registry. Includes are not like other smbconf parameters: they are some kind of metainformation. "include" has two effects when stated twice so it can not be stored boldly into registry, since there can only be one value named "include" in registry per key. I will provide special handling for includes for the registry backend. This patch provides the necessary methods in the smbconf API. Michael (This used to be commit e86eb375d9f83f73aeea0a16c8b43e2ef21a6e20)
2008-04-10libsmbconf: add smbconf_reverse_find_in_array() to find last occurence of a ↵Michael Adam1-0/+3
string. Michael (This used to be commit 25e0fd84780f4acb80cac3b5f54f9597e0e2f53e)
2008-04-10libsmbconf: move smbconf_find_in_array() to smbconf_util.cMichael Adam1-0/+3
Michael (This used to be commit 7af79e60a3060083eae67bd053837c955b3f5c10)
2008-04-10libsmbconf: reorder prototypes in smbconf_private.hMichael Adam1-3/+3
Michael (This used to be commit 0e932a0981ef52ff9d236b887eb8177304a99915)
2008-03-21libsmbconf: add private_data section to smbconf_ctx.Michael Adam1-1/+1
This private data should be used by backends. The token for the registry backend is moved from the context to the private data section, since this is registry specific. Michael (This used to be commit a02163356bdd0c17a25a45e9904f8bd1e1c4bee4)
2008-03-21libsmbconf: add a "path" variable to the conf context.Michael Adam1-2/+3
This is passed to the module init routines. In case of the registry, this is the path of the basekey in registry, that is to be used, defaulting to KEY_SMBCONF (HKLM\software\samba\smbconf), when NULL is given. This is the only case currently used. In order to support other keys, registry initialization for smbconf has to be changed to support different keys. Michael (This used to be commit 96434d9dc7a66773e313cc128af57493dee245a1)
2008-03-21libsmbconf: move registry implementation to a module of its own.Michael Adam1-0/+5
Michael (This used to be commit 431b10bfe0dba0a49e50bebfb3f8ad1a00955837)
2008-03-21libsmbconf: reformaat - fix some whispacing/tabsMichael Adam1-7/+7
Michael (This used to be commit 1a5e5bf38f409b10c8b1da6227722c7d3976b175)
2008-03-21libsmbconf: add backend specific init function.Michael Adam1-0/+3
Hide generic init function taking smbconf_ops argument from public api. Michael (This used to be commit b3f6920ccb9a27fde26e889a7f1f3afaf56b784f)
2008-03-21libsmbconf: add shutdown handler to smbconf_ops.Michael Adam1-0/+1
Michael (This used to be commit acbd1f40e0cb4cb5b2ba826c4825edda7ee4937b)
2008-03-21libsmbconf: add open and close operations to the smbconf_ops.Michael Adam1-0/+2
Note: currently, reg_init_smbconf opens the registry, but does not close it. This has to be changed. so that it is closed. And then libsmbconf will need these open/close functions Michael (This used to be commit 77dbdf82efa60c8a7c00e489c198775b2f66e56c)
2008-03-21libsmbconf: introduce a smbconf_ops layer to allow interchangeable backends.Michael Adam1-0/+31
Michael (This used to be commit a857f643d1558c0fdab4b647695d75223b730b96)
2008-03-21libsmbconf: put the smbconf context struct into a private header.Michael Adam1-0/+27
Michael (This used to be commit a99ee5e536eee1563c90e5d7f251bfe9f5d1ffbb)