Add new cache collection APIs
authorGreg Hudson <ghudson@mit.edu>
Mon, 5 Sep 2011 16:26:37 +0000 (16:26 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 5 Sep 2011 16:26:37 +0000 (16:26 +0000)
commitf784a37909b68b7dfc1eed8c3a0e014639c90e45
treefab81e4348cffe5ff453522f76ee49d6f5528cb3
parent319c01a8f523843169b9e5342ac2d085ad67f8a2
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
13 files changed:
src/include/k5-int.h
src/include/krb5/krb5.hin
src/lib/krb5/ccache/cc_dir.c
src/lib/krb5/ccache/cc_file.c
src/lib/krb5/ccache/cc_keyring.c
src/lib/krb5/ccache/cc_memory.c
src/lib/krb5/ccache/cc_mslsa.c
src/lib/krb5/ccache/ccbase.c
src/lib/krb5/ccache/cccursor.c
src/lib/krb5/ccache/ccfns.c
src/lib/krb5/krb/kfree.c
src/lib/krb5/libkrb5.exports
src/lib/krb5_32.def