xref: /freebsd/crypto/krb5/doc/html/_sources/appdev/refs/api/krb5_kt_next_entry.rst.txt (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1krb5_kt_next_entry -  Retrieve the next entry from the key table.
2==================================================================
3
4..
5
6.. c:function:: krb5_error_code krb5_kt_next_entry(krb5_context context, krb5_keytab keytab, krb5_keytab_entry * entry, krb5_kt_cursor * cursor)
7
8..
9
10
11:param:
12
13	          **[in]** **context** - Library context
14
15	          **[in]** **keytab** - Key table handle
16
17	          **[out]** **entry** - Returned key table entry
18
19	          **[in]** **cursor** - Key table cursor
20
21
22..
23
24
25:retval:
26         -   0   Success
27         -   KRB5_KT_END   - if the last entry was reached
28
29
30:return:
31         -  Kerberos error codes
32
33..
34
35
36
37
38
39
40
41Return the next sequential entry in *keytab* and advance *cursor* . Callers must release the returned entry with krb5_kt_free_entry().
42
43
44
45
46
47
48
49
50
51
52..
53
54
55
56
57
58