diff options
author | Max Kellermann <max@duempel.org> | 2011-08-24 02:10:26 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-08-28 16:44:12 +0200 |
commit | 8a63c279250f0e2297ad2fad5ac679ae1c95652b (patch) | |
tree | 4d557d3ddfc9a759c6693de61cc2c073412bc629 /src/output/raop_output_plugin.h | |
parent | 310895f0606ebe1f88e20755f221c51cc66a63df (diff) | |
download | mpd-8a63c279250f0e2297ad2fad5ac679ae1c95652b.tar.gz mpd-8a63c279250f0e2297ad2fad5ac679ae1c95652b.tar.xz mpd-8a63c279250f0e2297ad2fad5ac679ae1c95652b.zip |
output/raop: move NTP code to separate library
Diffstat (limited to 'src/output/raop_output_plugin.h')
-rw-r--r-- | src/output/raop_output_plugin.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/output/raop_output_plugin.h b/src/output/raop_output_plugin.h index ed655330c..3b1d9bdf7 100644 --- a/src/output/raop_output_plugin.h +++ b/src/output/raop_output_plugin.h @@ -20,6 +20,8 @@ #ifndef MPD_OUTPUT_RAOP_PLUGIN_H #define MPD_OUTPUT_RAOP_PLUGIN_H +#include "ntp_server.h" + #include <glib.h> #include <stdbool.h> #include <sys/time.h> @@ -89,13 +91,6 @@ struct encrypt_data { /*********************************************************************/ -struct ntp_data { - unsigned short port; - int fd; -}; - -/*********************************************************************/ - struct raop_data { struct rtspcl_data *rtspcl; const char *addr; // target host address @@ -132,7 +127,7 @@ struct control_data { // session struct raop_session_data { struct raop_data *raop_list; - struct ntp_data ntp; + struct ntp_server ntp; struct control_data ctrl; struct encrypt_data encrypt; struct play_state play_state; |