diff options
author | Max Kellermann <max@duempel.org> | 2011-08-30 07:39:05 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-08-30 07:39:05 +0200 |
commit | 74a39c715b8c13b937965695624436aed45a7a4b (patch) | |
tree | ba3d8d24d20cd3685d6d0a99c5f202006563974f /src/ntp_server.h | |
parent | 195496333b221fed25e7fbee7cd0589ec1fefbb8 (diff) | |
download | mpd-74a39c715b8c13b937965695624436aed45a7a4b.tar.gz mpd-74a39c715b8c13b937965695624436aed45a7a4b.tar.xz mpd-74a39c715b8c13b937965695624436aed45a7a4b.zip |
ntp_server: move code to udp_server.c
Diffstat (limited to '')
-rw-r--r-- | src/ntp_server.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ntp_server.h b/src/ntp_server.h index 2b970dff2..fe6f8083b 100644 --- a/src/ntp_server.h +++ b/src/ntp_server.h @@ -28,17 +28,15 @@ struct timeval; struct ntp_server { unsigned short port; - int fd; - GIOChannel *channel; - GSource *source; + struct udp_server *udp; }; void ntp_server_init(struct ntp_server *ntp); -void -ntp_server_open(struct ntp_server *ntp, int fd); +bool +ntp_server_open(struct ntp_server *ntp, GError **error_r); void ntp_server_close(struct ntp_server *ntp); |