From b480df25759038dfec1b6db60321fbd94d5d4a51 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Mon, 23 Apr 1990 15:29:11 +0000 Subject: [PATCH] add const to appropriate protos add prototype for dispatch add #define to nuke process_v4 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@554 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/kdc_util.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/kdc/kdc_util.h b/src/kdc/kdc_util.h index ecda3cb13..51decc0f5 100644 --- a/src/kdc/kdc_util.h +++ b/src/kdc/kdc_util.h @@ -31,19 +31,25 @@ krb5_error_code kdc_convert_key PROTOTYPE((krb5_keyblock *, krb5_keyblock *, int)); krb5_error_code decrypt_tgs_req PROTOTYPE((krb5_tgs_req *, - krb5_fulladdr *)); + const krb5_fulladdr *)); krb5_error_code kdc_process_tgs_req PROTOTYPE((krb5_tgs_req *, krb5_fulladdr *)); /* do_as_req.c */ krb5_error_code process_as_req PROTOTYPE((krb5_as_req *, - krb5_fulladdr *, + const krb5_fulladdr *, krb5_data ** )); /* do_tgs_req.c */ krb5_error_code process_tgs_req PROTOTYPE((krb5_tgs_req *, - krb5_fulladdr *, + const krb5_fulladdr *, krb5_data ** )); +/* dispatch.c */ +krb5_error_code dispatch PROTOTYPE((const krb5_data *, + const krb5_fulladdr *, + krb5_data **)); + +/* network.c */ void listen_and_process PROTOTYPE((void)); void setup_network PROTOTYPE((void)); void closedown_network PROTOTYPE((void)); @@ -57,6 +63,7 @@ void closedown_network PROTOTYPE((void)); #define clear(flagfield, flag) (flagfield &= ~(flag)) #define realm_of_tgt(ticket) krb5_princ_realm(ticket->server) +#define process_v4(foo) KRB5KRB_AP_ERR_BADVERSION #ifndef min #define min(a, b) ((a) < (b) ? (a) : (b)) -- 2.26.2