about summary refs log tree commit diff stats
path: root/src/wrapped/generated/wrappedlibssl3types.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-03-27 19:35:27 +0000
committerptitSeb <sebastien.chev@gmail.com>2023-03-27 19:35:27 +0000
commitfeb4a394577ea152b60393875860c551a7573adf (patch)
tree1fb23ae437dae8b76e71719931be05d21bab9ca3 /src/wrapped/generated/wrappedlibssl3types.h
parentcca1fd6f1987acc5fe7180a3925bbe8b1f34ccd0 (diff)
downloadbox64-feb4a394577ea152b60393875860c551a7573adf.tar.gz
box64-feb4a394577ea152b60393875860c551a7573adf.zip
Improved handling of libssl/libcrypto version 1.1 and 3.0
Diffstat (limited to 'src/wrapped/generated/wrappedlibssl3types.h')
-rw-r--r--src/wrapped/generated/wrappedlibssl3types.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/wrapped/generated/wrappedlibssl3types.h b/src/wrapped/generated/wrappedlibssl3types.h
new file mode 100644
index 00000000..8749cada
--- /dev/null
+++ b/src/wrapped/generated/wrappedlibssl3types.h
@@ -0,0 +1,34 @@
+/*******************************************************************
+ * File automatically generated by rebuild_wrappers.py (v2.2.0.16) *
+ *******************************************************************/
+#ifndef __wrappedlibssl3TYPES_H_
+#define __wrappedlibssl3TYPES_H_
+
+#ifndef LIBNAME
+#error You should only #include this file inside a wrapped*.c file
+#endif
+#ifndef ADDED_FUNCTIONS
+#define ADDED_FUNCTIONS() 
+#endif
+
+typedef void* (*pFp_t)(void*);
+typedef void (*vFpp_t)(void*, void*);
+typedef void (*vFpip_t)(void*, int32_t, void*);
+typedef void (*vFppp_t)(void*, void*, void*);
+typedef intptr_t (*lFpip_t)(void*, int32_t, void*);
+typedef int32_t (*iFlpppp_t)(intptr_t, void*, void*, void*, void*);
+
+#define SUPER() ADDED_FUNCTIONS() \
+	GO(SSL_get_verify_callback, pFp_t) \
+	GO(SSL_CTX_set_client_cert_cb, vFpp_t) \
+	GO(SSL_CTX_set_default_passwd_cb, vFpp_t) \
+	GO(SSL_set_psk_client_callback, vFpp_t) \
+	GO(SSL_CTX_set_verify, vFpip_t) \
+	GO(SSL_set_verify, vFpip_t) \
+	GO(SSL_CTX_set_cert_verify_callback, vFppp_t) \
+	GO(SSL_CTX_set_next_proto_select_cb, vFppp_t) \
+	GO(SSL_CTX_callback_ctrl, lFpip_t) \
+	GO(SSL_callback_ctrl, lFpip_t) \
+	GO(SSL_get_ex_new_index, iFlpppp_t)
+
+#endif // __wrappedlibssl3TYPES_H_