Diff for /embedaddon/lighttpd/src/http_auth.h between versions 1.1.1.1.2.1 and 1.1.1.2

version 1.1.1.1.2.1, 2014/06/15 20:22:25 version 1.1.1.2, 2016/11/02 10:35:00
Line 1 Line 1
 #ifndef _HTTP_AUTH_H_  #ifndef _HTTP_AUTH_H_
 #define _HTTP_AUTH_H_  #define _HTTP_AUTH_H_
   #include "first.h"
   
 #include "server.h"  #include "server.h"
 #include "plugin.h"  #include "plugin.h"
Line 15  typedef enum { Line 16  typedef enum {
         AUTH_BACKEND_PLAIN,          AUTH_BACKEND_PLAIN,
         AUTH_BACKEND_LDAP,          AUTH_BACKEND_LDAP,
         AUTH_BACKEND_HTPASSWD,          AUTH_BACKEND_HTPASSWD,
        AUTH_BACKEND_HTDIGEST,        AUTH_BACKEND_HTDIGEST,
        AUTH_BACKEND_MYSQL        AUTH_BACKEND_MYSQL
 } auth_backend_t;  } auth_backend_t;
   
 typedef struct {  typedef struct {
Line 52  typedef struct { Line 53  typedef struct {
         buffer *ldap_filter_post;          buffer *ldap_filter_post;
 #endif  #endif
   
       MYSQL  *mysql_conn;        MYSQL  *mysql_conn;
       buffer *auth_mysql_host;        buffer *auth_mysql_host;
       buffer *auth_mysql_user;        buffer *auth_mysql_user;
       buffer *auth_mysql_pass;        buffer *auth_mysql_pass;
       buffer *auth_mysql_db;        buffer *auth_mysql_db;
       buffer *auth_mysql_port;        buffer *auth_mysql_port;
       buffer *auth_mysql_socket;        buffer *auth_mysql_socket;
       buffer *auth_mysql_users_table;        buffer *auth_mysql_users_table;
       buffer *auth_mysql_col_user;        buffer *auth_mysql_col_user;
       buffer *auth_mysql_col_pass;        buffer *auth_mysql_col_pass;
       buffer *auth_mysql_col_realm;        buffer *auth_mysql_col_realm;
       buffer *auth_mysql_domains_table;        buffer *auth_mysql_domains_table;
       buffer *auth_mysql_col_domain;        buffer *auth_mysql_col_domain;
       buffer *auth_mysql_domains_table_col_domain_id;        buffer *auth_mysql_domains_table_col_domain_id;
       buffer *auth_mysql_users_table_col_domain_id;        buffer *auth_mysql_users_table_col_domain_id;
 
 } mod_auth_plugin_config;  } mod_auth_plugin_config;
   
 typedef struct {  typedef struct {
Line 86  typedef struct { Line 88  typedef struct {
   
 int http_auth_basic_check(server *srv, connection *con, mod_auth_plugin_data *p, array *req, const char *realm_str);  int http_auth_basic_check(server *srv, connection *con, mod_auth_plugin_data *p, array *req, const char *realm_str);
 int http_auth_digest_check(server *srv, connection *con, mod_auth_plugin_data *p, array *req, const char *realm_str);  int http_auth_digest_check(server *srv, connection *con, mod_auth_plugin_data *p, array *req, const char *realm_str);
int http_auth_digest_generate_nonce(server *srv, mod_auth_plugin_data *p, buffer *fn, char hh[33]);int http_auth_digest_generate_nonce(server *srv, mod_auth_plugin_data *p, buffer *fn, char (*hh)[33]);
 int http_auth_match_rules(server *srv, array *req, const char *username, const char *group, const char *host);  int http_auth_match_rules(server *srv, array *req, const char *username, const char *group, const char *host);
   
 #endif  #endif

Removed from v.1.1.1.1.2.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>