diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-19 18:17:23 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-11-19 18:17:23 +0000 |
commit | befc37ada0b901ad7c315e4089976508396d496b (patch) | |
tree | 44818265dc09577601c19bf81b3576109f31a534 /nuttx/include/net/uip/httpd.h | |
parent | 6f5479c267e1ed09e85461464ae73b4cbfd3d486 (diff) | |
download | px4-nuttx-befc37ada0b901ad7c315e4089976508396d496b.tar.gz px4-nuttx-befc37ada0b901ad7c315e4089976508396d496b.tar.bz2 px4-nuttx-befc37ada0b901ad7c315e4089976508396d496b.zip |
uIP webserver now uses listen/accept
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@386 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/net/uip/httpd.h')
-rw-r--r-- | nuttx/include/net/uip/httpd.h | 25 |
1 files changed, 21 insertions, 4 deletions
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 <spudmonkey@racsa.co.cr> + * + * Based on uIP which also has a BSD style license: + * + * Author: Adam Dunkels <adam@sics.se> + * 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 <sys/types.h> +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ + extern void httpd_init(void); extern int httpd_listen(void); |