diff options
author | Test_User <hax@andrewyu.org> | 2024-06-14 11:17:21 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-14 11:17:21 -0400 |
commit | 1328829eef7a1beb6e7558f60cbe9d1c3935d97a (patch) | |
tree | dad162b85ef951027fe800858ba95af19f78385a /main.c | |
parent | 80bd818208729b24262141b9068c427f9d8a097a (diff) | |
download | haxircd-1328829eef7a1beb6e7558f60cbe9d1c3935d97a.tar.gz haxircd-1328829eef7a1beb6e7558f60cbe9d1c3935d97a.zip |
Psuedoclients
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 32 |
1 files changed, 20 insertions, 12 deletions
@@ -54,6 +54,14 @@ #include "protocols/inspircd2.h" #endif +#ifdef USE_PSUEDOCLIENTS +#include "psuedoclients.h" +#endif + +#ifdef USE_HAXSERV_PSUEDOCLIENT +#include "psuedoclients/haxserv.h" +#endif + pthread_attr_t pthread_attr; pthread_mutexattr_t pthread_mutexattr; @@ -63,33 +71,33 @@ int main(void) { if (init_general_network() != 0) return 1; -#ifdef USE_SERVER - if (init_server_network() != 0) +#ifdef USE_PLAINTEXT + 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_CLIENT - if (init_client_network() != 0) +#ifdef USE_GNUTLS + if (init_gnutls_network() != 0) return 1; #endif -#ifdef USE_PLAINTEXT - 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 (and will probably be optimized out by the compiler) +#ifdef USE_OPENSSL + if (init_openssl_network() != 0) return 1; #endif -#ifdef USE_GNUTLS - if (init_gnutls_network() != 0) +#ifdef USE_SERVER + if (init_server_network() != 0) return 1; #endif -#ifdef USE_OPENSSL - if (init_openssl_network() != 0) +#ifdef USE_CLIENT + if (init_client_network() != 0) return 1; #endif -#ifdef USE_INSPIRCD2_PROTOCOL - if (init_inspircd2_protocol() != 0) +#ifdef USE_PSUEDOCLIENTS + if (init_psuedoclients() != 0) return 1; #endif |