⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 auth_basic.h

📁 一个功能非常全面的代理服务器源代码程序,
💻 H
字号:
/* * auth_basic.h * Internal declarations for the basic auth module */#ifndef __AUTH_BASIC_H__#define __AUTH_BASIC_H__#define DefaultAuthenticateChildrenMax  32	/* 32 processes *//* Generic */typedef struct {    void *data;    auth_user_request_t *auth_user_request;    RH *handler;} authenticateStateData;typedef struct _auth_basic_queue_node auth_basic_queue_node;/* queue of auth requests waiting for verification to occur */struct _auth_basic_queue_node {    auth_basic_queue_node *next;    RH *handler;    void *data;};struct _basic_data {    char *username;    char *passwd;    time_t credentials_checkedtime;    struct {	unsigned int credentials_ok:2;	/*0=unchecked,1=ok,2=failed */    } flags;    auth_basic_queue_node *auth_queue;};/* configuration runtime data */struct _auth_basic_config {    int authenticateChildren;    int authenticateConcurrency;    char *basicAuthRealm;    wordlist *authenticate;    time_t credentialsTTL;    int casesensitive;    int blankpassword;};typedef struct _auth_basic_config auth_basic_config;typedef struct _basic_data basic_data;#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -