output/httpd: add constructor, destructor, Configure()

This commit is contained in:
Max Kellermann
2013-01-30 13:29:21 +01:00
parent ad5eb2f8d6
commit 6d79a1cdfc
2 changed files with 66 additions and 50 deletions

View File

@@ -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();