diff options
author | Derrell Lipman <derrell.lipman@unwireduniverse.com> | 2008-02-29 13:34:35 -0500 |
---|---|---|
committer | Karolin Seeger <ks@sernet.de> | 2008-03-04 08:58:14 +0100 |
commit | 48894994d0f86ca095a1bd617d048e7089a20e7b (patch) | |
tree | f00ddb5109313dad4edb76f2385561ea4a637484 /examples/libsmbclient/testbrowse.c | |
parent | c2beacfb3fca5c50fda985862a7a78f12cc6354d (diff) | |
download | samba-48894994d0f86ca095a1bd617d048e7089a20e7b.tar.gz samba-48894994d0f86ca095a1bd617d048e7089a20e7b.tar.bz2 samba-48894994d0f86ca095a1bd617d048e7089a20e7b.zip |
Modified revamp of the libsmbclient interface.
Given the tacit (if that) approval by some people, and clear disapproval by
others for my proposed clean-up and reorganization of libsmbclient, I've come
up with a slightly different approach. This commit changes back to the
original libsmbclient.h SMBCCTX structure which will maintain ABI
compatibility. I retain, here, the setter and getter functions which all new
code should use. Older programs already compiled should continue to work
fine. Older programs being recompiled will encounter compile-time errors
(intentionally!) so that the code can be corrected to use the setter/getter
interfaces.
Although this doesn't clean up the interface in the way I had wanted, the code
reorganization and requirement for new programs to use the setters and getters
allows future progress to be made on libsmbclient without further muddying up
the interface, while retaining the ABI compatibility that was the big issue
causing disapproval. I hope that this compromise is adequate.
Derrell
(cherry picked from commit 56429a3d60b2a48963342f6340b3c01469a892c6)
(This used to be commit 7bc53f57dcb1c3bb80cb20796ebfc743c22a76e3)
Diffstat (limited to 'examples/libsmbclient/testbrowse.c')
0 files changed, 0 insertions, 0 deletions