+++ /dev/null
-/**\r
- * \addtogroup httpd\r
- * @{\r
- */\r
-\r
-/**\r
- * \file\r
- * HTTP server header file.\r
- * \author Adam Dunkels <adam@dunkels.com>\r
- */\r
-\r
-/*\r
- * Copyright (c) 2001, Adam Dunkels.\r
- * All rights reserved. \r
- *\r
- * Redistribution and use in source and binary forms, with or without \r
- * modification, are permitted provided that the following conditions \r
- * are met: \r
- * 1. Redistributions of source code must retain the above copyright \r
- * notice, this list of conditions and the following disclaimer. \r
- * 2. Redistributions in binary form must reproduce the above copyright \r
- * notice, this list of conditions and the following disclaimer in the \r
- * documentation and/or other materials provided with the distribution. \r
- * 3. The name of the author may not be used to endorse or promote\r
- * products derived from this software without specific prior\r
- * written permission. \r
- *\r
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\r
- * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\r
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\r
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\r
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\r
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\r
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\r
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \r
- *\r
- * This file is part of the uIP TCP/IP stack.\r
- *\r
- * $Id: httpd.h,v 1.4.2.3 2003/10/06 22:56:44 adam Exp $\r
- *\r
- */\r
-\r
-#ifndef __HTTPD_H__\r
-#define __HTTPD_H__\r
-\r
-void httpd_init(void);\r
-void httpd_appcall(void);\r
-\r
-/* UIP_APPCALL: the name of the application function. This function\r
- must return void and take no arguments (i.e., C type "void\r
- appfunc(void)"). */\r
-#ifndef UIP_APPCALL\r
-#define UIP_APPCALL httpd_appcall\r
-#endif\r
-\r
-struct httpd_state {\r
- u8_t state; \r
- u16_t count;\r
- char *dataptr;\r
- char *script;\r
-};\r
-\r
-\r
-/* UIP_APPSTATE_SIZE: The size of the application-specific state\r
- stored in the uip_conn structure. */\r
-#ifndef UIP_APPSTATE_SIZE\r
-#define UIP_APPSTATE_SIZE (sizeof(struct httpd_state))\r
-#endif\r
-\r
-#define FS_STATISTICS 1\r
-\r
-extern struct httpd_state *hs;\r
-\r
-#endif /* __HTTPD_H__ */\r