1
2
3
4
5
6
|
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: CurrentJobRequest.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "CurrentJobRequest.pb-c.h"
void current_job_request__init
(CurrentJobRequest *message)
{
static const CurrentJobRequest init_value = CURRENT_JOB_REQUEST__INIT;
*message = init_value;
}
size_t current_job_request__get_packed_size
(const CurrentJobRequest *message)
{
assert(message->base.descriptor == ¤t_job_request__descriptor);
return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t current_job_request__pack
(const CurrentJobRequest *message,
uint8_t *out)
{
assert(message->base.descriptor == ¤t_job_request__descriptor);
return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t current_job_request__pack_to_buffer
(const CurrentJobRequest *message,
ProtobufCBuffer *buffer)
{
assert(message->base.descriptor == ¤t_job_request__descriptor);
return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
CurrentJobRequest *
current_job_request__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data)
{
return (CurrentJobRequest *)
protobuf_c_message_unpack (¤t_job_request__descriptor,
allocator, len, data);
}
void current_job_request__free_unpacked
(CurrentJobRequest *message,
ProtobufCAllocator *allocator)
{
if(!message)
return;
assert(message->base.descriptor == ¤t_job_request__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
#define current_job_request__field_descriptors NULL
#define current_job_request__field_indices_by_name NULL
#define current_job_request__number_ranges NULL
const ProtobufCMessageDescriptor current_job_request__descriptor =
{
PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
"",
"",
"",
"",
sizeof(CurrentJobRequest),
0,
current_job_request__field_descriptors,
current_job_request__field_indices_by_name,
0, current_job_request__number_ranges,
(ProtobufCMessageInit) current_job_request__init,
NULL,NULL,NULL /* reserved[123] */
};
|