Last change
on this file since 389 was 389, checked in by coas-nagasima, 5 years ago |
ビルドが通るよう更新
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
897 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 PLATFORM_H
|
---|
5 | #define PLATFORM_H
|
---|
6 |
|
---|
7 | #include "azure_c_shared_utility/strings.h"
|
---|
8 | #include "azure_c_shared_utility/xio.h"
|
---|
9 | #include "azure_c_shared_utility/umock_c_prod.h"
|
---|
10 |
|
---|
11 | #define GUID_LENGTH 64
|
---|
12 |
|
---|
13 | typedef enum PLATFORM_INFO_OPTION_VALUES
|
---|
14 | {
|
---|
15 | PLATFORM_INFO_OPTION_DEFAULT,
|
---|
16 | PLATFORM_INFO_OPTION_RETRIEVE_SQM
|
---|
17 | } PLATFORM_INFO_OPTION;
|
---|
18 |
|
---|
19 | #ifdef __cplusplus
|
---|
20 | extern "C" {
|
---|
21 | #endif /* __cplusplus */
|
---|
22 |
|
---|
23 | MOCKABLE_FUNCTION(, int, platform_init);
|
---|
24 | MOCKABLE_FUNCTION(, void, platform_deinit);
|
---|
25 | MOCKABLE_FUNCTION(, const IO_INTERFACE_DESCRIPTION*, platform_get_default_tlsio);
|
---|
26 | MOCKABLE_FUNCTION(, STRING_HANDLE, platform_get_platform_info, PLATFORM_INFO_OPTION, options);
|
---|
27 |
|
---|
28 | #ifdef __cplusplus
|
---|
29 | }
|
---|
30 | #endif /* __cplusplus */
|
---|
31 |
|
---|
32 | #endif /* PLATFORM_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.