diff options
author | Ezra Peisach <epeisach@mit.edu> | 1995-07-10 21:54:29 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1995-07-10 21:54:29 +0000 |
commit | 96d852fbc78ba492abb8c33725c6441a846901fc (patch) | |
tree | a1aaf8bee612ef4692d812e8616567c567b9dc9e /src/kdc/kerberos_v4.c | |
parent | 04661c8bc77a09661f16a6493581c380c31240a7 (diff) | |
download | krb5-96d852fbc78ba492abb8c33725c6441a846901fc.zip krb5-96d852fbc78ba492abb8c33725c6441a846901fc.tar.gz krb5-96d852fbc78ba492abb8c33725c6441a846901fc.tar.bz2 |
kerberos_v4.c: Add prototypes for compat_decrypt_key,
kerb_get_principal, check_princ, v4_klog
network.c (process_packet): Make prog a const char *
main.c: Add prototypes for find_realm_data, setup_server_realm, usage,
request_exit, setup_signal_handlers, initialize_realms, finish_realms.
kdc_util.h: Add prototypes for against_local_policy_as,
against_local_policy_tgs, validate_as_request, validate_tgs_request,
fetch_asn1_field, kdc_initialize_rcache, process_packet.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6274 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc/kerberos_v4.c')
-rw-r--r-- | src/kdc/kerberos_v4.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/kdc/kerberos_v4.c b/src/kdc/kerberos_v4.c index cec949e..6cf0e2c 100644 --- a/src/kdc/kerberos_v4.c +++ b/src/kdc/kerberos_v4.c @@ -72,6 +72,17 @@ extern int errno; +int compat_decrypt_key PROTOTYPE((krb5_encrypted_keyblock *, C_Block)); +int kerb_get_principal PROTOTYPE((char *, char *, Principal *, unsigned int, + int *)); +int check_princ PROTOTYPE((char *, char *, unsigned, Principal *)); + +#ifdef HAVE_STDARG_H +char * v4_klog PROTOTYPE((int, const char *, ...)); +#else +char * v4_klog PROTOTYPE((int, char *, va_dcl)); +#endif + /* take this out when we don't need it anymore */ int krbONE = 1; @@ -140,7 +151,8 @@ static void hang(); static krb5_error_code retval; static krb5_data *response; -void kerberos_v4(), kerb_err_reply(); +void kerberos_v4 PROTOTYPE((struct sockaddr_in *, KTEXT)); +void kerb_err_reply PROTOTYPE((struct sockaddr_in *, KTEXT, long, char *)); krb5_error_code process_v4( pkt, client_fulladdr, is_secondary, resp) |