Age | Commit message (Collapse) | Author | Files | Lines |
|
Create the [global] section if it does not yet exist.
Michael
(This used to be commit 90fa2981c949e21f66a44d634ebe9d661819f0a3)
|
|
It creates the [global] section if it does not yet exist.
Michael
(This used to be commit 627a29b690c30f1096a4746186089cd9a1c92407)
|
|
Also remove the "convenience function" section comment.
The set_global_parameter function now has a right to exist
in the api.
Michael
(This used to be commit fd99c1804ae04b7c2a2b0a605e83ba88fa362edb)
|
|
Michael
(This used to be commit c050b148d00c79571ef0e85c6e7c86d551ca6efd)
|
|
Michael
(This used to be commit ad2497cfac90b2e91be6995931629453fd6ed5fa)
|
|
Günther, I wanted to have this as atomic as possible.
I will add this behaviour to libnet_conf_set_global_parameter() next
with the justification that [global] should exist transparently.
Michael
(This used to be commit e2b34e9c028d712c7c8b22aade2c11d347ae176d)
|
|
The libnet_conf_ctx stores the information necessary to interoperate
with the configuration. It is created by calling libnet_conf_open()
and destroyed by calling libnet_conf_close(). The context is passed
to all the libnet_conf functions. It currently stores the token to
access the registry. Later, it could store more data, e.g. the server
to connect to, credentials, and so on. For support of other backends
than registry or support of remote configuration, only the open
function will have to be changed.
In net_conf, the calls to the actual net_conf functions is wrapped
into a function that calls libnet_conf_open()/_close(). Thus an
individual variant of net_conf_runfunction2() and functable2 is
used to cope with functions being called by the wrapper with the
additional libnet_conf_ctx argument.
Michael
(This used to be commit c2a9346faa26e79af5948197a1b322e545f0ed09)
|
|
Michael, please have a look.
Guenther
(This used to be commit 9f4506e5e2828e0f23bc37586770995c3424b208)
|
|
This is ist still in preparation and will follow soon. Soory!
Michael
(This used to be commit 75acdb54a454ffda9d422fcafb573c8f5581d2e8)
|
|
Michael
(This used to be commit 83aed537c16f632599484f60c5ccebc3ab713801)
|
|
Michael
(This used to be commit 9cd30fb25c42e79946b5140994d0bf2ef4c62f90)
|
|
Guenther
(This used to be commit 65537eae842065a1dd68d8e532e61502b61e1dbe)
|
|
Open state is currently tracked by a global variable
to avoid double initialization.
Later, this can possibly be replaced by a conf-context
created by an initialization function and passed around
to the other api functions.
Michael
(This used to be commit 77713e776405800ac54c692a77cd4efd153042cb)
|
|
Michael
(This used to be commit 5d557e3f95b8d53114c25ba7fa3e564a50be9e05)
|
|
Now all functions are converted to the consistent naming scheme.
Michael
(This used to be commit a559533c0c8a80f3f4078bbc2675de395359485f)
|
|
Michael
(This used to be commit 073eeca51e46da6a687175aadbfdbb9e029532d6)
|
|
Michael
(This used to be commit d08556dbc7071933feaeec538f01ac8f6a637b1d)
|
|
Michael
(This used to be commit e00cb415d30b3e72ccfb7e5c366c95ec0f9c6247)
|
|
Michael
(This used to be commit 2075baf551ca7fc6bcee6b93f63fd7fbf75f9a50)
|
|
Michael
(This used to be commit 1575612f1936312125e7778a9a4227e444ea36cf)
|
|
Michael
(This used to be commit 6bc4ee210855dbfbee9e86b59e90b08ecb3a9df9)
|
|
Michael
(This used to be commit 3258758e5c8dfc2c681e1285cb34aaacae697a55)
|
|
Michael
(This used to be commit 2e4beee66b3672c3259b312aca3d482598731119)
|
|
Michael
(This used to be commit e8f7c07699b5b93acd81b24bca908769f0b5e8d8)
|
|
Michael
(This used to be commit 42ae33a96228e916d7d530d844be6937a80d4fea)
|
|
Now all internal helper functions are converted to the consistent
naming scheme.
Michael
(This used to be commit c23e6636a886d93b98c9439ba081def0385f67ac)
|
|
libnet_conf_format_registry_value().
Michael
(This used to be commit 3f9f35335127a673639fa30c88cdea6c79f04b92)
|
|
Michael
(This used to be commit 96b2923bc3c57700352869627c38609529d53cd2)
|
|
libnet_conf_reg_create_service_key().
Michael
(This used to be commit cd1846943cbcc02ea9fa3b9237bd02e667a475db)
|
|
Michael
(This used to be commit 49f740797bb7fc5edacbd4c3e8b1eb1aab131ea4)
|
|
Michael
(This used to be commit c2ba52b2c34abc42b4ff7945715dc36e08a2f112)
|
|
libnet_conf_reg_open_service_key().
Michael
(This used to be commit 4d86d2dd6f0a577e446ccb4b362b3cd80f819600)
|
|
Michael
(This used to be commit 9868364e2c7827ac7914bee711a65d4456a5e366)
|
|
libnet_conf_add_string_to_array().
This is the start of making nomenclature more consistent
(functions in libnet_conf.c should be called libnet_conf_*,
not libnet_smbconf_* ...
Michael
(This used to be commit 0dd3967bfd88a4d90941e80134c549f5ade63ad0)
|
|
Michael
(This used to be commit 3fc3fee88afd9e8b6232afc140a07090b4215c23)
|
|
Michael
(This used to be commit 2d0c7fe44f075205db1713ef2d69006f7192c490)
|
|
libnet_smbconf_reg_create_service_key.
Michael
(This used to be commit 08056a2c8160a44d27744467da467faea9ba0686)
|
|
And make libnet_smbconf_setparm() return error if the share
does not already exist. Adapt net_conf_addshare to this new
situation.
Michael
(This used to be commit de349bd26db3341815f6d8f6c18a5ca1fd664dca)
|
|
Guenther
(This used to be commit ff3f0006d167a9bca85919bf6115d73413554909)
|
|
Michael
(This used to be commit 9d7502115e0f6cdfd27943d52f0de04447582b92)
|
|
Replaces creation of token and direct use of reg_open_path.
Michael
(This used to be commit 7e407e18be0761e7004acfbd2376c3a435922c25)
|
|
Creates new function libnet_smbconf_reg_open_path().
Use libnet_smbconf_reg_open_path() directly in libnet_smbconf_reg_open_basekey().
Return error in libnet_smbconf_reg_open_service_key() when NULL
servicename is given.
Michael
(This used to be commit 1e46b479638c54e8bd7ba939bc7aba18a27b5155)
|
|
Michael
(This used to be commit a58ccbc6d70613f7572bc80621935d81f9e290e3)
|
|
Michael
(This used to be commit 8a7954a9ae13df527ccedb1004ee4f87d506ce5b)
|
|
Michael
(This used to be commit 3972deb90c4b645fb4d207a7e132cd7e180e78bb)
|
|
Michael
(This used to be commit d95b4935d3a97ca9c4b7990bbcf4e85c81c79516)
|
|
:-)
Michael
(This used to be commit a1d3f60ea753a158447bb0208441453b76a0f3b9)
|
|
Michael
(This used to be commit 39a73b6291fd028d44fc2712afa76abf1fcff9cb)
|
|
Michael
(This used to be commit 9e953a94e9b3a060769938ef6af25623e446c180)
|
|
Now the registry backend is completely hidden from the API.
Michael
(This used to be commit 5608c398ad9a0d05d651905a81dd92b7a0e120ff)
|