~ubuntu-branches/ubuntu/trusty/cntlm/trusty

« back to all changes in this revision

Viewing changes to ntlm.h

  • Committer: Bazaar Package Importer
  • Author(s): David Watson
  • Date: 2007-11-25 20:27:45 UTC
  • mto: (1.1.3) (6.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20071125202745-v8pb09cnp4axzbmr
Tags: upstream-0.35.1
ImportĀ upstreamĀ versionĀ 0.35.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#define _NTLM_H
24
24
 
25
25
#include "xcrypt.h"
 
26
#include "auth.h"
26
27
 
27
28
#define NTLM_BUFSIZE            1024
28
29
#define NTLM_CHALLENGE_MIN      24
30
31
extern char *ntlm_hash_lm_password(char *password);
31
32
extern char *ntlm_hash_nt_password(char *password);
32
33
extern char *ntlm2_hash_password(char *username, char *domain, char *password);
33
 
extern int ntlm_request(char **dst, char *hostname, char *domain, int ntlm2, int nt, int lm, uint32_t flags);
34
 
extern int ntlm_response(char **dst, char *challenge, int challen, char *username, char *passnt2, char *passnt, char *passlm, char *hostname, char *domain, int ntlm2, int nt, int lm);
 
34
extern int ntlm_request(char **dst, struct auth_s *creds);
 
35
extern int ntlm_response(char **dst, char *challenge, int challen, struct auth_s *creds);
35
36
 
36
37
#endif /* _NTLM_H */