From ae929367529bd6c48a8f515ddf5a38838bf6199f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 2 Nov 2008 07:05:29 +0000 Subject: [PATCH] cursor is dead, add uuid to kcm_creds git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24004 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kcm/kcm_locl.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/kcm/kcm_locl.h b/kcm/kcm_locl.h index 87101620a..ef14b4d2a 100644 --- a/kcm/kcm_locl.h +++ b/kcm/kcm_locl.h @@ -65,12 +65,11 @@ struct kcm_ccache_data; struct kcm_creds; -typedef struct kcm_cursor { - pid_t pid; - uint32_t key; - struct kcm_creds *credp; /* pointer to next credential */ - struct kcm_cursor *next; -} kcm_cursor; +struct kcm_creds { + uuid_t uuid; + krb5_creds cred; + struct kcm_creds *next; +}; typedef struct kcm_ccache_data { char *name; @@ -81,12 +80,7 @@ typedef struct kcm_ccache_data { gid_t gid; krb5_principal client; /* primary client principal */ krb5_principal server; /* primary server principal (TGS if NULL) */ - struct kcm_creds { - krb5_creds cred; /* XXX would be useful for have ACLs on creds */ - struct kcm_creds *next; - } *creds; - uint32_t n_cursor; - kcm_cursor *cursors; + struct kcm_creds *creds; krb5_deltat tkt_life; krb5_deltat renew_life; union {