UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
sock_api.hpp
Go to the documentation of this file.
1#ifndef COMPA_SOCK_API_HPP
2#define COMPA_SOCK_API_HPP
3// Copyright (C) 2021+ GPL 3 and higher by Ingo Höft, <Ingo@Hoeft-online.de>
4// Redistribution only with this Copyright remark. Last modified: 2025-06-11
12
13#ifdef UPnPsdk_HAVE_OPENSSL
14#include <openssl/ssl.h>
15#endif
16
31#ifdef UPnPsdk_HAVE_OPENSSL
35 int initOpenSslLib,
40 const SSL_METHOD* sslMethod);
41
48UPnPsdk_VIS void freeSslCtx(void);
49#endif
50
52
53#endif // COMPA_SOCK_API_HPP
UPnPsdk_VIS int UpnpInitSslContext(int initOpenSslLib, const SSL_METHOD *sslMethod)
Initializes the OpenSSL library, and the OpenSSL context.
Definition sock.cpp:590
UPnPsdk_VIS void freeSslCtx(void)
Free the OpenSSL context.
Definition sock.cpp:610
Macros to support visibility of external symbols.
#define UPnPsdk_VIS
Prefix to export symbol for external use.