/* Generated by Nim Compiler v2.2.10 */
/* Compiled for: Linux, arm64, gcc */
/* Command for C compiler:
   gcc -c  -w -fmax-errors=3 -fno-strict-aliasing -pthread -O3 -fno-ident -fno-math-errno   -I/home/runner/work/nightlies/nightlies/nim-2.2.10/lib -I/home/runner/work/nightlies/nightlies/nim-2.2.10/dist/atlas/src -o /home/runner/work/nightlies/nightlies/nim-2.2.10/dist/atlas/.nimcache/@popenssl.nim.c.o /home/runner/work/nightlies/nightlies/nim-2.2.10/dist/atlas/.nimcache/@popenssl.nim.c */
#define NIM_INTBITS 64
#define NIM_EmulateOverflowChecks

#include "nimbase.h"
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
typedef struct tyObject_SslStruct__nrXQY5VF6Ld9c2BdIxvNUmg tyObject_SslStruct__nrXQY5VF6Ld9c2BdIxvNUmg;
N_CDECL(int, OPENSSL_init_ssl)(NU64 opts_p0, NU8 settings_p1);
N_CDECL(unsigned long, OpenSSL_version_num)(void);
N_CDECL(long, SSL_CTX_ctrl)(tyObject_SslStruct__nrXQY5VF6Ld9c2BdIxvNUmg* ctx_p0, int cmd_p1, long larg_p2, void* parg_p3);
N_CDECL(NI, SSL_ctrl)(tyObject_SslStruct__nrXQY5VF6Ld9c2BdIxvNUmg* ssl_p0, int cmd_p1, NI larg_p2, void* parg_p3);
N_LIB_PRIVATE N_NIMCALL(void, CRYPTO_malloc_init__wrappersZopenssl_u408)(void) {
}
N_LIB_PRIVATE N_NIMCALL(int, SSL_library_init__wrappersZopenssl_u180)(void) {
	int result;
{	result = OPENSSL_init_ssl(0ULL, ((NU8)0));
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, SSL_load_error_strings__wrappersZopenssl_u207)(void) {
}
N_LIB_PRIVATE N_NIMCALL(void, ERR_load_BIO_strings__wrappersZopenssl_u208)(void) {
}
N_LIB_PRIVATE N_NIMCALL(unsigned long, getOpenSSLVersion__wrappersZopenssl_u205)(void) {
	unsigned long result;
	result = OpenSSL_version_num();
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, SSLCTXSetMode__wrappersZopenssl_u418)(tyObject_SslStruct__nrXQY5VF6Ld9c2BdIxvNUmg* ctx_p0, NI mode_p1) {
	NI result;
	result = SSL_CTX_ctrl(ctx_p0, ((int)33), ((long) (mode_p1)), NIM_NIL);
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, SSL_set_tlsext_host_name__wrappersZopenssl_u427)(tyObject_SslStruct__nrXQY5VF6Ld9c2BdIxvNUmg* ssl_p0, NCSTRING name_p1) {
	NI result;
	result = SSL_ctrl(ssl_p0, ((int)55), ((NI)0), ((void*) (name_p1)));
	return result;
}
