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:
953 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 "umock_c/umock_c_prod.h"
|
---|
10 |
|
---|
11 | #define GUID_LENGTH 64
|
---|
12 |
|
---|
13 | #ifdef __cplusplus
|
---|
14 | extern "C" {
|
---|
15 | #endif /* __cplusplus */
|
---|
16 |
|
---|
17 | #define PLATFORM_INFO_OPTION_VALUES \
|
---|
18 | PLATFORM_INFO_OPTION_DEFAULT, \
|
---|
19 | PLATFORM_INFO_OPTION_RETRIEVE_SQM
|
---|
20 |
|
---|
21 | MU_DEFINE_ENUM(PLATFORM_INFO_OPTION, PLATFORM_INFO_OPTION_VALUES);
|
---|
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.