Latest compatible version of Classicube from the original GitHub repository (https://github.com/ClassiCube/ClassiCube) that can be compiled on Classicube for PowerMac PPC running Mac OS X 10.4.
This commit is contained in:
20
src/SSL.h
Normal file
20
src/SSL.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef CC_SSL_H
|
||||
#define CC_SSL_H
|
||||
#include "Platform.h"
|
||||
CC_BEGIN_HEADER
|
||||
|
||||
/*
|
||||
Wraps a socket connection in a TLS/SSL connection
|
||||
Copyright 2014-2025 ClassiCube | Licensed under BSD-3
|
||||
*/
|
||||
|
||||
void SSLBackend_Init(cc_bool verifyCerts);
|
||||
cc_bool SSLBackend_DescribeError(cc_result res, cc_string* dst);
|
||||
|
||||
cc_result SSL_Init(cc_socket socket, const cc_string* host, void** ctx);
|
||||
cc_result SSL_Read(void* ctx, cc_uint8* data, cc_uint32 count, cc_uint32* read);
|
||||
cc_result SSL_WriteAll(void* ctx, const cc_uint8* data, cc_uint32 count);
|
||||
cc_result SSL_Free(void* ctx);
|
||||
|
||||
CC_END_HEADER
|
||||
#endif
|
||||
Reference in New Issue
Block a user