output/httpd: move functions into the HttpdOutput class

This commit is contained in:
Max Kellermann
2013-01-27 23:23:46 +01:00
parent 27f8ef2f33
commit 2aa34882b7
3 changed files with 214 additions and 175 deletions

View File

@@ -55,7 +55,7 @@ HttpdClient::~HttpdClient()
void
HttpdClient::Close()
{
httpd_output_remove_client(httpd, this);
httpd->RemoveClient(*this);
}
void
@@ -74,7 +74,7 @@ HttpdClient::BeginResponse()
write_source_id = 0;
current_page = nullptr;
httpd_output_send_header(httpd, this);
httpd->SendHeader(*this);
}
/**