diff options
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 */ |