Age | Commit message (Collapse) | Author | Files | Lines |
|
Michael
(This used to be commit b50fdf321dc8056caa2b057cbd7f83792dfbcd4d)
|
|
section
Michael
(This used to be commit e1b98f1cbce72d12085d86da834f0949ecbfbf67)
|
|
Michael
(This used to be commit 9efd7b515183fa28f400fe88af63e0b0126e3e00)
|
|
Michael
(This used to be commit f76ec7d87e206426c795374397ba725ecdeec784)
|
|
Always be verbatim for now. Backend config options may be added later
via some private data pointer.
Michael
(This used to be commit e8bafcfbf4a7ab1dc1ce4f2acd24b0eb74933256)
|
|
smbconf_init should be the name of the dispatcher (to be written)
Michael
(This used to be commit 3fb95ab757650712716472ebaccb7119feb27596)
|
|
Michael
(This used to be commit daef50e54d58a6684b6a890ebf523ca6245f0290)
|
|
Michael
(This used to be commit dd543cd30c3eca9621681ba4b6e9a6683ef2bd07)
|
|
Michael
(This used to be commit 5e253e10b7f80af1f5a855c8e0f00846853cced1)
|
|
Michael
(This used to be commit ed535b6b30b5c9412803f6373eadc704de6de2f9)
|
|
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)
|
|
they come.
with verbatim == true, parameters are stored as they come from the input file,
duplicates are listed multiple times, etc.
Michael
(This used to be commit c65575f831e9929ef7e66f2c7bfeed50f135b4b2)
|
|
in preparation of using the verbatim flag.
Michael
(This used to be commit c68cd2477c65d5521a713ae0f37cf2994d2c339e)
|
|
otherwise verbatim parameter can have no effect.
Michael
(This used to be commit 2ff0b693d7fc7e130a2fb14c06ae8bc28f4b5c57)
|
|
Michael
(This used to be commit b9e72b402de412c23702715ead96c20e9b3248cc)
|
|
so we make sure to always deliver the value last read.
Michael
(This used to be commit 2eb5a681e9e3ff302b5151f25d6856834eae7d54)
|
|
Michael
(This used to be commit 7af79e60a3060083eae67bd053837c955b3f5c10)
|
|
Michael
(This used to be commit 9890f437264c6acc8c61c430a53c4645e0a12959)
|
|
Michael
(This used to be commit ee46f0eca6ea21d0c51103252fecf911bb448687)
|
|
instead of having it directly as a member in the private data struct.
This makes it easier to flush and initialize the cache.
Michael
(This used to be commit 03efb72b4632e2bbb0838ca56a3e556448bda5c5)
|
|
And use it also in the close operation.
Michael
(This used to be commit 8cb288124993eb59459e7e9777c65e58c0554d55)
|
|
This is a simple implementation of text backend for libsmbconf.
It is read only. It uses the parser from params.c. It loads the
given config file and holds the parsed lists of strings in memory.
Config is only re-read if the time stamp of the config file has changed.
Brilliant performance on large files is not to be expected since the
string lists are not hashed. This might be added in the future.
Michael
(This used to be commit 4ea50843852b335a9bd4c0535a5b684134ad8326)
|