Imported Upstream version 1.20.1
[platform/upstream/krb5.git] / doc / html / _sources / appdev / refs / api / krb5_kt_add_entry.rst.txt
1 krb5_kt_add_entry -  Add a new entry to a key table. 
2 =====================================================
3
4 ..
5
6 .. c:function:: krb5_error_code krb5_kt_add_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry * entry)
7
8 ..
9
10
11 :param:
12
13                   **[in]** **context** - Library context
14
15                   **[in]** **id** - Key table handle
16
17                   **[in]** **entry** - Entry to be added
18
19
20 ..
21
22
23 :retval:
24          -   0   Success
25          -   ENOMEM   Insufficient memory
26          -   KRB5_KT_NOWRITE   Key table is not writeable
27
28
29 :return:
30          -  Kerberos error codes 
31
32 ..
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47 ..
48
49
50
51
52