| 1 |
// Copyright (c) Microsoft. All rights reserved. |
| 2 |
// Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| 3 |
|
| 4 |
#ifndef TLSIO_H |
| 5 |
#define TLSIO_H |
| 6 |
|
| 7 |
#include <stdbool.h> |
| 8 |
#include "xio.h" |
| 9 |
|
| 10 |
#ifdef __cplusplus |
| 11 |
extern "C" { |
| 12 |
#endif /* __cplusplus */ |
| 13 |
|
| 14 |
typedef struct TLSIO_CONFIG_TAG |
| 15 |
{ |
| 16 |
const char* hostname; |
| 17 |
int port; |
| 18 |
const IO_INTERFACE_DESCRIPTION* underlying_io_interface; |
| 19 |
void* underlying_io_parameters; |
| 20 |
bool invoke_on_send_complete_callback_for_fragments; |
| 21 |
} TLSIO_CONFIG; |
| 22 |
|
| 23 |
#ifdef __cplusplus |
| 24 |
} |
| 25 |
#endif /* __cplusplus */ |
| 26 |
|
| 27 |
#endif /* TLSIO_H */ |