From c227dc977a1bd382473ad97866c15dc8aa237ab6 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 26 Jan 2001 04:20:07 +0000 Subject: [PATCH] * prot.h: Add new prototypes for prot_client.c stuff. Also, add new prototype for decode_header(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12948 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/kerberosIV/ChangeLog | 5 +++++ src/include/kerberosIV/prot.h | 34 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/src/include/kerberosIV/ChangeLog b/src/include/kerberosIV/ChangeLog index 79ab3ebf6..7711b4080 100644 --- a/src/include/kerberosIV/ChangeLog +++ b/src/include/kerberosIV/ChangeLog @@ -1,3 +1,8 @@ +2001-01-25 Tom Yu + + * prot.h: Add new prototypes for prot_client.c stuff. Also, add + new prototype for decode_header(). + 2001-01-24 Tom Yu * prot.h: Add prototype for decode_kdc_request() and some rough diff --git a/src/include/kerberosIV/prot.h b/src/include/kerberosIV/prot.h index de5ee6e60..6990a36e0 100644 --- a/src/include/kerberosIV/prot.h +++ b/src/include/kerberosIV/prot.h @@ -208,6 +208,38 @@ int krb4int_getst(int, char *, int); /* strnlen.c */ extern int KRB5_CALLCONV krb4int_strnlen(const char *, int); +/* prot_client.c */ +extern int KRB5_CALLCONV krb4prot_encode_kdc_request( + char *, char *, char *, + KRB4_32, int, + char *, char *, + char *, int, int, int, + KTEXT); +extern int KRB5_CALLCONV krb4prot_decode_kdc_reply( + KTEXT, + int *, + char *, char *, char *, + long *, int *, unsigned long *, int *, KTEXT); +extern int KRB5_CALLCONV krb4prot_decode_ciph( + KTEXT, int, + C_Block, + char *, char *, char *, + int *, int *, KTEXT, unsigned long *); +extern int KRB5_CALLCONV krb4prot_encode_apreq( + int, char *, + KTEXT, KTEXT, + int, int, KTEXT); +extern int KRB5_CALLCONV krb4prot_encode_authent( + char *, char *, char *, + KRB4_32, + int, long, + int, int le, + KTEXT pkt); +extern int KRB5_CALLCONV krb4prot_decode_error( + KTEXT, int *, + char *, char *, char *, + unsigned long *, unsigned long *, char *); + /* prot_common.c */ extern int KRB5_CALLCONV krb4prot_encode_naminstrlm( char *, char *, char *, @@ -215,6 +247,8 @@ extern int KRB5_CALLCONV krb4prot_encode_naminstrlm( extern int KRB5_CALLCONV krb4prot_decode_naminstrlm( KTEXT, unsigned char **, char *, char *, char *); +extern int KRB5_CALLCONV krb4prot_decode_header( + KTEXT, int *, int *, int *); /* prot_kdc.c */ extern int KRB5_CALLCONV krb4prot_encode_kdc_reply( -- 2.26.2