wpw_list.c

来自「基于nucleus实时操作系统的webserver源代码」· C语言 代码 · 共 53 行

C
53
字号
/***************************************************************************
*                                                                          
*    CopyrIght (c)  1993 - 2001 Accelerated Technology, Inc.               
*                                                                          
* PROPRIETARY RIGHTS of Accelerated Technology are involved in the subject 
* matter of this material.  All manufacturing, reproduction, use and sales 
* rights pertaining to this subject matter are governed by the license     
* agreement.  The recipient of this software implicity accepts the terms   
* of the license.                                                          
*                                                                          
****************************************************************************/
/***************************************************************************
*                                                                          
* FILENAME                                                  VERSION         
*                                                                          
*       wpw_list - Webserv Password List                      1.5
*                                                                          
* COMPONENT
*
*       Nucleus WebServ
*
* DESCRIPTION                                                              
*                                                                          
*       This file contains the  Nucleus WebServ user_id password            
*       structure for HTTP 1.1/1.0 Authentication.                    
*                                                                          
* DATA STRUCTURES                                                          
*                                                                          
*       webpwTable              user_id password structure for
*                               HTTP 1.1/1.0 Authentication
*                                                                          
* FUNCTIONS                                                                
*                                                                          
*       None
*                                                                          
* DEPENDENCIES                                                             
*           
*       None                            
*                                                                          
****************************************************************************/

#include "webserv/inc/nu_websr.h"    
#include "webserv/inc/wpw_auth.h"

/*  This table is in the format of {User_ID, Password} */
struct WPW_AUTH_NODE WPW_Table[] =
{
    {"john",  "doe"},
    {"fred",  "fish"},
    {"willy", "wonka"},
    {"\0",    "\0"}
};

⌨️ 快捷键说明

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