diff options
Diffstat (limited to 'server.h')
-rw-r--r-- | server.h | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -74,49 +74,49 @@ struct server { void server_refdump(struct server *server); -void server_delete(struct cfg *cfg, struct server *scfg); +void server_delete(struct cfg *cfg, struct server *server); void server_delete_by_name(struct cfg *cfg, const char *name); -bool server_start(struct cfg *cfg, struct server *scfg); +bool server_start(struct cfg *cfg, struct server *server); -bool server_stop(struct cfg *cfg, struct server *scfg); +bool server_stop(struct cfg *cfg, struct server *server); -bool server_commit(struct cfg *cfg, struct server *scfg); +bool server_commit(struct cfg *cfg, struct server *server); -bool server_add_remote(struct cfg *cfg, struct server *scfg, +bool server_add_remote(struct cfg *cfg, struct server *server, struct saddr *remote); -bool server_add_local(struct cfg *cfg, struct server *scfg, +bool server_add_local(struct cfg *cfg, struct server *server, struct saddr *saddr); -bool server_add_rcon(struct cfg *cfg, struct server *scfg, +bool server_add_rcon(struct cfg *cfg, struct server *server, struct saddr *rcon); -bool server_set_rcon_password(struct cfg *cfg, struct server *scfg, +bool server_set_rcon_password(struct cfg *cfg, struct server *server, const char *password); -bool server_set_systemd_service(struct cfg *cfg, struct server *scfg, +bool server_set_systemd_service(struct cfg *cfg, struct server *server, const char *service); -bool server_set_stop_method(struct cfg *cfg, struct server *scfg, +bool server_set_stop_method(struct cfg *cfg, struct server *server, enum server_stop_method stop_method); -bool server_set_start_method(struct cfg *cfg, struct server *scfg, +bool server_set_start_method(struct cfg *cfg, struct server *server, enum server_start_method start_method); -bool server_set_stop_exec(struct cfg *cfg, struct server *scfg, const char *cmd); +bool server_set_stop_exec(struct cfg *cfg, struct server *server, const char *cmd); -bool server_set_start_exec(struct cfg *cfg, struct server *scfg, const char *cmd); +bool server_set_start_exec(struct cfg *cfg, struct server *server, const char *cmd); -bool server_set_idle_timeout(struct cfg *cfg, struct server *scfg, uint16_t timeout); +bool server_set_idle_timeout(struct cfg *cfg, struct server *server, uint16_t timeout); -bool server_set_port(struct cfg *cfg, struct server *scfg, uint16_t port); +bool server_set_port(struct cfg *cfg, struct server *server, uint16_t port); -bool server_set_type(struct cfg *cfg, struct server *scfg, +bool server_set_type(struct cfg *cfg, struct server *server, enum server_type type); -bool server_set_pretty_name(struct cfg *cfg, struct server *scfg, +bool server_set_pretty_name(struct cfg *cfg, struct server *server, const char *pretty_name); struct server *server_new(struct cfg *cfg, const char *name); |