aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/HttpdInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 13:29:21 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 13:41:27 +0100
commit6d79a1cdfc8754a0a32f7ace607861ae77623e49 (patch)
treec3037975facedeeada6a24934d7b5e3948d52f9b /src/output/HttpdInternal.hxx
parentad5eb2f8d6f32c69603e658e14d813d71ba5b220 (diff)
downloadmpd-6d79a1cdfc8754a0a32f7ace607861ae77623e49.tar.gz
mpd-6d79a1cdfc8754a0a32f7ace607861ae77623e49.tar.xz
mpd-6d79a1cdfc8754a0a32f7ace607861ae77623e49.zip
output/httpd: add constructor, destructor, Configure()
Diffstat (limited to '')
-rw-r--r--src/output/HttpdInternal.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/output/HttpdInternal.hxx b/src/output/HttpdInternal.hxx
index 5c5abd0d5..bcb7b3a55 100644
--- a/src/output/HttpdInternal.hxx
+++ b/src/output/HttpdInternal.hxx
@@ -34,8 +34,8 @@
#include <forward_list>
-#include <stdbool.h>
-
+struct config_param;
+class EventLoop;
class ServerSocket;
class HttpdClient;
@@ -124,6 +124,11 @@ struct HttpdOutput {
*/
guint clients_max, clients_cnt;
+ HttpdOutput(EventLoop &_loop);
+ ~HttpdOutput();
+
+ bool Configure(const config_param *param, GError **error_r);
+
bool Bind(GError **error_r);
void Unbind();