diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-05 21:10:18 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-05 21:10:18 +0000 |
commit | 070b32952caf91e2f7f7598230236fdd872f99e5 (patch) | |
tree | 2f7b7c65c7917f45770ff52e87e626757884c419 /gmid.h | |
parent | 114e9a4206567c38ad98fd24c627d08d17f89d7d (diff) |
move and dedup the tls initalization in server.c
Diffstat (limited to 'gmid.h')
-rw-r--r-- | gmid.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -297,7 +297,6 @@ enum imsg_type { char *data_dir(void); void load_local_cert(struct vhost*, const char*, const char*); int make_socket(int, int); -void setup_tls(void); void init_config(void); void free_config(void); void drop_priv(void); @@ -335,7 +334,7 @@ void client_write(struct bufferevent *, void *); void start_reply(struct client*, int, const char*); void client_close(struct client *); struct client *client_by_id(int); -int server_main(struct tls *, struct imsgbuf *, int, int); +int server_main(struct imsgbuf *, int, int); int client_tree_cmp(struct client *, struct client *); SPLAY_PROTOTYPE(client_tree_id, client, entry, client_tree_cmp); |