summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet.h
AgeCommit message (Collapse)AuthorFilesLines
2008-03-17Move libnet_conf to a library lib/smbconf/ of its own, fixing the api.Michael Adam1-1/+0
The libnet_conf code to access the registry based configuration has become more of a library used in several places in samba (e.g. loadparm) than an abstraction of "net conf". So I move it to a location lib/smbconf/. In the same breath, the api is fixed (not generated by make proto anymore). Michael (This used to be commit 5315ef41f403b96715dd68b512e9e74662e2910a)
2008-01-15Use autogenerated libnet_join header.Günther Deschner1-1/+1
Guenther (This used to be commit d94bd3a03b574b3fdddd62add25b0c04673500a3)
2008-01-13Introduce a libnet_conf context created by libnet_conf_open().Michael Adam1-0/+1
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)
2007-12-21Some libnet and netapi build fixes.Günther Deschner1-0/+26
Guenther (This used to be commit 1d47247283f7bc75291007be3fde72b1d3d95b99)