aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-06-08 16:21:31 +0000
committerOmar Polo <op@omarpolo.com>2023-06-08 16:21:31 +0000
commit3886afceec08126fede93edee884cbd13078cbec (patch)
tree5d90fd3523baa0cb275f29d4c955c02ef450c83f /gmid.h
parent47b0ff105a152b5f44bddaacc41318872370a222 (diff)
make server_init and server_configure_done 'public'
server_configure_done is the code we ran in IMSG_RECONF_END splitted in a separate functions. This is all needed for ge.c which doesn't do privsep but needs to bootstrap the server process.
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gmid.h b/gmid.h
index c7b1c4e..2078a2c 100644
--- a/gmid.h
+++ b/gmid.h
@@ -370,6 +370,8 @@ void start_reply(struct client*, int, const char*);
void client_close(struct client *);
struct client *client_by_id(int);
void do_accept(int, short, void *);
+void server_init(struct privsep *, struct privsep_proc *, void *);
+int server_configure_done(struct conf *);
void server(struct privsep *ps, struct privsep_proc *);
int client_tree_cmp(struct client *, struct client *);