summaryrefslogtreecommitdiff
path: root/src/modules/m_httpd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-15 10:59:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-15 10:59:36 +0000
commitb45e7cfebbeaad4ecc3c55bc3060140f50f710d3 (patch)
treef5d168a3abe2b52b3e32f344c07ddeedaed3c698 /src/modules/m_httpd.cpp
parentea483e49729ba1cd9b32feed8e49bb4f35691b2b (diff)
Annotations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_httpd.cpp')
-rw-r--r--src/modules/m_httpd.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index 9317f1992..96fdfc8f2 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -1,4 +1,4 @@
-/* +------------------------------------+
+/* +------------------------------------+
* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
@@ -31,6 +31,8 @@ class ModuleHttp;
static ModuleHttp* HttpModule;
static bool claimed;
+/** HTTP socket states
+ */
enum HttpState
{
HTTP_LISTEN = 0,
@@ -39,6 +41,8 @@ enum HttpState
HTTP_SERVE_SEND_DATA = 3
};
+/** A socket used for HTTP transport
+ */
class HttpSocket : public InspSocket
{
FileReader* index;