aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/raop_output_plugin.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-08-24 02:02:29 +0200
committerMax Kellermann <max@duempel.org>2011-08-29 11:27:08 +0200
commit195496333b221fed25e7fbee7cd0589ec1fefbb8 (patch)
tree68c2dd3926fa6073935bed779d36edeca97f18aa /src/output/raop_output_plugin.h
parent9ccaa904393ddf2189f7d7815cef29a3e3393cbc (diff)
downloadmpd-195496333b221fed25e7fbee7cd0589ec1fefbb8.tar.gz
mpd-195496333b221fed25e7fbee7cd0589ec1fefbb8.tar.xz
mpd-195496333b221fed25e7fbee7cd0589ec1fefbb8.zip
output/raop: move RTSP client code to rtsp_client.c
Restore some of the original file structure from from raop_play.
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,