diff options
Diffstat (limited to 'server.h')
-rw-r--r-- | server.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -58,7 +58,8 @@ struct server { char *rcon_password; /* For announce messages */ - struct uring_task_buf mcast_buf; + struct uring_task ann_task; + struct uring_task_buf ann_buf; /* For checking idle status */ struct idle *idle; @@ -66,8 +67,8 @@ struct server { unsigned idle_count; /* For reading config files */ - struct uring_task_buf tbuf; struct uring_task task; + struct uring_task_buf tbuf; struct list_head list; }; @@ -82,6 +83,8 @@ bool server_start(struct cfg *cfg, struct server *server); bool server_stop(struct cfg *cfg, struct server *server); +bool server_announce(struct cfg *cfg, struct server *server, int fd); + bool server_commit(struct cfg *cfg, struct server *server); bool server_add_remote(struct cfg *cfg, struct server *server, |