xref: /freebsd/crypto/krb5/doc/html/_sources/appdev/refs/api/krb5_cc_set_config.rst.txt (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1krb5_cc_set_config -  Store a configuration value in a credential cache.
2=========================================================================
3
4..
5
6.. c:function:: krb5_error_code krb5_cc_set_config(krb5_context context, krb5_ccache id, krb5_const_principal principal, const char * key, krb5_data * data)
7
8..
9
10
11:param:
12
13	          **[in]** **context** - Library context
14
15	          **[in]** **id** - Credential cache handle
16
17	          **[in]** **principal** - Configuration for a specific principal; if NULL, global for the whole cache
18
19	          **[in]** **key** - Name of config variable
20
21	          **[in]** **data** - Data to store, or NULL to remove
22
23
24..
25
26
27:retval:
28         -   0   Success
29
30
31:return:
32         -  Kerberos error codes
33
34..
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49..
50
51
52
53
54
55.. warning::
56
57	 Before version 1.10 *data* was assumed to be always non-null.
58
59
60.. note::
61
62	 Existing configuration under the same key is over-written.
63
64
65
66
67