diff --git a/lib/krb5/cache.c b/lib/krb5/cache.c index 8a30d9459..29c5ba1ac 100644 --- a/lib/krb5/cache.c +++ b/lib/krb5/cache.c @@ -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'. */