diff options
author | Mikhail Borisov <borisov.mikhail@gmail.com> | 2022-02-10 16:45:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:40 +0300 |
commit | 5d50718e66d9c037dc587a0211110b7d25a66185 (patch) | |
tree | e98df59de24d2ef7c77baed9f41e4875a2fef972 /library/cpp/yson_pull/cyson_enums.h | |
parent | a6a92afe03e02795227d2641b49819b687f088f8 (diff) | |
download | ydb-5d50718e66d9c037dc587a0211110b7d25a66185.tar.gz |
Restoring authorship annotation for Mikhail Borisov <borisov.mikhail@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yson_pull/cyson_enums.h')
-rw-r--r-- | library/cpp/yson_pull/cyson_enums.h | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/library/cpp/yson_pull/cyson_enums.h b/library/cpp/yson_pull/cyson_enums.h index e1b8dffeeb..315de97307 100644 --- a/library/cpp/yson_pull/cyson_enums.h +++ b/library/cpp/yson_pull/cyson_enums.h @@ -1,47 +1,47 @@ -#pragma once - -typedef enum yson_event_type { - YSON_EVENT_BEGIN_STREAM = 0, - YSON_EVENT_END_STREAM = 1, - YSON_EVENT_BEGIN_LIST = 2, - YSON_EVENT_END_LIST = 3, - YSON_EVENT_BEGIN_MAP = 4, - YSON_EVENT_END_MAP = 5, - YSON_EVENT_BEGIN_ATTRIBUTES = 6, - YSON_EVENT_END_ATTRIBUTES = 7, - YSON_EVENT_KEY = 8, - YSON_EVENT_SCALAR = 9, - YSON_EVENT_ERROR = 10 -} yson_event_type; - -typedef enum yson_scalar_type { - YSON_SCALAR_ENTITY = 0, - YSON_SCALAR_BOOLEAN = 1, - YSON_SCALAR_INT64 = 2, - YSON_SCALAR_UINT64 = 3, - YSON_SCALAR_FLOAT64 = 4, - YSON_SCALAR_STRING = 5 -} yson_scalar_type; - -typedef enum yson_input_stream_result { - YSON_INPUT_STREAM_RESULT_OK = 0, - YSON_INPUT_STREAM_RESULT_EOF = 1, - YSON_INPUT_STREAM_RESULT_ERROR = 2 -} yson_input_stream_result; - -typedef enum yson_output_stream_result { - YSON_OUTPUT_STREAM_RESULT_OK = 0, - YSON_OUTPUT_STREAM_RESULT_ERROR = 1 -} yson_output_stream_result; - -typedef enum yson_writer_result { - YSON_WRITER_RESULT_OK = 0, - YSON_WRITER_RESULT_BAD_STREAM = 1, - YSON_WRITER_RESULT_ERROR = 2 -} yson_writer_result; - -typedef enum yson_stream_type { - YSON_STREAM_TYPE_NODE = 0, - YSON_STREAM_TYPE_LIST_FRAGMENT = 1, - YSON_STREAM_TYPE_MAP_FRAGMENT = 2 -} yson_stream_type; +#pragma once + +typedef enum yson_event_type { + YSON_EVENT_BEGIN_STREAM = 0, + YSON_EVENT_END_STREAM = 1, + YSON_EVENT_BEGIN_LIST = 2, + YSON_EVENT_END_LIST = 3, + YSON_EVENT_BEGIN_MAP = 4, + YSON_EVENT_END_MAP = 5, + YSON_EVENT_BEGIN_ATTRIBUTES = 6, + YSON_EVENT_END_ATTRIBUTES = 7, + YSON_EVENT_KEY = 8, + YSON_EVENT_SCALAR = 9, + YSON_EVENT_ERROR = 10 +} yson_event_type; + +typedef enum yson_scalar_type { + YSON_SCALAR_ENTITY = 0, + YSON_SCALAR_BOOLEAN = 1, + YSON_SCALAR_INT64 = 2, + YSON_SCALAR_UINT64 = 3, + YSON_SCALAR_FLOAT64 = 4, + YSON_SCALAR_STRING = 5 +} yson_scalar_type; + +typedef enum yson_input_stream_result { + YSON_INPUT_STREAM_RESULT_OK = 0, + YSON_INPUT_STREAM_RESULT_EOF = 1, + YSON_INPUT_STREAM_RESULT_ERROR = 2 +} yson_input_stream_result; + +typedef enum yson_output_stream_result { + YSON_OUTPUT_STREAM_RESULT_OK = 0, + YSON_OUTPUT_STREAM_RESULT_ERROR = 1 +} yson_output_stream_result; + +typedef enum yson_writer_result { + YSON_WRITER_RESULT_OK = 0, + YSON_WRITER_RESULT_BAD_STREAM = 1, + YSON_WRITER_RESULT_ERROR = 2 +} yson_writer_result; + +typedef enum yson_stream_type { + YSON_STREAM_TYPE_NODE = 0, + YSON_STREAM_TYPE_LIST_FRAGMENT = 1, + YSON_STREAM_TYPE_MAP_FRAGMENT = 2 +} yson_stream_type; |