krb5_wrap: Document smb_krb5_gen_netbios_krb5_address()
authorAndreas Schneider <asn@samba.org>
Mon, 29 Aug 2016 06:57:47 +0000 (08:57 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 31 Aug 2016 18:59:14 +0000 (20:59 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/krb5_wrap/krb5_samba.c

index 995ba5b357b6c640e140b6fa6ae984fa40d8c3b5..dde85f9e2b9a5e7aacbadf49b59ee89cc79e50cd 100644 (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;