aboutsummaryrefslogtreecommitdiff
path: root/Projects/Webserver/Lib/HTTPServerApp.h
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2010-02-12 07:27:26 +0000
committerDean Camera <[email protected]>2010-02-12 07:27:26 +0000
commit8154331da60ac08b0e2b09ca67008ec4a8c7698b (patch)
tree4eb3824afd288039b995f6f607bed6f0129d74ab /Projects/Webserver/Lib/HTTPServerApp.h
parent41ef05a6e559a10134967e8a899aab78c556b645 (diff)
downloadqmk_firmware-8154331da60ac08b0e2b09ca67008ec4a8c7698b.tar.gz
qmk_firmware-8154331da60ac08b0e2b09ca67008ec4a8c7698b.zip
Move DHCP negotiation timer into the DHCP connection application state structure, so that each connection gets its own timeout counter (only one connection currently used, but this way is more correct). Add const correctness to static data in the TELNETServerApp.c and HTTPServerApp.c files.
Diffstat (limited to 'Projects/Webserver/Lib/HTTPServerApp.h')
-rw-r--r--Projects/Webserver/Lib/HTTPServerApp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/Webserver/Lib/HTTPServerApp.h b/Projects/Webserver/Lib/HTTPServerApp.h
index b1139280c0..d212cf2501 100644
--- a/Projects/Webserver/Lib/HTTPServerApp.h
+++ b/Projects/Webserver/Lib/HTTPServerApp.h
@@ -61,8 +61,8 @@
/** Type define for a MIME type handler. */
typedef struct
{
- char Extension[4]; /**< 3 or less character file extension */
- char MIMEType[30]; /**< Appropriate MIME type to send when the extension is encountered */
+ char* Extension; /**< File extension (no leading '.' character) */
+ char* MIMEType; /**< Appropriate MIME type to send when the extension is encountered */
} MIME_Type_t;
/* Macros: */