From ac2ea4055b55db21f9e2cc311eab8656126b92b3 Mon Sep 17 00:00:00 2001 From: Test_User Date: Thu, 25 Jul 2024 19:16:38 -0400 Subject: Makefile and some option changes, and some fixes --- real_main.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'real_main.c') diff --git a/real_main.c b/real_main.c index 6685740..a167958 100644 --- a/real_main.c +++ b/real_main.c @@ -34,22 +34,22 @@ #include "main.h" #include "mutex.h" -#ifdef USE_PLAINTEXT +#ifdef USE_PLAINTEXT_NETWORK #include "networks/plaintext.h" #endif -#ifdef USE_GNUTLS +#ifdef USE_GNUTLS_NETWORK #include "networks/gnutls.h" #endif -#ifdef USE_OPENSSL +#ifdef USE_OPENSSL_NETWORK #include "networks/openssl.h" #endif -#ifdef USE_PLAINTEXT_BUFFERED +#ifdef USE_PLAINTEXT_BUFFERED_NETWORK #include "networks/plaintext_buffered.h" #endif -#ifdef USE_GNUTLS_BUFFERED +#ifdef USE_GNUTLS_BUFFERED_NETWORK #include "networks/gnutls_buffered.h" #endif -#ifdef USE_OPENSSL_BUFFERED +#ifdef USE_OPENSSL_BUFFERED_NETWORK #include "networks/openssl_buffered.h" #endif @@ -78,32 +78,32 @@ int real_main(void) { if (init_general_network() != 0) return 1; -#ifdef USE_PLAINTEXT +#ifdef USE_PLAINTEXT_NETWORK if (init_plaintext_network() != 0) // there's not really anything to do ahead of time with plain tcp networking, this is just here for consistency return 1; #endif -#ifdef USE_GNUTLS +#ifdef USE_GNUTLS_NETWORK if (init_gnutls_network() != 0) return 1; #endif -#ifdef USE_OPENSSL +#ifdef USE_OPENSSL_NETWORK if (init_openssl_network() != 0) return 1; #endif -#ifdef USE_PLAINTEXT_BUFFERED +#ifdef USE_PLAINTEXT_BUFFERED_NETWORK if (init_plaintext_buffered_network() != 0) return 1; #endif -#ifdef USE_GNUTLS_BUFFERED +#ifdef USE_GNUTLS_BUFFERED_NETWORK if (init_gnutls_buffered_network() != 0) return 1; #endif -#ifdef USE_OPENSSL_BUFFERED +#ifdef USE_OPENSSL_BUFFERED_NETWORK if (init_openssl_buffered_network() != 0) return 1; #endif -- cgit v1.2.3