"Fossies" - the Fresh Open Source Software Archive

Member "mod_ntlm2-0.1/mod_ntlm.h" (23 Feb 2003, 1121 Bytes) of package /linux/www/apache_httpd_modules/old/mod_ntlm2-0.1.tgz:


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 /*
    2  * $Id: mod_ntlm.h,v 1.3.4.1 2003/02/23 15:56:26 casz Exp $
    3  *
    4  */
    5 
    6 /* Preprocessor macro definitions */
    7 #define NTLM_PACKAGE_NAME "NTLM"
    8 #define NTLM_AUTH_NAME "NTLM"
    9 
   10 /* Header inclusions */
   11 #include "httpd.h"
   12 #include "http_config.h"
   13 #include "http_core.h"
   14 #include "http_log.h"
   15 #include "apr_base64.h"
   16 #include "apr_strings.h"
   17 #include "http_protocol.h"
   18 
   19 #include "http_request.h"
   20 
   21 /*
   22 #include "httpd.h"
   23 #include "http_config.h"
   24 #include "apr_general.h"
   25 */
   26 
   27 #include "smbval/valid.h"
   28 
   29 #ifndef DEFAULT_MODNTLM_STRING
   30 #define DEFAULT_MODNTLM_STRING "apache2_mod_ntlm: A request was made."
   31 #endif
   32 
   33 module AP_MODULE_DECLARE_DATA ntlm_module;
   34 
   35 typedef struct ntlm_config_struct {
   36     unsigned int ntlm_on;
   37     unsigned int ntlm_basic_on;
   38     char *ntlm_basic_realm;
   39     unsigned int ntlm_authoritative;
   40     char *ntlm_domain;
   41     char *ntlm_server;
   42     char *ntlm_backup;
   43     char *ntlm_grpfile;
   44 } ntlm_config_rec;
   45 
   46 typedef struct ntlm_connection_struct {
   47     void *handle;
   48     char *nonce;
   49     char *user;
   50     char *domain;
   51     char *password;
   52     int auth_ok;
   53     unsigned int ntlmssp_flags;
   54 } ntlm_connection_rec;
   55 
   56