/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: DispenserRunningData.proto */ #ifndef PROTOBUF_C_DispenserRunningData_2eproto__INCLUDED #define PROTOBUF_C_DispenserRunningData_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 1003000 < 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 _DispenserRunningData DispenserRunningData; /* --- enums --- */ /* --- messages --- */ struct _DispenserRunningData { ProtobufCMessage base; protobuf_c_boolean has_numberofrefills; uint32_t numberofrefills; protobuf_c_boolean has_totalconsumedinnanolitter; double totalconsumedinnanolitter; protobuf_c_boolean has_consumedinnanolitter; double consumedinnanolitter; protobuf_c_boolean has_nanolitterperpulse; double nanolitterperpulse; protobuf_c_boolean has_microsteps; uint32_t microsteps; protobuf_c_boolean has_direction; protobuf_c_boolean direction; }; #define DISPENSER_RUNNING_DATA__INIT \ { PROTOBUF_C_MESSAGE_INIT (&dispenser_running_data__descriptor) \ , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } /* DispenserRunningData methods */ void dispenser_running_data__init (DispenserRunningData *message); size_t dispenser_running_data__get_packed_size (const DispenserRunningData *message); size_t dispenser_running_data__pack (const DispenserRunningData *message, uint8_t *out); size_t dispenser_running_data__pack_to_buffer (const DispenserRunningData *message, ProtobufCBuffer *buffer); DispenserRunningData * dispenser_running_data__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void dispenser_running_data__free_unpacked (DispenserRunningData *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*DispenserRunningData_Closure) (const DispenserRunningData *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCMessageDescriptor dispenser_running_data__descriptor; PROTOBUF_C__END_DECLS #endif /* PROTOBUF_C_DispenserRunningData_2eproto__INCLUDED */