Logo Search packages:      
Sourcecode: samba-doc-ja version File versions

typedef void(* smbc_get_auth_data_fn)(const char *srv, const char *shr, char *wg, int wglen, char *un, int unlen, char *pw, int pwlen)

Authentication callback function type.

Type for the the authentication function called by the library to obtain authentication credentals

Parameters:
srv Server being authenticated to
shr Share being authenticated to
wg Pointer to buffer containing a "hint" for the workgroup to be authenticated. Should be filled in with the correct workgroup if the hint is wrong.
wglen The size of the workgroup buffer in bytes
un Pointer to buffer containing a "hint" for the user name to be use for authentication. Should be filled in with the correct workgroup if the hint is wrong.
unlen The size of the username buffer in bytes
pw Pointer to buffer containing to which password copied
pwlen The size of the password buffer in bytes

Definition at line 185 of file libsmbclient.h.


Generated by  Doxygen 1.6.0   Back to index