azure-c-shared-utility/adapters/platform_tizenrt.c

32 строки
768 B
C
Исходник Обычный вид История

// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include <stdlib.h>
#include "azure_c_shared_utility/platform.h"
#include "azure_c_shared_utility/tlsio_mbedtls.h"
int platform_init(void)
{
2018-09-07 01:34:57 +03:00
return 0;
}
const IO_INTERFACE_DESCRIPTION* platform_get_default_tlsio(void)
{
2018-09-07 01:34:57 +03:00
return tlsio_mbedtls_get_interface_description();
}
2019-03-06 00:29:28 +03:00
STRING_HANDLE platform_get_platform_info(PLATFORM_INFO_OPTION options)
2017-04-12 19:18:13 +03:00
{
// No applicable options, so ignoring parameter
(void)options;
// Expected format: "(<runtime name>; <operating system name>; <platform>)"
return STRING_construct("(native; tizenrt; undefined)");
2017-04-12 19:18:13 +03:00
}
void platform_deinit(void)
{
2018-09-07 01:34:57 +03:00
return;
}