aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/raop_output_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/raop_output_plugin.h')
-rw-r--r--src/output/raop_output_plugin.h31
1 files changed, 1 insertions, 30 deletions
diff --git a/src/output/raop_output_plugin.h b/src/output/raop_output_plugin.h
index 3b1d9bdf7..210237179 100644
--- a/src/output/raop_output_plugin.h
+++ b/src/output/raop_output_plugin.h
@@ -21,26 +21,13 @@
#define MPD_OUTPUT_RAOP_PLUGIN_H
#include "ntp_server.h"
+#include "rtsp_client.h"
#include <glib.h>
#include <stdbool.h>
#include <sys/time.h>
#include <openssl/aes.h>
-#ifdef WIN32
-#define WINVER 0x0501
-#include <ws2tcpip.h>
-#include <winsock.h>
-#else
-#include <netinet/in.h>
-#endif
-
-struct key_data {
- char *key;
- char *data;
- struct key_data *next;
-};
-
struct play_state {
bool playing;
unsigned short seq_num;
@@ -53,22 +40,6 @@ struct play_state {
/*********************************************************************/
-struct rtspcl_data {
- int fd;
- char url[128];
- int cseq;
- struct key_data *kd;
- struct key_data *exthds;
- char *session;
- char *transport;
- unsigned short server_port;
- unsigned short control_port;
- struct in_addr host_addr;
- struct in_addr local_addr;
- const char *useragent;
-
-};
-
enum pause_state {
NO_PAUSE = 0,
OP_PAUSE,