Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of azure_c_shared_utility by
platform.h
00001 // Copyright (c) Microsoft. All rights reserved. 00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information. 00003 00004 #ifndef PLATFORM_H 00005 #define PLATFORM_H 00006 00007 #ifdef __cplusplus 00008 extern "C" { 00009 #endif /* __cplusplus */ 00010 00011 #include "azure_c_shared_utility/strings.h" 00012 #include "azure_c_shared_utility/xio.h" 00013 #include "azure_c_shared_utility/umock_c_prod.h" 00014 00015 typedef struct NetworkInterface NetworkInterface; 00016 00017 MOCKABLE_FUNCTION(, int, platform_init, NetworkInterface*, net); 00018 MOCKABLE_FUNCTION(, void, platform_deinit); 00019 MOCKABLE_FUNCTION(, const IO_INTERFACE_DESCRIPTION*, platform_get_default_tlsio); 00020 MOCKABLE_FUNCTION(, STRING_HANDLE, platform_get_platform_info); 00021 00022 MOCKABLE_FUNCTION(, NetworkInterface*, platform_get_network_stack); 00023 #ifdef __cplusplus 00024 } 00025 #endif /* __cplusplus */ 00026 00027 #endif /* PLATFORM_H */
Generated on Tue Jul 12 2022 19:14:38 by
