xref: /freebsd/crypto/krb5/doc/html/_sources/appdev/refs/api/krb5_kt_get_name.rst.txt (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1krb5_kt_get_name -  Get a key table name.
2==========================================
3
4..
5
6.. c:function:: krb5_error_code krb5_kt_get_name(krb5_context context, krb5_keytab keytab, char * name, unsigned int namelen)
7
8..
9
10
11:param:
12
13	          **[in]** **context** - Library context
14
15	          **[in]** **keytab** - Key table handle
16
17	          **[out]** **name** - Key table name
18
19	          **[in]** **namelen** - Maximum length to fill in name
20
21
22..
23
24
25:retval:
26         -   0   Success
27         -   KRB5_KT_NAME_TOOLONG   Key table name does not fit in namelen bytes
28
29
30:return:
31         -  Kerberos error codes
32
33..
34
35
36
37
38
39
40
41Fill *name* with the name of *keytab* including the type and delimiter.
42
43
44
45
46
47
48
49
50
51
52..
53
54
55
56
57
58