diff options
author | Max Kellermann <max@duempel.org> | 2013-01-30 13:29:21 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-30 13:41:27 +0100 |
commit | 6d79a1cdfc8754a0a32f7ace607861ae77623e49 (patch) | |
tree | c3037975facedeeada6a24934d7b5e3948d52f9b /src/output/HttpdInternal.hxx | |
parent | ad5eb2f8d6f32c69603e658e14d813d71ba5b220 (diff) | |
download | mpd-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.hxx | 9 |
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(); |