aboutsummaryrefslogtreecommitdiff
path: root/client/internal.h
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-02-09 14:00:35 -0800
committerRuss Allbery <rra@stanford.edu>2010-02-09 14:00:35 -0800
commit3b7b000d2d2423a578c0ddfa63773764417aec9e (patch)
tree2aec3b6d482053845d66a01b011ace36482eb9c0 /client/internal.h
parentb7af0beced6e891a652d4caf36a2ec498090a955 (diff)
Use a temporary disk cache in the wallet client instead of memory
The wallet client now uses a temporary disk ticket cache when obtaining tickets with the -u option rather than an in-memory cache, allowing for a libremctl built against a different Kerberos implementation than the wallet client. This primarily helps with testing.
Diffstat (limited to 'client/internal.h')
-rw-r--r--client/internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/internal.h b/client/internal.h
index 860ef54..e48616a 100644
--- a/client/internal.h
+++ b/client/internal.h
@@ -22,10 +22,11 @@ BEGIN_DECLS
/*
* Given a Kerberos context and a principal name, obtain Kerberos credentials
- * for that principal and store them in a memory cache for use by later
- * operations.
+ * for that principal and store them in a temporary ticket cache for use by
+ * later operations. kdestroy() then cleans up that cache.
*/
void kinit(krb5_context, const char *principal);
+void kdestroy(void);
/*
* Given a remctl object, run a remctl command. If data is non-NULL, saves