source: azure_iot_hub_f767zi/trunk/azure_iot_sdk/serializer/inc/jsondecoder.h@ 457

Last change on this file since 457 was 457, 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: 855 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 JSONDECODER_H
5#define JSONDECODER_H
6
7#include "multitree.h"
8
9#ifdef __cplusplus
10#include <cstddef>
11extern "C" {
12#else
13#include <stddef.h>
14#endif
15
16#include "umock_c/umock_c_prod.h"
17
18#define JSON_DECODER_RESULT_VALUES \
19 JSON_DECODER_OK, \
20 JSON_DECODER_INVALID_ARG, \
21 JSON_DECODER_PARSE_ERROR, \
22 JSON_DECODER_MULTITREE_FAILED, \
23 JSON_DECODER_ERROR \
24
25MU_DEFINE_ENUM_WITHOUT_INVALID(JSON_DECODER_RESULT, JSON_DECODER_RESULT_VALUES);
26
27MOCKABLE_FUNCTION(, JSON_DECODER_RESULT, JSONDecoder_JSON_To_MultiTree, char*, json, MULTITREE_HANDLE*, multiTreeHandle);
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif /* JSONDECODER_H */
Note: See TracBrowser for help on using the repository browser.