Last change
on this file since 471 was 457, checked in by coas-nagasima, 4 years ago |
ファイルを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
869 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 | #ifdef __cplusplus
|
---|
8 | #include <cstddef>
|
---|
9 | #else
|
---|
10 | #include <stddef.h>
|
---|
11 | #include <stdbool.h>
|
---|
12 | #endif /* __cplusplus */
|
---|
13 |
|
---|
14 | #include "azure_c_shared_utility/xio.h"
|
---|
15 | #include "azure_c_shared_utility/xlogging.h"
|
---|
16 | #include "umock_c/umock_c_prod.h"
|
---|
17 |
|
---|
18 | #ifdef __cplusplus
|
---|
19 | extern "C" {
|
---|
20 | #endif /* __cplusplus */
|
---|
21 |
|
---|
22 | typedef struct WSIO_CONFIG_TAG
|
---|
23 | {
|
---|
24 | const IO_INTERFACE_DESCRIPTION* underlying_io_interface;
|
---|
25 | void* underlying_io_parameters;
|
---|
26 | const char* hostname;
|
---|
27 | int port;
|
---|
28 | const char* resource_name;
|
---|
29 | const char* protocol;
|
---|
30 | } WSIO_CONFIG;
|
---|
31 |
|
---|
32 | MOCKABLE_FUNCTION(, const IO_INTERFACE_DESCRIPTION*, wsio_get_interface_description);
|
---|
33 |
|
---|
34 | #ifdef __cplusplus
|
---|
35 | }
|
---|
36 | #endif /* __cplusplus */
|
---|
37 |
|
---|
38 | #endif /* WSIO_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.