"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 /* mod_ntlm file: $Id: valid.h,v 1.3 2003/02/21 01:55:14 casz Exp $ */
2
3 #ifndef _VALID_H_
4 #define _VALID_H_
5 /* SMB User verification function */
6
7 #define NTV_NO_ERROR 0
8 #define NTV_SERVER_ERROR 1
9 #define NTV_PROTOCOL_ERROR 2
10 #define NTV_LOGON_ERROR 3
11
12 static int Valid_User(char *USERNAME, char *PASSWORD, char *SERVER, char *BACKUP, char *DOMAIN);
13 static void *NTLM_Connect(char *SERVER, char *BACKUP, char *DOMAIN, char *nonce);
14 static int NTLM_Auth(void *handle, char *USERNAME, char *PASSWORD, int flag);
15 static void NTLM_Disconnect(void *handle);
16
17 #endif