tls_legacy.h File Reference

Legacy definitions. More...

Go to the source code of this file.


#define TlsIoHandle   TlsSocketHandle
#define tlsSetIoCallbacks(context, handle, sendCallback, receiveCallback)   tlsSetSocketCallbacks(context, sendCallback, receiveCallback, handle);
#define TlsSession   TlsSessionState
#define tlsSaveSession   tlsSaveSessionState
#define tlsRestoreSession   tlsRestoreSessionState

Detailed Description

Legacy definitions.


SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2019 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Oryx Embedded SARL (

Definition in file tls_legacy.h.

Macro Definition Documentation

◆ TlsIoHandle

#define TlsIoHandle   TlsSocketHandle

Definition at line 35 of file tls_legacy.h.

◆ tlsRestoreSession

#define tlsRestoreSession   tlsRestoreSessionState

Definition at line 105 of file tls_legacy.h.

◆ tlsSaveSession

#define tlsSaveSession   tlsSaveSessionState

Definition at line 104 of file tls_legacy.h.

◆ TlsSession

#define TlsSession   TlsSessionState

Definition at line 103 of file tls_legacy.h.

◆ tlsSetIoCallbacks

#define tlsSetIoCallbacks (   context,
)    tlsSetSocketCallbacks(context, sendCallback, receiveCallback, handle);

Definition at line 38 of file tls_legacy.h.