1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

krb5_wrap: Document smb_krb5_gen_netbios_krb5_address()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2016-08-29 08:57:47 +02:00 committed by Andrew Bartlett
parent 904e233726
commit c5fa646b53

View File

@ -786,7 +786,18 @@ krb5_error_code smb_krb5_free_addresses(krb5_context context,
}
#define MAX_NETBIOSNAME_LEN 16
krb5_error_code smb_krb5_gen_netbios_krb5_address(smb_krb5_addresses **kerb_addr,
/**
* @brief Add a netbios name to the array of addresses
*
* @param[in] kerb_addr A pointer to the smb_krb5_addresses to add the
* netbios name to.
*
* @param[in] netbios_name The netbios name to add.
*
* @return 0 on success, a Kerberos error code otherwise.
*/
krb5_error_code smb_krb5_gen_netbios_krb5_address(smb_krb5_addresses **kerb_addr,
const char *netbios_name)
{
krb5_error_code ret = 0;