/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: StartPowerUpRequest.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "StartPowerUpRequest.pb-c.h"
void start_power_up_request__init
(StartPowerUpRequest *message)
{
static const StartPowerUpRequest init_value = START_POWER_UP_REQUEST__INIT;
*message = init_value;
}
size_t start_power_up_request__get_packed_size
(const StartPowerUpRequest *message)
{
assert(message->base.descriptor == &start_power_up_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t start_power_up_request__pack
(const StartPowerUpRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == &start_power_up_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t start_power_up_request__pack_to_buffer
(const StartPowerUpRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == &start_power_up_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
StartPowerUpRequest *
start_power_up_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (StartPowerUpRequest *)
protobuf_c_message_unpack (&start_power_up_request__descriptor,
allocator, len, data);
}
void start_power_up_request__free_unpacked
(StartPowerUpRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == &start_power_up_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
#define start_power_up_request__field_descriptors NULL
#define start_power_up_request__field_indices_by_name NULL
#define start_power_up_request__number_ranges NULL
const ProtobufCMessageDescriptor start_power_up_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"",
"",
"",
"",
sizeof(StartPowerUpRequest),
0,
start_power_up_request__field_descriptors,
start_power_up_request__field_indices_by_name,
0, start_power_up_request__number_ranges,
(ProtobufCMessageInit) start_power_up_request__init,
NULL,NULL,NULL /* reserved[123] */
};