(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:
@@ -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).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -179,6 +179,16 @@ krb5_cc_get_type(krb5_context context,
|
|||||||
return id->ops->prefix;
|
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'.
|
* Set the default cc name for `context' to `name'.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user