source: azure_iot_hub_riscv/trunk/azure_iot_sdk/serializer/inc/schemaserializer.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: 755 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 SCHEMASERIALIZER_H
5#define SCHEMASERIALIZER_H
6
7#include "schema.h"
8#include "azure_c_shared_utility/strings.h"
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#define SCHEMA_SERIALIZER_RESULT_VALUES \
15 SCHEMA_SERIALIZER_OK, \
16 SCHEMA_SERIALIZER_INVALID_ARG, \
17 SCHEMA_SERIALIZER_ERROR
18
19MU_DEFINE_ENUM_WITHOUT_INVALID(SCHEMA_SERIALIZER_RESULT, SCHEMA_SERIALIZER_RESULT_VALUES)
20
21extern SCHEMA_SERIALIZER_RESULT SchemaSerializer_SerializeCommandMetadata(SCHEMA_MODEL_TYPE_HANDLE modelHandle, STRING_HANDLE schemaText);
22
23#ifdef __cplusplus
24}
25#endif
26
27#endif /* SCHEMASERIALIZER_H */
Note: See TracBrowser for help on using the repository browser.