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.
Dependencies: EthernetInterface NTPClient iothub_amqp_transport iothub_client mbed-rtos mbed
Fork of iothub_client_sample_amqp by
uniqueid.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 UNIQUEID_H 00005 #define UNIQUEID_H 00006 00007 #include "azure_c_shared_utility/macro_utils.h" 00008 00009 #ifdef __cplusplus 00010 #include <cstddef> 00011 extern "C" { 00012 #else 00013 #include <stddef.h> 00014 #endif 00015 00016 #include "azure_c_shared_utility/umock_c_prod.h" 00017 00018 #define UNIQUEID_RESULT_VALUES \ 00019 UNIQUEID_OK, \ 00020 UNIQUEID_INVALID_ARG, \ 00021 UNIQUEID_ERROR 00022 00023 DEFINE_ENUM(UNIQUEID_RESULT, UNIQUEID_RESULT_VALUES) 00024 00025 MOCKABLE_FUNCTION(, UNIQUEID_RESULT, UniqueId_Generate, char*, uid, size_t, bufferSize); 00026 00027 #ifdef __cplusplus 00028 } 00029 #endif 00030 00031 #endif /* UNIQUEID_H */
Generated on Tue Jul 12 2022 12:43:25 by
