Nigel Rantor / azure_c_shared_utility

Fork of azure_c_shared_utility by Azure IoT

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers tlsio.h Source File

tlsio.h

00001 // Copyright (c) Microsoft. All rights reserved.
00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
00003 
00004 #ifndef TLSIO_H
00005 #define TLSIO_H
00006 
00007 #ifdef __cplusplus
00008 extern "C" {
00009 #endif /* __cplusplus */
00010 
00011 #include "xio.h"
00012 
00013 typedef struct TLSIO_CONFIG_TAG
00014 {
00015     const char* hostname;
00016     int port;
00017     const IO_INTERFACE_DESCRIPTION* underlying_io_interface;
00018     void* underlying_io_parameters;
00019 } TLSIO_CONFIG;
00020 
00021 #ifdef __cplusplus
00022 }
00023 #endif /* __cplusplus */
00024 
00025 #endif /* TLSIO_H */