(krb5_cc_get_ops): new function, return ops for a id

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11782 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-03-16 18:23:59 +00:00
parent 432dc5c0ec
commit 49efe23229

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997-2002 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997-2003 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -179,6 +179,16 @@ krb5_cc_get_type(krb5_context context,
return id->ops->prefix;
}
/*
* Return krb5_cc_ops of a the ccache `id'.
*/
const krb5_cc_ops *
krb5_cc_get_ops(krb5_context context, krb5_ccache id)
{
return id->ops;
}
/*
* Set the default cc name for `context' to `name'.
*/