Azure IoT / serializer

Dependents:   sht15_remote_monitoring f767zi_mqtt remote_monitoring simplesample_amqp ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers schemaserializer.h Source File

schemaserializer.h

00001 // Copyright (c) Microsoft. All rights reserved.
00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
00003 
00004 #ifndef SCHEMASERIALIZER_H
00005 #define SCHEMASERIALIZER_H
00006 
00007 #include "schema.h"
00008 #include "azure_c_shared_utility/strings.h"
00009 
00010 #ifdef __cplusplus
00011 extern "C" {
00012 #endif
00013 
00014 #define SCHEMA_SERIALIZER_RESULT_VALUES    \
00015     SCHEMA_SERIALIZER_OK,            \
00016     SCHEMA_SERIALIZER_INVALID_ARG,  \
00017     SCHEMA_SERIALIZER_ERROR
00018 
00019 DEFINE_ENUM(SCHEMA_SERIALIZER_RESULT, SCHEMA_SERIALIZER_RESULT_VALUES)
00020 
00021 extern SCHEMA_SERIALIZER_RESULT SchemaSerializer_SerializeCommandMetadata(SCHEMA_MODEL_TYPE_HANDLE modelHandle, STRING_HANDLE schemaText);
00022 
00023 #ifdef __cplusplus
00024 }
00025 #endif
00026 
00027 #endif /* SCHEMASERIALIZER_H */