ntlm.h | ntlm.h | |||
---|---|---|---|---|
skipping to change at line 34 | skipping to change at line 34 | |||
# ifdef __cplusplus | # ifdef __cplusplus | |||
extern "C" | extern "C" | |||
{ | { | |||
# endif | # endif | |||
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.7" | #define NTLM_VERSION "0.3.8" | |||
/* | /* | |||
* 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 101 | skipping to change at line 101 | |||
extern void | extern void | |||
dumpSmbNtlmAuthRequest (FILE * fp, tSmbNtlmAuthRequest * request); | dumpSmbNtlmAuthRequest (FILE * fp, tSmbNtlmAuthRequest * request); | |||
extern void | extern void | |||
dumpSmbNtlmAuthChallenge (FILE * fp, tSmbNtlmAuthChallenge * challenge) ; | dumpSmbNtlmAuthChallenge (FILE * fp, tSmbNtlmAuthChallenge * challenge) ; | |||
extern void | extern void | |||
dumpSmbNtlmAuthResponse (FILE * fp, tSmbNtlmAuthResponse * response); | dumpSmbNtlmAuthResponse (FILE * fp, tSmbNtlmAuthResponse * response); | |||
extern void | extern void | |||
buildSmbNtlmAuthRequest (tSmbNtlmAuthRequest * request, | buildSmbNtlmAuthRequest (tSmbNtlmAuthRequest * request, | |||
const char *user, const char *domain); | const char *user, const char *domain); | |||
/* Same as buildSmbNtlmAuthRequest, but won't treat @ in USER as a | ||||
DOMAIN. */ | ||||
extern void | ||||
buildSmbNtlmAuthRequest_noatsplit (tSmbNtlmAuthRequest * request, | ||||
const char *user, const char *domain) | ||||
; | ||||
extern void | extern void | |||
buildSmbNtlmAuthResponse (tSmbNtlmAuthChallenge * challenge, | buildSmbNtlmAuthResponse (tSmbNtlmAuthChallenge * challenge, | |||
tSmbNtlmAuthResponse * response, | tSmbNtlmAuthResponse * response, | |||
const char *user, const char *password); | const char *user, const char *password); | |||
extern const char * | /* Same as buildSmbNtlmAuthResponse, but won't treat @ in USER as a | |||
ntlm_check_version (const char *req_version); | REALM. */ | |||
extern void | ||||
buildSmbNtlmAuthResponse_noatsplit (tSmbNtlmAuthChallenge * challenge, | ||||
tSmbNtlmAuthResponse * response, | ||||
const char *user, | ||||
const char *password); | ||||
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. 4 change blocks. | ||||
3 lines changed or deleted | 18 lines changed or added | |||