Fork of Smoothie to port to mbed non-LPC targets.
Fork of Smoothie by
libs/Network/uip/webserver/webserver.h@2:1df0b61d3b5a, 2014-02-28 (annotated)
- Committer:
- Michael J. Spencer
- Date:
- Fri Feb 28 18:52:52 2014 -0800
- Revision:
- 2:1df0b61d3b5a
Update to latest Smoothie.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Michael J. Spencer |
2:1df0b61d3b5a | 1 | /* |
Michael J. Spencer |
2:1df0b61d3b5a | 2 | * Copyright (c) 2002, Adam Dunkels. |
Michael J. Spencer |
2:1df0b61d3b5a | 3 | * All rights reserved. |
Michael J. Spencer |
2:1df0b61d3b5a | 4 | * |
Michael J. Spencer |
2:1df0b61d3b5a | 5 | * Redistribution and use in source and binary forms, with or without |
Michael J. Spencer |
2:1df0b61d3b5a | 6 | * modification, are permitted provided that the following conditions |
Michael J. Spencer |
2:1df0b61d3b5a | 7 | * are met: |
Michael J. Spencer |
2:1df0b61d3b5a | 8 | * 1. Redistributions of source code must retain the above copyright |
Michael J. Spencer |
2:1df0b61d3b5a | 9 | * notice, this list of conditions and the following disclaimer. |
Michael J. Spencer |
2:1df0b61d3b5a | 10 | * 2. Redistributions in binary form must reproduce the above |
Michael J. Spencer |
2:1df0b61d3b5a | 11 | * copyright notice, this list of conditions and the following |
Michael J. Spencer |
2:1df0b61d3b5a | 12 | * disclaimer in the documentation and/or other materials provided |
Michael J. Spencer |
2:1df0b61d3b5a | 13 | * with the distribution. |
Michael J. Spencer |
2:1df0b61d3b5a | 14 | * 3. The name of the author may not be used to endorse or promote |
Michael J. Spencer |
2:1df0b61d3b5a | 15 | * products derived from this software without specific prior |
Michael J. Spencer |
2:1df0b61d3b5a | 16 | * written permission. |
Michael J. Spencer |
2:1df0b61d3b5a | 17 | * |
Michael J. Spencer |
2:1df0b61d3b5a | 18 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS |
Michael J. Spencer |
2:1df0b61d3b5a | 19 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
Michael J. Spencer |
2:1df0b61d3b5a | 20 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
Michael J. Spencer |
2:1df0b61d3b5a | 21 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
Michael J. Spencer |
2:1df0b61d3b5a | 22 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
Michael J. Spencer |
2:1df0b61d3b5a | 23 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
Michael J. Spencer |
2:1df0b61d3b5a | 24 | * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
Michael J. Spencer |
2:1df0b61d3b5a | 25 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
Michael J. Spencer |
2:1df0b61d3b5a | 26 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
Michael J. Spencer |
2:1df0b61d3b5a | 27 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
Michael J. Spencer |
2:1df0b61d3b5a | 28 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Michael J. Spencer |
2:1df0b61d3b5a | 29 | * |
Michael J. Spencer |
2:1df0b61d3b5a | 30 | * This file is part of the uIP TCP/IP stack |
Michael J. Spencer |
2:1df0b61d3b5a | 31 | * |
Michael J. Spencer |
2:1df0b61d3b5a | 32 | * $Id: webserver.h,v 1.2 2006/06/11 21:46:38 adam Exp $ |
Michael J. Spencer |
2:1df0b61d3b5a | 33 | * |
Michael J. Spencer |
2:1df0b61d3b5a | 34 | */ |
Michael J. Spencer |
2:1df0b61d3b5a | 35 | #ifndef __WEBSERVER_H__ |
Michael J. Spencer |
2:1df0b61d3b5a | 36 | #define __WEBSERVER_H__ |
Michael J. Spencer |
2:1df0b61d3b5a | 37 | |
Michael J. Spencer |
2:1df0b61d3b5a | 38 | #include "httpd.h" |
Michael J. Spencer |
2:1df0b61d3b5a | 39 | |
Michael J. Spencer |
2:1df0b61d3b5a | 40 | //typedef struct httpd_state uip_tcp_appstate_t; |
Michael J. Spencer |
2:1df0b61d3b5a | 41 | /* UIP_APPCALL: the name of the application function. This function |
Michael J. Spencer |
2:1df0b61d3b5a | 42 | must return void and take no arguments (i.e., C type "void |
Michael J. Spencer |
2:1df0b61d3b5a | 43 | appfunc(void)"). */ |
Michael J. Spencer |
2:1df0b61d3b5a | 44 | #ifndef UIP_APPCALL |
Michael J. Spencer |
2:1df0b61d3b5a | 45 | #define UIP_APPCALL httpd_appcall |
Michael J. Spencer |
2:1df0b61d3b5a | 46 | #endif |
Michael J. Spencer |
2:1df0b61d3b5a | 47 | |
Michael J. Spencer |
2:1df0b61d3b5a | 48 | |
Michael J. Spencer |
2:1df0b61d3b5a | 49 | #endif /* __WEBSERVER_H__ */ |