ntlm.h | ntlm.h | |||
---|---|---|---|---|
skipping to change at line 37 | skipping to change at line 37 | |||
{ | { | |||
# endif | # endif | |||
/* Get FILE. */ | /* Get FILE. */ | |||
#include <stdio.h> | #include <stdio.h> | |||
typedef unsigned short uint16; | typedef unsigned short uint16; | |||
typedef unsigned int uint32; | typedef unsigned int uint32; | |||
typedef unsigned char uint8; | typedef unsigned char uint8; | |||
#define NTLM_VERSION "0.3.9" | #define NTLM_VERSION "0.3.10" | |||
/* | /* | |||
* These structures are byte-order dependant, and should not | * These structures are byte-order dependant, and should not | |||
* be manipulated except by the use of the routines provided | * be manipulated except by the use of the routines provided | |||
*/ | */ | |||
typedef struct | typedef struct | |||
{ | { | |||
uint16 len; | uint16 len; | |||
uint16 maxlen; | uint16 maxlen; | |||
skipping to change at line 124 | skipping to change at line 124 | |||
const char *user, const char *password); | const char *user, const char *password); | |||
/* Same as buildSmbNtlmAuthResponse, but won't treat @ in USER as a | /* Same as buildSmbNtlmAuthResponse, but won't treat @ in USER as a | |||
REALM. */ | REALM. */ | |||
extern void | extern void | |||
buildSmbNtlmAuthResponse_noatsplit (tSmbNtlmAuthChallenge * challenge, | buildSmbNtlmAuthResponse_noatsplit (tSmbNtlmAuthChallenge * challenge, | |||
tSmbNtlmAuthResponse * response, | tSmbNtlmAuthResponse * response, | |||
const char *user, | const char *user, | |||
const char *password); | const char *password); | |||
/* smbencrypt.c */ | ||||
extern void | ||||
ntlm_smb_encrypt (const char *passwd, | ||||
const uint8 * challenge, | ||||
uint8 * answer); | ||||
extern void | ||||
ntlm_smb_nt_encrypt (const char *passwd, | ||||
const uint8 * challenge, | ||||
uint8 * answer); | ||||
extern const char *ntlm_check_version (const char *req_version); | extern const char *ntlm_check_version (const char *req_version); | |||
# ifdef __cplusplus | # ifdef __cplusplus | |||
} | } | |||
# endif | # endif | |||
#endif /* NTLM_H */ | #endif /* NTLM_H */ | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 11 lines changed or added | |||