Last change
on this file since 388 was 388, checked in by coas-nagasima, 5 years ago |
Azure IoT Hub Device C SDK を使ったサンプルの追加
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
-
Property svn:mime-type
set to
text/x-chdr
|
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>
|
---|
11 | extern "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.