From ffe74eddd96070ade5066b7376fe80cb909af0c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 30 Sep 2005 10:04:48 +0000 Subject: [PATCH] (krb5_cc_ops): add cache iteration functions git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16105 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/krb5/krb5.h b/lib/krb5/krb5.h index 29d4921a8..b57eeaa26 100644 --- a/lib/krb5/krb5.h +++ b/lib/krb5/krb5.h @@ -368,6 +368,8 @@ typedef struct krb5_creds { krb5_ticket_flags flags; } krb5_creds; +typedef struct krb5_cc_cache_cursor_data *krb5_cc_cache_cursor; + typedef struct krb5_cc_ops { const char *prefix; const char* (*get_name)(krb5_context, krb5_ccache); @@ -388,6 +390,9 @@ typedef struct krb5_cc_ops { krb5_flags, krb5_creds*); krb5_error_code (*set_flags)(krb5_context, krb5_ccache, krb5_flags); int (*get_version)(krb5_context, krb5_ccache); + krb5_error_code (*get_cache_first)(krb5_context, krb5_cc_cursor *); + krb5_error_code (*get_cache_next)(krb5_context, krb5_cc_cursor, krb5_ccache *); + krb5_error_code (*end_cache_get)(krb5_context, krb5_cc_cursor); } krb5_cc_ops; struct krb5_log_facility;