| 1 |
583 |
jeremybenn |
/**
|
| 2 |
|
|
* \addtogroup httpd
|
| 3 |
|
|
* @{
|
| 4 |
|
|
*/
|
| 5 |
|
|
|
| 6 |
|
|
/**
|
| 7 |
|
|
* \file
|
| 8 |
|
|
* HTTP script language header file.
|
| 9 |
|
|
* \author Adam Dunkels <adam@dunkels.com>
|
| 10 |
|
|
*/
|
| 11 |
|
|
|
| 12 |
|
|
/*
|
| 13 |
|
|
* Copyright (c) 2001, Adam Dunkels.
|
| 14 |
|
|
* All rights reserved.
|
| 15 |
|
|
*
|
| 16 |
|
|
* Redistribution and use in source and binary forms, with or without
|
| 17 |
|
|
* modification, are permitted provided that the following conditions
|
| 18 |
|
|
* are met:
|
| 19 |
|
|
* 1. Redistributions of source code must retain the above copyright
|
| 20 |
|
|
* notice, this list of conditions and the following disclaimer.
|
| 21 |
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
| 22 |
|
|
* notice, this list of conditions and the following disclaimer in the
|
| 23 |
|
|
* documentation and/or other materials provided with the distribution.
|
| 24 |
|
|
* 3. The name of the author may not be used to endorse or promote
|
| 25 |
|
|
* products derived from this software without specific prior
|
| 26 |
|
|
* written permission.
|
| 27 |
|
|
*
|
| 28 |
|
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
|
| 29 |
|
|
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 30 |
|
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 31 |
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
| 32 |
|
|
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 33 |
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
| 34 |
|
|
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 35 |
|
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 36 |
|
|
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| 37 |
|
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 38 |
|
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 39 |
|
|
*
|
| 40 |
|
|
* This file is part of the uIP TCP/IP stack.
|
| 41 |
|
|
*
|
| 42 |
|
|
* $Id: cgi.h 2 2011-07-17 20:13:17Z filepang@gmail.com $
|
| 43 |
|
|
*
|
| 44 |
|
|
*/
|
| 45 |
|
|
|
| 46 |
|
|
#ifndef __CGI_H__
|
| 47 |
|
|
#define __CGI_H__
|
| 48 |
|
|
|
| 49 |
|
|
typedef u8_t (* cgifunction)(u8_t next);
|
| 50 |
|
|
|
| 51 |
|
|
/**
|
| 52 |
|
|
* A table containing pointers to C functions that can be called from
|
| 53 |
|
|
* a web server script.
|
| 54 |
|
|
*/
|
| 55 |
|
|
extern cgifunction cgitab[];
|
| 56 |
|
|
|
| 57 |
|
|
#endif /* __CGI_H__ */
|