diff options
Diffstat (limited to 'ot_livesync.h')
| -rw-r--r-- | ot_livesync.h | 10 |
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 | ||
| 50 | void livesync_init(); | 50 | void livesync_init(void); |
| 51 | void livesync_deinit(); | 51 | void 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 */ |
| 54 | void livesync_bind_mcast(char *ip, uint16_t port); | 54 | void 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. */ |
| 57 | void livesync_tell(struct ot_workstruct *ws); | 57 | void 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 */ |
| 62 | void livesync_ticker(); | 62 | void livesync_ticker(void); |
| 63 | 63 | ||
| 64 | /* Handle an incoming live sync packet */ | 64 | /* Handle an incoming live sync packet */ |
| 65 | void handle_livesync(const int64 sock); | 65 | void handle_livesync(const int64_t sock); |
| 66 | 66 | ||
| 67 | #else | 67 | #else |
| 68 | 68 | ||
