summaryrefslogtreecommitdiff
path: root/ot_livesync.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_livesync.h')
-rw-r--r--ot_livesync.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ot_livesync.h b/ot_livesync.h
index cb28774..5b9fa0e 100644
--- a/ot_livesync.h
+++ b/ot_livesync.h
@@ -47,11 +47,11 @@
47 47
48#define LIVESYNC_PORT 9696 48#define LIVESYNC_PORT 9696
49 49
50void livesync_init(); 50void livesync_init(void);
51void livesync_deinit(); 51void livesync_deinit(void);
52 52
53/* Join multicast group for listening and create sending socket */ 53/* Join multicast group for listening and create sending socket */
54void livesync_bind_mcast(char *ip, uint16_t port); 54void livesync_bind_mcast(ot_ip6 ip, uint16_t port);
55 55
56/* Inform live sync about whats going on. */ 56/* Inform live sync about whats going on. */
57void livesync_tell(struct ot_workstruct *ws); 57void livesync_tell(struct ot_workstruct *ws);
@@ -59,10 +59,10 @@ void livesync_tell(struct ot_workstruct *ws);
59/* Tickle the live sync module from time to time, so no events get 59/* Tickle the live sync module from time to time, so no events get
60 stuck when there's not enough traffic to fill udp packets fast 60 stuck when there's not enough traffic to fill udp packets fast
61 enough */ 61 enough */
62void livesync_ticker(); 62void livesync_ticker(void);
63 63
64/* Handle an incoming live sync packet */ 64/* Handle an incoming live sync packet */
65void handle_livesync(const int64 sock); 65void handle_livesync(const int64_t sock);
66 66
67#else 67#else
68 68