From: Ezra Peisach Date: Fri, 8 Jun 2001 20:27:29 +0000 (+0000) Subject: * krb.h: Add "internal" prototypes cr_err_reply(), create_ciph(), X-Git-Tag: krb5-1.3-alpha1~1442 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c1e1f2861e6c639b86665ac98867d6784e99c477;p=krb5.git * krb.h: Add "internal" prototypes cr_err_reply(), create_ciph(), krb_create_ticket(), krb5_cr_tkt_krb5(), krb_set_key_krb5(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13320 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/kerberosIV/ChangeLog b/src/include/kerberosIV/ChangeLog index 16adfcd39..d01bdcdb7 100644 --- a/src/include/kerberosIV/ChangeLog +++ b/src/include/kerberosIV/ChangeLog @@ -1,3 +1,8 @@ +2001-06-08 Ezra Peisach + + * krb.h: Add "internal" prototypes cr_err_reply(), create_ciph(), + krb_create_ticket(), krb5_cr_tkt_krb5(), krb_set_key_krb5(). + 2001-05-31 Ezra Peisach * des.h: Do not use "encrypt" as an argument. diff --git a/src/include/kerberosIV/krb.h b/src/include/kerberosIV/krb.h index b2cd93924..d650df905 100644 --- a/src/include/kerberosIV/krb.h +++ b/src/include/kerberosIV/krb.h @@ -609,6 +609,32 @@ extern int decomp_ticket char *sname, char *sinstance, C_Block, Key_schedule key_s); + +extern void cr_err_reply(KTEXT pkt, char *pname, char *pinst, char *prealm, + u_long time_ws, u_long e, char *e_string); + +extern int create_ciph(KTEXT c, C_Block session, char *service, + char *instance, char *realm, unsigned long life, + int kvno, KTEXT tkt, unsigned long kdc_time, + C_Block key); + + +extern int krb_create_ticket(KTEXT tkt, unsigned int flags, char *pname, + char *pinstance, char *prealm, long paddress, + char *session, int life, long time_sec, + char *sname, char *sinstance, C_Block key); + +#ifdef KRB5_GENERAL__ +extern int krb_cr_tkt_krb5(KTEXT tkt, unsigned int flags, char *pname, + char *pinstance, char *prealm, long paddress, + char *session, int life, long time_sec, + char *sname, char *sinstance, + krb5_keyblock *k5key); + +extern int krb_set_key_krb5(krb5_context ctx, krb5_keyblock *key); + +#endif + #ifdef _WINDOWS HINSTANCE get_lib_instance(void); unsigned int krb_get_notification_message(void);