From cbb6dc1b85d73090837fd048449e40b09836d2cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 3 Oct 2003 12:01:47 +0000 Subject: [PATCH] add _krb5_krb_dest_tkt and TKT_ROOT git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12957 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5-v4compat.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/lib/krb5/krb5-v4compat.h b/lib/krb5/krb5-v4compat.h index 5abe0ed1b..1970a8e0e 100644 --- a/lib/krb5/krb5-v4compat.h +++ b/lib/krb5/krb5-v4compat.h @@ -81,10 +81,15 @@ struct credentials { #define KERB_ERR_NULL_KEY 10 -time_t _krb5_krb_life_to_time (int, int); -int _krb5_krb_time_to_life (time_t, time_t); -int _krb5_krb_tf_setup (krb5_context, struct credentials *, - const char *, int); +#ifndef TKT_ROOT +#define TKT_ROOT "/tmp/tkt" +#endif + +time_t _krb5_krb_life_to_time (int, int); +int _krb5_krb_time_to_life (time_t, time_t); +krb5_error_code _krb5_krb_tf_setup (krb5_context, struct credentials *, + const char *, int); +krb5_error_code _krb5_krb_dest_tkt(krb5_context, const char *); #define krb_time_to_life _krb5_krb_time_to_life #define krb_life_to_time _krb5_krb_life_to_time