From befc37ada0b901ad7c315e4089976508396d496b Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 19 Nov 2007 18:17:23 +0000 Subject: uIP webserver now uses listen/accept git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@386 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/net/uip/httpd.h | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'nuttx/include/net/uip/httpd.h') diff --git a/nuttx/include/net/uip/httpd.h b/nuttx/include/net/uip/httpd.h index ef21cc6ba..44d4d8f4a 100644 --- a/nuttx/include/net/uip/httpd.h +++ b/nuttx/include/net/uip/httpd.h @@ -1,11 +1,19 @@ -/* httpd.h +/**************************************************************************** + * net/uip/httpd.h * - * Copyright (c) 2001-2005, Adam Dunkels. - * All rights reserved. + * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt + * + * Based on uIP which also has a BSD style license: + * + * Author: Adam Dunkels + * Copyright (c) 2001-2005, Adam Dunkels. + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: + * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright @@ -26,13 +34,22 @@ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ + * + ****************************************************************************/ #ifndef _NET_UIP_HTTPD_H #define _NET_UIP_HTTPD_H +/**************************************************************************** + * Included Files + ****************************************************************************/ + #include +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ + extern void httpd_init(void); extern int httpd_listen(void); -- cgit v1.2.3