aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/httpd_internal.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-10-05 20:37:18 +0200
committerMax Kellermann <max@duempel.org>2010-10-05 21:18:54 +0200
commit84e037631da0cf7e3d7099c566a181a2d506ed4c (patch)
treed6315cdcf9bb9d9c4b7069b4031915c0d1ffbcca /src/output/httpd_internal.h
parent18e3d0b50423dc49ed8f425bb291d8675b38b5f9 (diff)
downloadmpd-84e037631da0cf7e3d7099c566a181a2d506ed4c.tar.gz
mpd-84e037631da0cf7e3d7099c566a181a2d506ed4c.tar.xz
mpd-84e037631da0cf7e3d7099c566a181a2d506ed4c.zip
output/httpd: use the new server_socket library
Diffstat (limited to 'src/output/httpd_internal.h')
-rw-r--r--src/output/httpd_internal.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/output/httpd_internal.h b/src/output/httpd_internal.h
index 14a5cf350..fee72c07f 100644
--- a/src/output/httpd_internal.h
+++ b/src/output/httpd_internal.h
@@ -29,12 +29,6 @@
#include <glib.h>
-#ifdef WIN32
-#include <winsock2.h>
-#include <ws2tcpip.h>
-#else
-#include <sys/socket.h>
-#endif
#include <stdbool.h>
struct httpd_client;
@@ -65,16 +59,6 @@ struct httpd_output {
const char *content_type;
/**
- * The configured address of the listener socket.
- */
- struct sockaddr_storage address;
-
- /**
- * The size of #address.
- */
- socklen_t address_size;
-
- /**
* This mutex protects the listener socket and the client
* list.
*/
@@ -89,12 +73,7 @@ struct httpd_output {
/**
* The listener socket.
*/
- int fd;
-
- /**
- * A GLib main loop source id for the listener socket.
- */
- guint source_id;
+ struct server_socket *server_socket;
/**
* The header page, which is sent to every client on connect.