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

📄 httpd.lst

📁 移植到51单片机的UIP代码
💻 LST
字号:
C51 COMPILER V8.08   HTTPD                                                                 05/07/2008 21:14:36 PAGE 1   


C51 COMPILER V8.08, COMPILATION OF MODULE HTTPD
OBJECT MODULE PLACED IN httpd.OBJ
COMPILER INVOKED BY: f:\Keil\C51\BIN\C51.EXE httpd.c LARGE BROWSE DEBUG OBJECTEXTEND

line level    source

   1          /**
   2           * \addtogroup exampleapps
   3           * @{
   4           */
   5          
   6          /**
   7           * \defgroup httpd Web server
   8           * @{
   9           *
  10           * The uIP web server is a very simplistic implementation of an HTTP
  11           * server. It can serve web pages and files from a read-only ROM
  12           * filesystem, and provides a very small scripting language.
  13           *
  14           * The script language is very simple and works as follows. Each
  15           * script line starts with a command character, either "i", "t", "c",
  16           * "#" or ".".  The "i" command tells the script interpreter to
  17           * "include" a file from the virtual file system and output it to the
  18           * web browser. The "t" command should be followed by a line of text
  19           * that is to be output to the browser. The "c" command is used to
  20           * call one of the C functions from the httpd-cgi.c file. A line that
  21           * starts with a "#" is ignored (i.e., the "#" denotes a comment), and
  22           * the "." denotes the last script line.
  23           *
  24           * The script that produces the file statistics page looks somewhat
  25           * like this:
  26           *
  27           \code
  28          i /header.html
  29          t <h1>File statistics</h1><br><table width="100%">
  30          t <tr><td><a href="/index.html">/index.html</a></td><td>
  31          c a /index.html
  32          t </td></tr> <tr><td><a href="/cgi/files">/cgi/files</a></td><td>
  33          c a /cgi/files
  34          t </td></tr> <tr><td><a href="/cgi/tcp">/cgi/tcp</a></td><td>
  35          c a /cgi/tcp
  36          t </td></tr> <tr><td><a href="/404.html">/404.html</a></td><td>
  37          c a /404.html
  38          t </td></tr></table>
  39          i /footer.plain
  40          .
  41           \endcode
  42           *
  43           */
  44          
  45          
  46          /**
  47           * \file
  48           * HTTP server.
  49           * \author Adam Dunkels <adam@dunkels.com>
  50           */
  51          
  52          /*
  53           * Copyright (c) 2001, Adam Dunkels.
  54           * All rights reserved. 
  55           *
C51 COMPILER V8.08   HTTPD                                                                 05/07/2008 21:14:36 PAGE 2   

  56           * Redistribution and use in source and binary forms, with or without 
  57           * modification, are permitted provided that the following conditions 
  58           * are met: 
  59           * 1. Redistributions of source code must retain the above copyright 
  60           *    notice, this list of conditions and the following disclaimer. 
  61           * 2. Redistributions in binary form must reproduce the above copyright 
  62           *    notice, this list of conditions and the following disclaimer in the 
  63           *    documentation and/or other materials provided with the distribution. 
  64           * 3. The name of the author may not be used to endorse or promote
  65           *    products derived from this software without specific prior
  66           *    written permission.  
  67           *
  68           * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
  69           * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  70           * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  71           * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  72           * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  73           * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  74           * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  75           * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  76           * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  77           * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  78           * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
  79           *
  80           * This file is part of the uIP TCP/IP stack.
  81           *
  82           * $Id: httpd.c,v 1.28.2.6 2003/10/07 13:22:27 adam Exp $
  83           *
  84           */
  85          
  86          /*       赏屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯屯突
  87                   

⌨️ 快捷键说明

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