Azure IoT common library
Fork of azure_c_shared_utility by
Diff: azure_c_shared_utility/platform.h
- Revision:
- 2:20b88da3e604
- Parent:
- 0:fa2de1b79154
- Child:
- 25:8507bf644fdf
--- a/azure_c_shared_utility/platform.h Sun Apr 24 16:41:14 2016 -0700 +++ b/azure_c_shared_utility/platform.h Mon May 09 14:37:45 2016 -0700 @@ -9,10 +9,11 @@ #endif /* __cplusplus */ #include "azure_c_shared_utility/xio.h" +#include "azure_c_shared_utility/umock_c_prod.h" - extern int platform_init(void); - extern void platform_deinit(void); - extern const IO_INTERFACE_DESCRIPTION* platform_get_default_tlsio(void); + MOCKABLE_FUNCTION(, int, platform_init); + MOCKABLE_FUNCTION(, void, platform_deinit); + MOCKABLE_FUNCTION(, const IO_INTERFACE_DESCRIPTION*, platform_get_default_tlsio); #ifdef __cplusplus }