From f9d1ced6f82eb05250e940077f0edde9c49aecef Mon Sep 17 00:00:00 2001 From: Danilo Almeida Date: Wed, 19 Jul 2000 15:59:36 +0000 Subject: [PATCH] * in_tkt.c: Add krb_in_tkt() function to initialize ticket for a given principal. It is like in_tkt() but it is public and also takes a realm for credentials caches that require a full principal name (e.g., CCAPI). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12557 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb4/ChangeLog | 7 +++++++ src/lib/krb4/in_tkt.c | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index bd0d20475..e2f10196f 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,10 @@ +2000-07-19 Danilo Almeida + + * in_tkt.c: Add krb_in_tkt() function to initialize ticket for a + given principal. It is like in_tkt() but it is public and also + takes a realm for credentials caches that require a full + principal name (e.g., CCAPI). + 2000-07-03 Tom Yu * cr_tkt.c: Frob prototypes so they don't involve narrow types. diff --git a/src/lib/krb4/in_tkt.c b/src/lib/krb4/in_tkt.c index 4e220f913..04d887d53 100644 --- a/src/lib/krb4/in_tkt.c +++ b/src/lib/krb4/in_tkt.c @@ -167,3 +167,12 @@ in_tkt(pname,pinst) return(KSUCCESS); #endif /* TKT_SHMEM */ } + +KRB5_DLLIMP int KRB5_CALLCONV +krb_in_tkt(pname, pinst, prealm) + char *pname; + char *pinst; + char *prealm; +{ + return in_tkt(pname, pinst); +} -- 2.26.2