summaryrefslogtreecommitdiff
path: root/nuttx/netutils/webserver/httpd.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-15 16:37:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-15 16:37:20 +0000
commit2c0247a19db16916e3fdc831ee5396c75ad852c2 (patch)
tree2029ba80749910081bbbdbd90439e1f27092d6ef /nuttx/netutils/webserver/httpd.h
parentde5703237a8973502fdd4c87e993a998be192863 (diff)
downloadnuttx-2c0247a19db16916e3fdc831ee5396c75ad852c2.tar.gz
nuttx-2c0247a19db16916e3fdc831ee5396c75ad852c2.tar.bz2
nuttx-2c0247a19db16916e3fdc831ee5396c75ad852c2.zip
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2347 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/webserver/httpd.h')
-rw-r--r--nuttx/netutils/webserver/httpd.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/nuttx/netutils/webserver/httpd.h b/nuttx/netutils/webserver/httpd.h
index cc43bea4c..52073765c 100644
--- a/nuttx/netutils/webserver/httpd.h
+++ b/nuttx/netutils/webserver/httpd.h
@@ -45,12 +45,12 @@
****************************************************************************/
#include <nuttx/config.h>
-#include <sys/types.h>
+#include <stdint.h>
#include <net/uip/uip.h>
#include <net/uip/uipopt.h>
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* As threads are created to handle each request, a stack must be allocated
@@ -91,13 +91,13 @@ struct httpd_fs_file
struct httpd_state
{
- char ht_buffer[HTTPD_IOBUFFER_SIZE]; /* recv()/send() buffer */
- char ht_filename[HTTPD_MAX_FILENAME]; /* filename from GET command */
- struct httpd_fs_file ht_file; /* Fake file data to send */
- int ht_sockfd; /* The socket descriptor from accept() */
- char *ht_scriptptr;
- uint16 ht_scriptlen;
- uint16 ht_sndlen;
+ char ht_buffer[HTTPD_IOBUFFER_SIZE]; /* recv()/send() buffer */
+ char ht_filename[HTTPD_MAX_FILENAME]; /* filename from GET command */
+ struct httpd_fs_file ht_file; /* Fake file data to send */
+ int ht_sockfd; /* The socket descriptor from accept() */
+ char *ht_scriptptr;
+ uint16_t ht_scriptlen;
+ uint16_t ht_sndlen;
};
/****************************************************************************
@@ -106,7 +106,7 @@ struct httpd_state
#ifdef CONFIG_NETUTILS_HTTPDFSSTATS
#if CONFIG_NETUTILS_HTTPDFSSTATS == 1
-extern uint16 httpd_fs_count(char *name);
+extern uint16_t httpd_fs_count(char *name);
#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */
#endif /* CONFIG_NETUTILS_HTTPDFSSTATS */