]> Pileus Git - ~andy/fetchmail/blobdiff - ntlm.h
Add new gai.c debug source.
[~andy/fetchmail] / ntlm.h
diff --git a/ntlm.h b/ntlm.h
index 3f6d206f285a88b21e764bba55e155b4e5e42023..ad835201ce1515deef88bef04d88c4309fd4d843 100644 (file)
--- a/ntlm.h
+++ b/ntlm.h
@@ -1,7 +1,6 @@
-typedef unsigned short uint16;
-typedef unsigned int   uint32;
-typedef unsigned char  uint8;
+/* ntlm.h  -- interface declarations for SMB authentication code */
 
+#include "smbtypes.h"
 
 /* 
  * These structures are byte-order dependant, and should not
@@ -33,8 +32,8 @@ uint32        msgType;
 tSmbStrHeader    uDomain;
 uint32        flags;
 uint8         challengeData[8];
-uint8         reserved[8];
-tSmbStrHeader    emptyString;
+uint32        context[2];
+tSmbStrHeader    targetInfo;
 uint8         buffer[1024];
 uint32        bufIndex;
 }tSmbNtlmAuthChallenge;
@@ -66,3 +65,4 @@ extern void dumpSmbNtlmAuthResponse(FILE *fp, tSmbNtlmAuthResponse *response);
 extern void buildSmbNtlmAuthRequest(tSmbNtlmAuthRequest *request, char *user, char *domain);
 extern void buildSmbNtlmAuthResponse(tSmbNtlmAuthChallenge *challenge, tSmbNtlmAuthResponse *response, char *user, char *password);
 
+/* ntlm.h ends here */