diff options
author | Richard Basch <probe@mit.edu> | 1997-02-06 02:31:41 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1997-02-06 02:31:41 +0000 |
commit | a0b9ce4bee60136363cfff7a93c4e42eab972c02 (patch) | |
tree | 400984337fe3766653ff4cc2cb6b7d3d7f87f3f4 /src/windows/wintel/auth.h | |
parent | a9266b1dec31de9f33b0d032b885edd377a23ee5 (diff) | |
download | krb5-a0b9ce4bee60136363cfff7a93c4e42eab972c02.tar.gz krb5-a0b9ce4bee60136363cfff7a93c4e42eab972c02.tar.xz krb5-a0b9ce4bee60136363cfff7a93c4e42eab972c02.zip |
Windows/NT integration (V1_0_WIN32_BRANCH merge)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9788 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/wintel/auth.h')
-rw-r--r-- | src/windows/wintel/auth.h | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/src/windows/wintel/auth.h b/src/windows/wintel/auth.h index ddc8b21696..e0f60ec401 100644 --- a/src/windows/wintel/auth.h +++ b/src/windows/wintel/auth.h @@ -2,24 +2,27 @@ * Implements Kerberos 4 authentication and ecryption */ -void auth_parse( - kstream ks, - unsigned char *parsedat, - int end_sub); - -int INTERFACE auth_init( - kstream str, - kstream_ptr data); - -void INTERFACE auth_destroy( - kstream str); - -int INTERFACE auth_encrypt( - struct kstream_data_block *out, - struct kstream_data_block *in, - kstream str); - -int INTERFACE auth_decrypt( - struct kstream_data_block *out, - struct kstream_data_block *in, - kstream str); +#ifndef WINTEL_AUTH_H +#define WINTEL_AUTH_H + +void auth_parse(kstream, unsigned char *, int); + +int auth_init(kstream, kstream_ptr); + +void auth_destroy(kstream); + +int auth_encrypt(struct kstream_data_block *, struct kstream_data_block *, + kstream); + +int auth_decrypt(struct kstream_data_block *, struct kstream_data_block *, + kstream); + +extern BOOL forward_flag; +extern BOOL forwardable_flag; +extern BOOL forwarded_tickets; + +#ifdef ENCRYPTION +extern BOOL encrypt_flag; +#endif + +#endif /* WINTEL_AUTH_H */ |