source: azure_iot_hub_mbedtls/trunk/azure_iothub/c-utility/inc/azure_c_shared_utility/uniqueid.h@ 398

Last change on this file since 398 was 398, checked in by coas-nagasima, 5 years ago

mbedTLS版Azure IoT Hub接続サンプルのソースコードを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 715 bytes
Line 
1// Copyright (c) Microsoft. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
4#ifndef UNIQUEID_H
5#define UNIQUEID_H
6
7#include "azure_c_shared_utility/macro_utils.h"
8
9#ifdef __cplusplus
10#include <cstddef>
11extern "C" {
12#else
13#include <stddef.h>
14#endif
15
16#include "azure_c_shared_utility/umock_c_prod.h"
17
18#define UNIQUEID_RESULT_VALUES \
19 UNIQUEID_OK, \
20 UNIQUEID_INVALID_ARG, \
21 UNIQUEID_ERROR
22
23 MU_DEFINE_ENUM(UNIQUEID_RESULT, UNIQUEID_RESULT_VALUES)
24
25 MOCKABLE_FUNCTION(, UNIQUEID_RESULT, UniqueId_Generate, char*, uid, size_t, bufferSize);
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif /* UNIQUEID_H */
Note: See TracBrowser for help on using the repository browser.