diff options
author | Greg Hudson <ghudson@mit.edu> | 2011-09-05 16:26:37 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2011-09-05 16:26:37 +0000 |
commit | f784a37909b68b7dfc1eed8c3a0e014639c90e45 (patch) | |
tree | fab81e4348cffe5ff453522f76ee49d6f5528cb3 /src/include/k5-int.h | |
parent | 319c01a8f523843169b9e5342ac2d085ad67f8a2 (diff) | |
download | krb5-f784a37909b68b7dfc1eed8c3a0e014639c90e45.tar.gz krb5-f784a37909b68b7dfc1eed8c3a0e014639c90e45.tar.xz krb5-f784a37909b68b7dfc1eed8c3a0e014639c90e45.zip |
Add new cache collection APIs
* krb5_cc_get_full_name retrieves the full type:name of a cache.
* krb5_cc_switch makes a cache the primary cache.
* krb5_cc_cache_match searches the collection for a client principal.
* krb5_free_string releases a string (for the krb5_cc_get_full_name
result).
All of these are from Heimdal except for krb5_free_string (Heimdal uses
krb5_xfree).
ticket: 6954
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25155 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/k5-int.h')
-rw-r--r-- | src/include/k5-int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index c153a7e51b..0e82ce8a9b 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -2367,6 +2367,7 @@ struct _krb5_cc_ops { krb5_timestamp *); krb5_error_code (KRB5_CALLCONV *lock)(krb5_context, krb5_ccache); krb5_error_code (KRB5_CALLCONV *unlock)(krb5_context, krb5_ccache); + krb5_error_code (KRB5_CALLCONV *switch_to)(krb5_context, krb5_ccache); }; extern const krb5_cc_ops *krb5_cc_dfl_ops; |