From 5e84d7b76ce1cccdaf0900d62a94d0d1d88cdd62 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Sun, 14 Jul 2024 22:30:34 +0200 Subject: convert to the meson build system This removes a lot of files. Remove all conf-* files. The settings move to meson.options. Add editor config. Remove the auto_*.h files. They move to config.h.in. --- src/sslhandle.c | 68 ++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 37 deletions(-) (limited to 'src/sslhandle.c') diff --git a/src/sslhandle.c b/src/sslhandle.c index f31cee9..5c68402 100644 --- a/src/sslhandle.c +++ b/src/sslhandle.c @@ -3,50 +3,44 @@ @author web, feh @brief IPv6 enabled TLS framework for a preforking server */ -#include -#include -#include -#include +#include #include #include -#include +#include +#include +#include +#include + +#include "coe.h" +#include "remoteinfo.h" +#include "rules.h" #include "ucspissl.h" -#include "uint_t.h" -#include "str.h" -#include "byte.h" -#include "fmt.h" -#include "scan.h" -#include "ip.h" -#include "fd.h" -#include "exit.h" -#include "env.h" -#include "prot.h" -#include "open.h" -#include "wait.h" -#include "stralloc.h" +#include "ucspissl-config.h" + #include "alloc.h" #include "buffer.h" +#include "byte.h" +#include "dnsresolv.h" +#include "env.h" +#include "exit.h" +#include "fd.h" +#include "fmt.h" #include "getln.h" -#include "logmsg.h" #include "getoptb.h" -#include "socket_if.h" +#include "ip.h" +#include "lock.h" +#include "logmsg.h" +#include "iopause.h" #include "ndelay.h" -#include "remoteinfo.h" -#include "rules.h" +#include "open.h" +#include "prot.h" +#include "scan.h" #include "sig.h" -#include "iopause.h" -#include "dnsresolv.h" -#include "auto_cafile.h" -#include "auto_cadir.h" -#include "auto_ccafile.h" -#include "auto_dhfile.h" -#include "auto_certchainfile.h" -#include "auto_certfile.h" -#include "auto_keyfile.h" -#include "auto_ciphers.h" -#include "iopause.h" -#include "coe.h" -#include "lock.h" +#include "socket_if.h" +#include "str.h" +#include "stralloc.h" +#include "uint_t.h" +#include "wait.h" extern void server(int argcs,char * const *argvs); @@ -508,7 +502,7 @@ void trigger(void) { buffer_unixwrite(selfpipe[1],"",1); } -void sigterm(void) { +void sigterm(int _) { int pid; flagexit = 1; @@ -518,7 +512,7 @@ void sigterm(void) { trigger(); } -void sigchld(void) { +void sigchld(int _) { int wstat; int pid; -- cgit v1.2.3