fossies.org currently hosts a copy of the documentation (generated by Doxygen) for several versions of the Samba suite, which includes libsmbclient
. At the time of writing, documentation is available for Samba versions 4.15.8 and 4.16.2 – look under https://fossies.org/samba to select a version, then follow the "Fossies services: Doxygen documentation" link to get to the API documentation.
Documentation for the libsmbclient
API can be found from the top-level pages of one of these versions by looking under "Modules" / "Libsmbclient". The data structures don't seem to be documented at all, but the functions do at least have (fairly minimal) documentation.
To see how the functions are to be used, the best place to look seems to be in the "examples" directory of the Samba source tree – take a look at https://github.com/samba-team/samba/tree/master/examples/libsmbclient, where you'll find small test programs which exercise bits of the libsmbclient
API.