/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: common_types.proto */ #ifndef PROTOBUF_C_common_5ftypes_2eproto__INCLUDED #define PROTOBUF_C_common_5ftypes_2eproto__INCLUDED #include PROTOBUF_C__BEGIN_DECLS #if PROTOBUF_C_VERSION_NUMBER < 1003000 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. #elif 1003002 < PROTOBUF_C_MIN_COMPILER_VERSION # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. #endif typedef struct _Uenibstreamprotobuf__Null Uenibstreamprotobuf__Null; typedef struct _Uenibstreamprotobuf__ConfiguredOpt Uenibstreamprotobuf__ConfiguredOpt; typedef struct _Uenibstreamprotobuf__TrueOpt Uenibstreamprotobuf__TrueOpt; typedef struct _Uenibstreamprotobuf__FalseOpt Uenibstreamprotobuf__FalseOpt; typedef struct _Uenibstreamprotobuf__EnabledOpt Uenibstreamprotobuf__EnabledOpt; typedef struct _Uenibstreamprotobuf__DisabledOpt Uenibstreamprotobuf__DisabledOpt; typedef struct _Uenibstreamprotobuf__EnabledDisabledOpt Uenibstreamprotobuf__EnabledDisabledOpt; typedef struct _Uenibstreamprotobuf__OnOffOpt Uenibstreamprotobuf__OnOffOpt; /* --- enums --- */ typedef enum _Uenibstreamprotobuf__ConfiguredOpt__Value { UENIBSTREAMPROTOBUF__CONFIGURED_OPT__VALUE__protobuf_unspecified = 0, UENIBSTREAMPROTOBUF__CONFIGURED_OPT__VALUE__configured = 1 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__CONFIGURED_OPT__VALUE) } Uenibstreamprotobuf__ConfiguredOpt__Value; typedef enum _Uenibstreamprotobuf__TrueOpt__Value { UENIBSTREAMPROTOBUF__TRUE_OPT__VALUE__protobuf_unspecified = 0, UENIBSTREAMPROTOBUF__TRUE_OPT__VALUE__true = 1 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__TRUE_OPT__VALUE) } Uenibstreamprotobuf__TrueOpt__Value; typedef enum _Uenibstreamprotobuf__FalseOpt__Value { UENIBSTREAMPROTOBUF__FALSE_OPT__VALUE__protobuf_unspecified = 0, UENIBSTREAMPROTOBUF__FALSE_OPT__VALUE__false = 1 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__FALSE_OPT__VALUE) } Uenibstreamprotobuf__FalseOpt__Value; typedef enum _Uenibstreamprotobuf__EnabledOpt__Value { UENIBSTREAMPROTOBUF__ENABLED_OPT__VALUE__protobuf_unspecified = 0, UENIBSTREAMPROTOBUF__ENABLED_OPT__VALUE__enabled = 1 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__ENABLED_OPT__VALUE) } Uenibstreamprotobuf__EnabledOpt__Value; typedef enum _Uenibstreamprotobuf__DisabledOpt__Value { UENIBSTREAMPROTOBUF__DISABLED_OPT__VALUE__protobuf_unspecified = 0, UENIBSTREAMPROTOBUF__DISABLED_OPT__VALUE__disabled = 1 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__DISABLED_OPT__VALUE) } Uenibstreamprotobuf__DisabledOpt__Value; typedef enum _Uenibstreamprotobuf__EnabledDisabledOpt__Value { UENIBSTREAMPROTOBUF__ENABLED_DISABLED_OPT__VALUE__protobuf_unspecified = 0, UENIBSTREAMPROTOBUF__ENABLED_DISABLED_OPT__VALUE__enabled = 1, UENIBSTREAMPROTOBUF__ENABLED_DISABLED_OPT__VALUE__disabled = 2 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__ENABLED_DISABLED_OPT__VALUE) } Uenibstreamprotobuf__EnabledDisabledOpt__Value; typedef enum _Uenibstreamprotobuf__OnOffOpt__Value { UENIBSTREAMPROTOBUF__ON_OFF_OPT__VALUE__protobuf_unspecified = 0, UENIBSTREAMPROTOBUF__ON_OFF_OPT__VALUE__on = 1, UENIBSTREAMPROTOBUF__ON_OFF_OPT__VALUE__off = 2 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__ON_OFF_OPT__VALUE) } Uenibstreamprotobuf__OnOffOpt__Value; /* --- messages --- */ struct _Uenibstreamprotobuf__Null { ProtobufCMessage base; }; #define UENIBSTREAMPROTOBUF__NULL__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__null__descriptor) \ } struct _Uenibstreamprotobuf__ConfiguredOpt { ProtobufCMessage base; Uenibstreamprotobuf__ConfiguredOpt__Value value; }; #define UENIBSTREAMPROTOBUF__CONFIGURED_OPT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__configured_opt__descriptor) \ , UENIBSTREAMPROTOBUF__CONFIGURED_OPT__VALUE__protobuf_unspecified } struct _Uenibstreamprotobuf__TrueOpt { ProtobufCMessage base; Uenibstreamprotobuf__TrueOpt__Value value; }; #define UENIBSTREAMPROTOBUF__TRUE_OPT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__true_opt__descriptor) \ , UENIBSTREAMPROTOBUF__TRUE_OPT__VALUE__protobuf_unspecified } struct _Uenibstreamprotobuf__FalseOpt { ProtobufCMessage base; Uenibstreamprotobuf__FalseOpt__Value value; }; #define UENIBSTREAMPROTOBUF__FALSE_OPT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__false_opt__descriptor) \ , UENIBSTREAMPROTOBUF__FALSE_OPT__VALUE__protobuf_unspecified } struct _Uenibstreamprotobuf__EnabledOpt { ProtobufCMessage base; Uenibstreamprotobuf__EnabledOpt__Value value; }; #define UENIBSTREAMPROTOBUF__ENABLED_OPT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__enabled_opt__descriptor) \ , UENIBSTREAMPROTOBUF__ENABLED_OPT__VALUE__protobuf_unspecified } struct _Uenibstreamprotobuf__DisabledOpt { ProtobufCMessage base; Uenibstreamprotobuf__DisabledOpt__Value value; }; #define UENIBSTREAMPROTOBUF__DISABLED_OPT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__disabled_opt__descriptor) \ , UENIBSTREAMPROTOBUF__DISABLED_OPT__VALUE__protobuf_unspecified } struct _Uenibstreamprotobuf__EnabledDisabledOpt { ProtobufCMessage base; Uenibstreamprotobuf__EnabledDisabledOpt__Value value; }; #define UENIBSTREAMPROTOBUF__ENABLED_DISABLED_OPT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__enabled_disabled_opt__descriptor) \ , UENIBSTREAMPROTOBUF__ENABLED_DISABLED_OPT__VALUE__protobuf_unspecified } struct _Uenibstreamprotobuf__OnOffOpt { ProtobufCMessage base; Uenibstreamprotobuf__OnOffOpt__Value value; }; #define UENIBSTREAMPROTOBUF__ON_OFF_OPT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__on_off_opt__descriptor) \ , UENIBSTREAMPROTOBUF__ON_OFF_OPT__VALUE__protobuf_unspecified } /* Uenibstreamprotobuf__Null methods */ void uenibstreamprotobuf__null__init (Uenibstreamprotobuf__Null *message); size_t uenibstreamprotobuf__null__get_packed_size (const Uenibstreamprotobuf__Null *message); size_t uenibstreamprotobuf__null__pack (const Uenibstreamprotobuf__Null *message, uint8_t *out); size_t uenibstreamprotobuf__null__pack_to_buffer (const Uenibstreamprotobuf__Null *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__Null * uenibstreamprotobuf__null__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__null__free_unpacked (Uenibstreamprotobuf__Null *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__ConfiguredOpt methods */ void uenibstreamprotobuf__configured_opt__init (Uenibstreamprotobuf__ConfiguredOpt *message); size_t uenibstreamprotobuf__configured_opt__get_packed_size (const Uenibstreamprotobuf__ConfiguredOpt *message); size_t uenibstreamprotobuf__configured_opt__pack (const Uenibstreamprotobuf__ConfiguredOpt *message, uint8_t *out); size_t uenibstreamprotobuf__configured_opt__pack_to_buffer (const Uenibstreamprotobuf__ConfiguredOpt *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__ConfiguredOpt * uenibstreamprotobuf__configured_opt__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__configured_opt__free_unpacked (Uenibstreamprotobuf__ConfiguredOpt *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__TrueOpt methods */ void uenibstreamprotobuf__true_opt__init (Uenibstreamprotobuf__TrueOpt *message); size_t uenibstreamprotobuf__true_opt__get_packed_size (const Uenibstreamprotobuf__TrueOpt *message); size_t uenibstreamprotobuf__true_opt__pack (const Uenibstreamprotobuf__TrueOpt *message, uint8_t *out); size_t uenibstreamprotobuf__true_opt__pack_to_buffer (const Uenibstreamprotobuf__TrueOpt *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__TrueOpt * uenibstreamprotobuf__true_opt__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__true_opt__free_unpacked (Uenibstreamprotobuf__TrueOpt *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__FalseOpt methods */ void uenibstreamprotobuf__false_opt__init (Uenibstreamprotobuf__FalseOpt *message); size_t uenibstreamprotobuf__false_opt__get_packed_size (const Uenibstreamprotobuf__FalseOpt *message); size_t uenibstreamprotobuf__false_opt__pack (const Uenibstreamprotobuf__FalseOpt *message, uint8_t *out); size_t uenibstreamprotobuf__false_opt__pack_to_buffer (const Uenibstreamprotobuf__FalseOpt *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__FalseOpt * uenibstreamprotobuf__false_opt__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__false_opt__free_unpacked (Uenibstreamprotobuf__FalseOpt *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__EnabledOpt methods */ void uenibstreamprotobuf__enabled_opt__init (Uenibstreamprotobuf__EnabledOpt *message); size_t uenibstreamprotobuf__enabled_opt__get_packed_size (const Uenibstreamprotobuf__EnabledOpt *message); size_t uenibstreamprotobuf__enabled_opt__pack (const Uenibstreamprotobuf__EnabledOpt *message, uint8_t *out); size_t uenibstreamprotobuf__enabled_opt__pack_to_buffer (const Uenibstreamprotobuf__EnabledOpt *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__EnabledOpt * uenibstreamprotobuf__enabled_opt__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__enabled_opt__free_unpacked (Uenibstreamprotobuf__EnabledOpt *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__DisabledOpt methods */ void uenibstreamprotobuf__disabled_opt__init (Uenibstreamprotobuf__DisabledOpt *message); size_t uenibstreamprotobuf__disabled_opt__get_packed_size (const Uenibstreamprotobuf__DisabledOpt *message); size_t uenibstreamprotobuf__disabled_opt__pack (const Uenibstreamprotobuf__DisabledOpt *message, uint8_t *out); size_t uenibstreamprotobuf__disabled_opt__pack_to_buffer (const Uenibstreamprotobuf__DisabledOpt *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__DisabledOpt * uenibstreamprotobuf__disabled_opt__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__disabled_opt__free_unpacked (Uenibstreamprotobuf__DisabledOpt *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__EnabledDisabledOpt methods */ void uenibstreamprotobuf__enabled_disabled_opt__init (Uenibstreamprotobuf__EnabledDisabledOpt *message); size_t uenibstreamprotobuf__enabled_disabled_opt__get_packed_size (const Uenibstreamprotobuf__EnabledDisabledOpt *message); size_t uenibstreamprotobuf__enabled_disabled_opt__pack (const Uenibstreamprotobuf__EnabledDisabledOpt *message, uint8_t *out); size_t uenibstreamprotobuf__enabled_disabled_opt__pack_to_buffer (const Uenibstreamprotobuf__EnabledDisabledOpt *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__EnabledDisabledOpt * uenibstreamprotobuf__enabled_disabled_opt__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__enabled_disabled_opt__free_unpacked (Uenibstreamprotobuf__EnabledDisabledOpt *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__OnOffOpt methods */ void uenibstreamprotobuf__on_off_opt__init (Uenibstreamprotobuf__OnOffOpt *message); size_t uenibstreamprotobuf__on_off_opt__get_packed_size (const Uenibstreamprotobuf__OnOffOpt *message); size_t uenibstreamprotobuf__on_off_opt__pack (const Uenibstreamprotobuf__OnOffOpt *message, uint8_t *out); size_t uenibstreamprotobuf__on_off_opt__pack_to_buffer (const Uenibstreamprotobuf__OnOffOpt *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__OnOffOpt * uenibstreamprotobuf__on_off_opt__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__on_off_opt__free_unpacked (Uenibstreamprotobuf__OnOffOpt *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*Uenibstreamprotobuf__Null_Closure) (const Uenibstreamprotobuf__Null *message, void *closure_data); typedef void (*Uenibstreamprotobuf__ConfiguredOpt_Closure) (const Uenibstreamprotobuf__ConfiguredOpt *message, void *closure_data); typedef void (*Uenibstreamprotobuf__TrueOpt_Closure) (const Uenibstreamprotobuf__TrueOpt *message, void *closure_data); typedef void (*Uenibstreamprotobuf__FalseOpt_Closure) (const Uenibstreamprotobuf__FalseOpt *message, void *closure_data); typedef void (*Uenibstreamprotobuf__EnabledOpt_Closure) (const Uenibstreamprotobuf__EnabledOpt *message, void *closure_data); typedef void (*Uenibstreamprotobuf__DisabledOpt_Closure) (const Uenibstreamprotobuf__DisabledOpt *message, void *closure_data); typedef void (*Uenibstreamprotobuf__EnabledDisabledOpt_Closure) (const Uenibstreamprotobuf__EnabledDisabledOpt *message, void *closure_data); typedef void (*Uenibstreamprotobuf__OnOffOpt_Closure) (const Uenibstreamprotobuf__OnOffOpt *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCMessageDescriptor uenibstreamprotobuf__null__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__configured_opt__descriptor; extern const ProtobufCEnumDescriptor uenibstreamprotobuf__configured_opt__value__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__true_opt__descriptor; extern const ProtobufCEnumDescriptor uenibstreamprotobuf__true_opt__value__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__false_opt__descriptor; extern const ProtobufCEnumDescriptor uenibstreamprotobuf__false_opt__value__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__enabled_opt__descriptor; extern const ProtobufCEnumDescriptor uenibstreamprotobuf__enabled_opt__value__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__disabled_opt__descriptor; extern const ProtobufCEnumDescriptor uenibstreamprotobuf__disabled_opt__value__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__enabled_disabled_opt__descriptor; extern const ProtobufCEnumDescriptor uenibstreamprotobuf__enabled_disabled_opt__value__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__on_off_opt__descriptor; extern const ProtobufCEnumDescriptor uenibstreamprotobuf__on_off_opt__value__descriptor; PROTOBUF_C__END_DECLS #endif /* PROTOBUF_C_common_5ftypes_2eproto__INCLUDED */