From 7c20ae7f7737c35a9e322ee712a0c342d00f536e Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Tue, 9 Jun 2020 13:54:38 +0200 Subject: Add basic stop/start methods --- server.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server.h') diff --git a/server.h b/server.h index e8e6ba8..cb4fd76 100644 --- a/server.h +++ b/server.h @@ -56,6 +56,10 @@ void server_delete(struct cfg *cfg, struct server *scfg); void server_delete_by_name(struct cfg *cfg, const char *name); +bool server_start(struct cfg *cfg, struct server *scfg); + +bool server_stop(struct cfg *cfg, struct server *scfg); + bool server_commit(struct cfg *cfg, struct server *scfg); bool server_add_remote(struct cfg *cfg, struct server *scfg, -- cgit v1.2.3