summaryrefslogtreecommitdiff
path: root/nuttx/netutils/thttpd/fdwatch.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-08-16 19:24:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-08-16 19:24:18 +0000
commit8e838b821562f780efafc83968c15b67fbfef70f (patch)
tree2cfcbf96f7f53727438c693c88ee768e84640074 /nuttx/netutils/thttpd/fdwatch.h
parentf7dc3983bd12bafc5534beb1315b6aa6daedfe71 (diff)
downloadpx4-nuttx-8e838b821562f780efafc83968c15b67fbfef70f.tar.gz
px4-nuttx-8e838b821562f780efafc83968c15b67fbfef70f.tar.bz2
px4-nuttx-8e838b821562f780efafc83968c15b67fbfef70f.zip
THTTPD integration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2027 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/thttpd/fdwatch.h')
-rw-r--r--nuttx/netutils/thttpd/fdwatch.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/nuttx/netutils/thttpd/fdwatch.h b/nuttx/netutils/thttpd/fdwatch.h
index 4a87c3280..144badbda 100644
--- a/nuttx/netutils/thttpd/fdwatch.h
+++ b/nuttx/netutils/thttpd/fdwatch.h
@@ -47,8 +47,9 @@
* Pre-Processor Definitions
****************************************************************************/
-#define FDW_READ 0
-#define FDW_WRITE 1
+/* Define to enable detailed FDWATCH debug output */
+
+#undef CONFIG_THTTPD_FDWATCH_DEBUG
#ifndef INFTIM
# define INFTIM -1
@@ -60,9 +61,9 @@
struct fdwatch_s
{
- struct pollfd *pollfds; /* Poll data */
- void **client; /* Client data */
- uint8 *ready; /* The list of fds with activity */
+ struct pollfd *pollfds; /* Poll data (allocated) */
+ void **client; /* Client data (allocated) */
+ uint8 *ready; /* The list of fds with activity (allocated) */
uint8 nfds; /* The configured maximum number of fds */
uint8 nwatched; /* The number of fds currently watched */
uint8 nactive; /* The number of fds with activity */