summaryrefslogtreecommitdiffstats
path: root/source/libnet/libnet.h
Commit message (Collapse)AuthorAgeFilesLines
* Move libnet_conf to a library lib/smbconf/ of its own, fixing the api.Michael Adam2008-03-271-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 (cherry picked from commit 5315ef41f403b96715dd68b512e9e74662e2910a)
* Use autogenerated libnet_join header.Günther Deschner2008-01-151-1/+1
| | | | Guenther
* Introduce a libnet_conf context created by libnet_conf_open().Michael Adam2008-01-131-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
* Some libnet and netapi build fixes.Günther Deschner2007-12-211-0/+26
Guenther