diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-10-24 18:44:52 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-10-24 18:44:52 (GMT) |
commit | bdeaac64ec3b5c260733f84e25c65502b8f5ad01 (patch) | |
tree | 8bae0fbe87aa5a1b226a05274db9f294b372cfb7 /src/uscxml/server | |
parent | 20fa98b0791cd1d327594396911a566115708bcf (diff) | |
download | uscxml-bdeaac64ec3b5c260733f84e25c65502b8f5ad01.zip uscxml-bdeaac64ec3b5c260733f84e25c65502b8f5ad01.tar.gz uscxml-bdeaac64ec3b5c260733f84e25c65502b8f5ad01.tar.bz2 |
Minor header file reorganization
Diffstat (limited to 'src/uscxml/server')
-rw-r--r-- | src/uscxml/server/HTTPServer.cpp | 14 | ||||
-rw-r--r-- | src/uscxml/server/HTTPServer.h | 15 |
2 files changed, 18 insertions, 11 deletions
diff --git a/src/uscxml/server/HTTPServer.cpp b/src/uscxml/server/HTTPServer.cpp index 9432c56..ce403ee 100644 --- a/src/uscxml/server/HTTPServer.cpp +++ b/src/uscxml/server/HTTPServer.cpp @@ -25,8 +25,6 @@ #endif #include "uscxml/server/HTTPServer.h" -#include "uscxml/Message.h" -#include "uscxml/Factory.h" #include <string> #include <iostream> @@ -35,7 +33,6 @@ extern "C" { #include <event2/dns.h> #include <event2/event.h> #include <event2/buffer.h> -#include <event2/http.h> #include <event2/keyvalq_struct.h> #include <event2/http_struct.h> #include <event2/thread.h> @@ -45,8 +42,12 @@ extern "C" { #include <boost/algorithm/string.hpp> #ifndef _WIN32 -#include <netdb.h> -#include <arpa/inet.h> +#include <netinet/in.h> // for INADDR_ANY +#include <stdint.h> // for uint16_t +#include <stdlib.h> // for NULL, free +#include <unistd.h> // for gethostname +//#include <netdb.h> +//#include <arpa/inet.h> #endif #if (defined EVENT_SSL_FOUND && defined OPENSSL_FOUND) @@ -57,6 +58,9 @@ extern "C" { #include <event2/bufferevent_ssl.h> #endif +#include "uscxml/Message.h" +#include "uscxml/Convenience.h" // for toStr + #ifdef BUILD_AS_PLUGINS #include <Pluma/Connector.hpp> #endif diff --git a/src/uscxml/server/HTTPServer.h b/src/uscxml/server/HTTPServer.h index 0b82947..581181c 100644 --- a/src/uscxml/server/HTTPServer.h +++ b/src/uscxml/server/HTTPServer.h @@ -20,17 +20,20 @@ #ifndef HTTPSERVER_H_AIH108EG #define HTTPSERVER_H_AIH108EG -#include <string> -#include <map> +#include <stddef.h> // for NULL -#include "uscxml/Common.h" +#include <map> // for map, map<>::iterator, etc +#include <string> // for string, operator< extern "C" { -#include <event2/http.h> +#include "event2/util.h" // for evutil_socket_t +#include <event2/http.h> // for evhttp_request } -#include "uscxml/concurrency/tinythread.h" -#include "uscxml/Message.h" +#include "uscxml/Common.h" // for USCXML_API +#include "uscxml/Message.h" // for Data, Event +#include "uscxml/concurrency/tinythread.h" // for recursive_mutex, etc +#include "uscxml/config.h" // for OPENSSL_FOUND namespace uscxml { |