comparison udp_sync.h @ 32079:2e56ec7a0a7f

Add #include for required header mp_core.h; fixes 'make checkheaders'.
author diego
date Sat, 11 Sep 2010 22:12:41 +0000
parents d54834686eb0
children
comparison
equal deleted inserted replaced
32078:0dfbb22d68c8 32079:2e56ec7a0a7f
20 */ 20 */
21 21
22 #ifndef MPLAYER_UDP_SYNC_H 22 #ifndef MPLAYER_UDP_SYNC_H
23 #define MPLAYER_UDP_SYNC_H 23 #define MPLAYER_UDP_SYNC_H
24 24
25 #include "mp_core.h"
26
25 // config options for UDP sync 27 // config options for UDP sync
26 extern int udp_master; 28 extern int udp_master;
27 extern int udp_slave; 29 extern int udp_slave;
28 extern int udp_port; 30 extern int udp_port;
29 extern const char *udp_ip; // where the master sends datagrams 31 extern const char *udp_ip; // where the master sends datagrams
30 // (can be a broadcast address) 32 // (can be a broadcast address)
31 extern float udp_seek_threshold; // how far off before we seek 33 extern float udp_seek_threshold; // how far off before we seek
32 34
33 void send_udp(const char *send_to_ip, int port, char *mesg); 35 void send_udp(const char *send_to_ip, int port, char *mesg);
34 int udp_slave_sync(struct MPContext *mpctx); 36 int udp_slave_sync(MPContext *mpctx);
35 37
36 #endif /* MPLAYER_UDP_SYNC_H */ 38 #endif /* MPLAYER_UDP_SYNC_H */