xref: /freebsd/crypto/krb5/doc/html/_sources/appdev/refs/api/krb5_cc_get_config.rst.txt (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1krb5_cc_get_config -  Get a configuration value from a credential cache.
2=========================================================================
3
4..
5
6.. c:function:: krb5_error_code krb5_cc_get_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 this principal; if NULL, global for the whole cache
18
19	          **[in]** **key** - Name of config variable
20
21	          **[out]** **data** - Data to be fetched
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
42Use krb5_free_data_contents() to free *data* when it is no longer needed.
43
44
45
46
47
48
49
50
51
52
53..
54
55
56
57
58
59