31 строка
837 B
C++
31 строка
837 B
C++
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
#ifndef PLATFORM_H
|
|
#define PLATFORM_H
|
|
|
|
#include "azure_c_shared_utility/strings.h"
|
|
#include "azure_c_shared_utility/xio.h"
|
|
#include "azure_c_shared_utility/umock_c_prod.h"
|
|
|
|
#define GUID_LENGTH 64
|
|
#define PLATFORM_OPTION_RETRIEVE_SQM 0x0001
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#include <cstdint>
|
|
#else
|
|
#include <stdint.h>
|
|
#endif /* __cplusplus */
|
|
|
|
MOCKABLE_FUNCTION(, int, platform_init);
|
|
MOCKABLE_FUNCTION(, void, platform_deinit);
|
|
MOCKABLE_FUNCTION(, const IO_INTERFACE_DESCRIPTION*, platform_get_default_tlsio);
|
|
MOCKABLE_FUNCTION(, STRING_HANDLE, platform_get_platform_info, uint32_t, options);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* PLATFORM_H */
|