source:
azure_iot_hub/trunk/azure_iohub/c-utility/inc/azure_c_shared_utility/wsio.h@
388
Last change on this file since 388 was 388, checked in by , 5 years ago | |
---|---|
|
|
File size: 839 bytes |
Line | |
---|---|
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 WSIO_H |
5 | #define WSIO_H |
6 | |
7 | #include "azure_c_shared_utility/xio.h" |
8 | #include "azure_c_shared_utility/xlogging.h" |
9 | #include "azure_c_shared_utility/umock_c_prod.h" |
10 | |
11 | #ifdef __cplusplus |
12 | extern "C" { |
13 | #include <cstddef> |
14 | #else |
15 | #include <stddef.h> |
16 | #include <stdbool.h> |
17 | #endif /* __cplusplus */ |
18 | |
19 | typedef struct WSIO_CONFIG_TAG |
20 | { |
21 | const IO_INTERFACE_DESCRIPTION* underlying_io_interface; |
22 | void* underlying_io_parameters; |
23 | const char* hostname; |
24 | int port; |
25 | const char* resource_name; |
26 | const char* protocol; |
27 | } WSIO_CONFIG; |
28 | |
29 | MOCKABLE_FUNCTION(, const IO_INTERFACE_DESCRIPTION*, wsio_get_interface_description); |
30 | |
31 | #ifdef __cplusplus |
32 | } |
33 | #endif /* __cplusplus */ |
34 | |
35 | #endif /* WSIO_H */ |
Note:
See TracBrowser
for help on using the repository browser.