Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: sht15_remote_monitoring f767zi_mqtt remote_monitoring simplesample_amqp ... more
schemaserializer.h@4:233dd7616d73, 2015-10-22 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Thu Oct 22 18:33:28 2015 -0700
- Revision:
- 4:233dd7616d73
- Parent:
- 0:1f9b2707ec7d
- Child:
- 10:c2aee3965a83
v1.0.0-preview.4
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| AzureIoTClient | 0:1f9b2707ec7d | 1 | // Copyright (c) Microsoft. All rights reserved. |
| AzureIoTClient | 0:1f9b2707ec7d | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| AzureIoTClient | 0:1f9b2707ec7d | 3 | |
| AzureIoTClient | 0:1f9b2707ec7d | 4 | #ifndef SCHEMASERIALIZER_H |
| AzureIoTClient | 0:1f9b2707ec7d | 5 | #define SCHEMASERIALIZER_H |
| AzureIoTClient | 0:1f9b2707ec7d | 6 | |
| AzureIoTClient | 0:1f9b2707ec7d | 7 | #include "schema.h" |
| AzureIoTClient | 0:1f9b2707ec7d | 8 | #include "strings.h" |
| AzureIoTClient | 0:1f9b2707ec7d | 9 | |
| AzureIoTClient | 0:1f9b2707ec7d | 10 | #ifdef __cplusplus |
| AzureIoTClient | 0:1f9b2707ec7d | 11 | extern "C" { |
| AzureIoTClient | 0:1f9b2707ec7d | 12 | #endif |
| AzureIoTClient | 0:1f9b2707ec7d | 13 | |
| AzureIoTClient | 0:1f9b2707ec7d | 14 | #define SCHEMA_SERIALIZER_RESULT_VALUES \ |
| AzureIoTClient | 0:1f9b2707ec7d | 15 | SCHEMA_SERIALIZER_OK, \ |
| AzureIoTClient | 0:1f9b2707ec7d | 16 | SCHEMA_SERIALIZER_INVALID_ARG, \ |
| AzureIoTClient | 0:1f9b2707ec7d | 17 | SCHEMA_SERIALIZER_ERROR |
| AzureIoTClient | 0:1f9b2707ec7d | 18 | |
| AzureIoTClient | 0:1f9b2707ec7d | 19 | DEFINE_ENUM(SCHEMA_SERIALIZER_RESULT, SCHEMA_SERIALIZER_RESULT_VALUES) |
| AzureIoTClient | 0:1f9b2707ec7d | 20 | |
| AzureIoTClient | 0:1f9b2707ec7d | 21 | extern SCHEMA_SERIALIZER_RESULT SchemaSerializer_SerializeCommandMetadata(SCHEMA_MODEL_TYPE_HANDLE modelHandle, STRING_HANDLE schemaText); |
| AzureIoTClient | 0:1f9b2707ec7d | 22 | |
| AzureIoTClient | 0:1f9b2707ec7d | 23 | #ifdef __cplusplus |
| AzureIoTClient | 0:1f9b2707ec7d | 24 | } |
| AzureIoTClient | 0:1f9b2707ec7d | 25 | #endif |
| AzureIoTClient | 0:1f9b2707ec7d | 26 | |
| AzureIoTClient | 0:1f9b2707ec7d | 27 | #endif /* SCHEMASERIALIZER_H */ |
