summaryrefslogtreecommitdiff
path: root/nuttx/netutils/thttpd/fdwatch.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-07-12 20:27:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-07-12 20:27:56 +0000
commitf3703bf34939a40c95607df3b1cb2924e3e86079 (patch)
treec4a09d7372636b306a4a6e79d1d92b9037ac40fa /nuttx/netutils/thttpd/fdwatch.h
parentad855c503fab41c8943a94c5c4dfafc25019491b (diff)
downloadpx4-nuttx-f3703bf34939a40c95607df3b1cb2924e3e86079.tar.gz
px4-nuttx-f3703bf34939a40c95607df3b1cb2924e3e86079.tar.bz2
px4-nuttx-f3703bf34939a40c95607df3b1cb2924e3e86079.zip
Add fdwatch.c and timers.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1981 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/thttpd/fdwatch.h')
-rw-r--r--nuttx/netutils/thttpd/fdwatch.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/netutils/thttpd/fdwatch.h b/nuttx/netutils/thttpd/fdwatch.h
index 76c8c02ae..cf6bd551e 100644
--- a/nuttx/netutils/thttpd/fdwatch.h
+++ b/nuttx/netutils/thttpd/fdwatch.h
@@ -47,11 +47,9 @@
# define INFTIM -1
#endif
-/* Figure out how many file descriptors the system allows, and
- * initialize the fdwatch data structures. Returns -1 on failure.
- */
+/* initialize the fdwatch data structures. Returns -1 on failure. */
-extern int fdwatch_get_nfiles(void);
+extern int fdwatch_initialize(void);
/* Add a descriptor to the watch list. rw is either FDW_READ or FDW_WRITE. */
@@ -80,7 +78,9 @@ extern void *fdwatch_get_next_client_data(void);
/* Generate debugging statistics syslog message. */
+#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_NET)
extern void fdwatch_logstats(long secs);
+#endif
#endif /* __NETUTILS_THTTPD_FDWATCH_H */