source: azure_iot_hub_riscv/trunk/azure_iot_sdk/c-utility/inc/azure_c_shared_utility/uniqueid.h@ 453

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

ファイルを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 721 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#ifdef __cplusplus
8#include <cstddef>
9#else
10#include <stddef.h>
11#endif
12
13#include "azure_macro_utils/macro_utils.h"
14#include "umock_c/umock_c_prod.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20#define UNIQUEID_RESULT_VALUES \
21 UNIQUEID_OK, \
22 UNIQUEID_INVALID_ARG, \
23 UNIQUEID_ERROR
24
25 MU_DEFINE_ENUM(UNIQUEID_RESULT, UNIQUEID_RESULT_VALUES)
26
27 MOCKABLE_FUNCTION(, UNIQUEID_RESULT, UniqueId_Generate, char*, uid, size_t, bufferSize);
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif /* UNIQUEID_H */
Note: See TracBrowser for help on using the repository browser.