ServerSocket: expose the class

Eliminate the C wrappers.
This commit is contained in:
Max Kellermann
2013-01-30 12:56:23 +01:00
parent 39d56d6b65
commit ad5eb2f8d6
5 changed files with 155 additions and 174 deletions

View File

@@ -36,6 +36,7 @@
#include <stdbool.h>
class ServerSocket;
class HttpdClient;
struct HttpdOutput {
@@ -80,7 +81,7 @@ struct HttpdOutput {
/**
* The listener socket.
*/
struct server_socket *server_socket;
ServerSocket *server_socket;
/**
* The header page, which is sent to every client on connect.