summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
* use constant name less likely to cause conflictDerrell Lipman2008-03-041-50/+50
| | | | (cherry picked from commit fd18b01016d1dc4b08983975353e62084fdc323c)
* Missed a few 'deprecated' markersDerrell Lipman2008-03-041-2/+2
| | | | (cherry picked from commit 76ba37ac46b4a77fe228ca90635fa19140541ccd)
* Continued revamping of libsmbclient.Derrell Lipman2008-03-042-225/+122
| | | | | | | | | | | | | | - James suggested using gcc's "deprecated" attribute to mark the context structure fields to generate warnings. This creates a scenario with the best of all worlds. I'm able to move to an organization that more easily allows future enhancements, while avoiding any mandatory changes by applications. Thanks, James! - Updated WHATSNEW.txt so that it accurately reflects the current state of affairs. Derrell (cherry picked from commit a67f96fbe9683b46c2149f7cb439d13f7f0e6ecd)
* fixed missing white spaceDerrell Lipman2008-03-041-0/+1
| | | | (cherry picked from commit 71e86f13b0ace3841c6712084728c79db74ff803)
* change variable name from f to fn for function pointersDerrell Lipman2008-03-041-37/+37
| | | | (cherry picked from commit 1fd65359f6cd07539cfe43146ac367a48708a678)
* Comment was in wrong placeDerrell Lipman2008-03-041-4/+3
| | | | (cherry picked from commit dec70fa3c0424c148016cc667a3c159e16d8a944)
* Mark smbc_option_{get,set} as deprecatedDerrell Lipman2008-03-041-23/+3
| | | | (cherry picked from commit a8b4b773d4647f28e7b92c5968469721d34eb550)
* Additional revamped libsmbclient documentationDerrell Lipman2008-03-042-102/+347
| | | | | | | | | - Ensured that all public functions have documentation in libsmbclient.h - Reformatted for "proper" indentation - Re-added temporarily-disabled alternate authentication function capability Derrell (cherry picked from commit 64b7150d92849a1e1e2416b9dcc12fae8d6bea99)
* Modified revamp of the libsmbclient interface.Derrell Lipman2008-03-042-4/+294
| | | | | | | | | | | | | | | | | | | | | 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)
* Initial revamp of the libsmbclient interface.Derrell Lipman2008-03-042-223/+810
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The libsmbclient interface has suffered from difficulty of improvement and feature enrichment without causing ABI breakage. Although there were a number of issues, the primary ones were: (a) the user of the library would manually manipulate the context structure members, meaning that nothing in the context structure could change other than adding stuff at the end; (b) there were three methods of setting options: setting bits in a flags field within the context structure, setting explicit options variables within an options structure in the context structure, and by calling the smbc_option_set() function; (c) the authentication callback did not traditionally provide enough information to the callee which required adding an option for a callback with a different signature, and now there are requests for even more information at the callback, requiring yet a third signature and option to set it (if we implement that feature). This commit provides a reorganization of the code which fixes (a) and (b). The context structure is now entirely opaque, and there are setter and getter functions for manipulating it. This makes maintaining ABI consistency much, much easier. Additionally, the options setting/getting has been unified into a single mechanism using smbc_option_set() and smbc_option_get(). Yet to be completed is a refactoring of the authentication callback (c). The test programs in examples/libsmbclient have been modified (if necessary; some applications require no changes at all) for the new API and a few have been minimally tested. Derrell (cherry picked from commit d4b4bae8ded824d06ad5ab0e219f71187ee5c771)
* Revert "Add basic infrastructure for general async requests"Volker Lendecke2008-03-032-90/+0
| | | | | This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390. (cherry picked from commit 030bef7f22f7a73466204b7860f397dbca9f2ab0)
* Revert "Add infrastructure to support async SMB requests"Volker Lendecke2008-03-033-93/+0
| | | | | This reverts commit f5356825698a02df2d400b51dd95d1f857c83e81. (cherry picked from commit 5f53a62be8a21b8d92ac44b18d202882500356e8)
* Remove DomainControllerAddressType which we now have in IDL.Günther Deschner2008-02-281-5/+0
| | | | Guenther
* Remove smbmount.Karolin Seeger2008-02-281-3/+2
| | | | Karolin
* Add infrastructure to support async SMB requestsVolker Lendecke2008-02-283-0/+93
|
* Add basic infrastructure for general async requestsVolker Lendecke2008-02-282-0/+90
|
* Don't define SMB_TRANS_ENC_GSS if we don't have KRB5.Jeremy Allison2008-02-281-1/+6
| | | | Jeremy.
* Remove unused marshalling for SVCCTL_SET_SERVICE_SEC.Günther Deschner2008-02-281-15/+0
| | | | Guenther
* Remove unused marshalling for SVCCTL_QUERY_SERVICE_SEC.Günther Deschner2008-02-281-14/+0
| | | | Guenther
* Remove unused BRS marshalling headers.Günther Deschner2008-02-271-79/+0
| | | | Guenther
* Remove unneeded rpc_samr.h.Günther Deschner2008-02-272-82/+0
| | | | Guenther
* Move MAX_SAM_ENTRIES defines to samr rpc_server and to samr.idl.Günther Deschner2008-02-271-5/+0
| | | | Guenther
* Move PASS_*_CHANGE_AT_NEXT_LOGON defines to samr.idl.Günther Deschner2008-02-271-3/+0
| | | | Guenther
* Move LSA_AUDIT_NUM_CATEGORIES defines to lsa rpc_server.Günther Deschner2008-02-271-4/+0
| | | | Guenther
* Move MAX_LOOKUP_SIDS to lsa.idl.Günther Deschner2008-02-271-3/+0
| | | | Guenther
* Move MAX_REF_DOMAINS to lsa.idl.Günther Deschner2008-02-271-3/+0
| | | | Guenther
* Use new LSA_POLICY defines in lsa rpc server code and other places.Günther Deschner2008-02-271-41/+28
| | | | Guenther
* add smbc_ftruncate() to emulate POSIX ftruncate()Derrell Lipman2008-02-261-0/+31
|
* add 64-bit macros from samba4Derrell Lipman2008-02-261-0/+6
|
* Remove unused marshalling for SVCCTL_UNLOCK_SERVICE_DB.Günther Deschner2008-02-191-11/+0
| | | | Guenther
* Remove unused marshalling for SVCCTL_LOCK_SERVICE_DB.Günther Deschner2008-02-191-12/+0
| | | | Guenther
* Remove unused marshalling for SVCCTL_QUERY_STATUS.Günther Deschner2008-02-191-11/+0
| | | | Guenther
* Remove unused marshalling for SVCCTL_CONTROL_SERVICE.Günther Deschner2008-02-191-12/+0
| | | | Guenther
* Remove unused marshalling for SVCCTL_START_SERVICE.Günther Deschner2008-02-191-12/+0
| | | | Guenther
* wGünther Deschner2008-02-191-62/+0
|
* Remove unused marshalling for LSA_LOOKUP_SIDS/2/3.Günther Deschner2008-02-191-164/+0
| | | | | | This also removes parse_lsa.c entirely. Guenther
* Remove unused marshalling for LSA_LOOKUP_NAMES/2/3/4Günther Deschner2008-02-181-141/+0
| | | | Guenther
* Remove unused marshalling for SVCCTL_GET_DISPLAY_NAME.Günther Deschner2008-02-181-14/+0
| | | | Guenther
* Remove unused marshalling for SVCCTL_OPEN_SERVICE.Günther Deschner2008-02-181-13/+0
| | | | Guenther
* Remove unused marshalling for SVCCTL_OPEN_SCMANAGER.Günther Deschner2008-02-181-13/+0
| | | | Guenther
* Remove unused marshalling for NTSVCS_GET_HW_PROFILE_INFO.Günther Deschner2008-02-181-17/+0
| | | | Guenther
* Remove unused marshalling for NTSVCS_HW_PROFILE_FLAGS.Günther Deschner2008-02-181-21/+0
| | | | Guenther
* Remove unused marshalling for NTSVCS_GET_DEVICE_LIST_SIZE.Günther Deschner2008-02-181-13/+0
| | | | Guenther
* Remove unused marshalling for NTSVCS_VALIDATE_DEVICE_INSTANCE.Günther Deschner2008-02-171-11/+0
| | | | Guenther
* Remove unused marshalling for NTSVCS_GET_VERSION.Günther Deschner2008-02-171-13/+0
| | | | Guenther
* Use pidl for NTSVCS.Günther Deschner2008-02-172-0/+2
| | | | Guenther
* Remove rpc_parse/parse_net.c and some last unused netlogon headers.Günther Deschner2008-02-171-30/+0
| | | | Guenther
* Remove unused marshalling for NET_AUTH3.Günther Deschner2008-02-171-21/+0
| | | | Guenther
* Remove unused marshalling for NET_SAM_LOGON_EX and finally NET_USER_INFO_3.Günther Deschner2008-02-172-379/+1
| | | | Guenther
* Remove unused marshalling for NET_AUTH. This must have been forgotten.Günther Deschner2008-02-171-12/+0
| | | | Guenther