From 993cd85bc6963e1c0b9df2ca71b24cbae1d1dc7b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 28 Dec 2006 01:36:49 +0000 Subject: [PATCH] comment the various data structures git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19016 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/cc_memory.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/krb5/ccache/cc_memory.c b/src/lib/krb5/ccache/cc_memory.c index 124548ce6..0fcfa8869 100644 --- a/src/lib/krb5/ccache/cc_memory.c +++ b/src/lib/krb5/ccache/cc_memory.c @@ -93,11 +93,13 @@ extern krb5_error_code krb5_change_cache (void); #define KRB5_OK 0 +/* Individual credentials within a cache, in a linked list. */ typedef struct _krb5_mcc_link { struct _krb5_mcc_link *next; krb5_creds *creds; } krb5_mcc_link, *krb5_mcc_cursor; +/* Per-cache data header. */ typedef struct _krb5_mcc_data { char *name; k5_mutex_t lock; @@ -105,11 +107,13 @@ typedef struct _krb5_mcc_data { krb5_mcc_cursor link; } krb5_mcc_data; +/* List of memory caches. */ typedef struct krb5_mcc_list_node { struct krb5_mcc_list_node *next; krb5_mcc_data *cache; } krb5_mcc_list_node; +/* Iterator over memory caches. */ struct krb5_mcc_ptcursor_data { struct krb5_mcc_list_node *cur; }; -- 2.26.2