diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-08-16 19:24:18 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-08-16 19:24:18 +0000 |
commit | 8e838b821562f780efafc83968c15b67fbfef70f (patch) | |
tree | 2cfcbf96f7f53727438c693c88ee768e84640074 /nuttx/netutils/thttpd/fdwatch.h | |
parent | f7dc3983bd12bafc5534beb1315b6aa6daedfe71 (diff) | |
download | px4-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.h | 11 |
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 */ |