diff options
| author | Avi Levkovich <avi@twine-s.com> | 2018-11-22 16:58:31 +0200 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2018-11-22 16:58:31 +0200 |
| commit | 9da3c86aa9db1ba56b36c4cbc7ecde0bbfc24df3 (patch) | |
| tree | 0d8eee6dd11d240079d8ec3e91fabd8fe1a93777 /Software/Embedded_SW/Embedded/Communication | |
| parent | 52d7054447118291c6f4974eae49be35159bef87 (diff) | |
| download | Tango-9da3c86aa9db1ba56b36c4cbc7ecde0bbfc24df3.tar.gz Tango-9da3c86aa9db1ba56b36c4cbc7ecde0bbfc24df3.zip | |
Add JTAG_VME
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Communication/PMR/IO/GetStorageInfoRequest.pb-c.c | 43 | ||||
| -rw-r--r-- | Software/Embedded_SW/Embedded/Communication/PMR/IO/GetStorageInfoRequest.pb-c.h | 6 |
2 files changed, 43 insertions, 6 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/IO/GetStorageInfoRequest.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/IO/GetStorageInfoRequest.pb-c.c index ba9324b64..0757766f7 100644 --- a/Software/Embedded_SW/Embedded/Communication/PMR/IO/GetStorageInfoRequest.pb-c.c +++ b/Software/Embedded_SW/Embedded/Communication/PMR/IO/GetStorageInfoRequest.pb-c.c @@ -52,9 +52,42 @@ void get_storage_info_request__free_unpacked assert(message->base.descriptor == &get_storage_info_request__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } -#define get_storage_info_request__field_descriptors NULL -#define get_storage_info_request__field_indices_by_name NULL -#define get_storage_info_request__number_ranges NULL +static const ProtobufCFieldDescriptor get_storage_info_request__field_descriptors[2] = +{ + { + "Capacity", + 1, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(GetStorageInfoRequest, has_capacity), + offsetof(GetStorageInfoRequest, capacity), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "FreeSpace", + 2, + PROTOBUF_C_LABEL_OPTIONAL, + PROTOBUF_C_TYPE_INT32, + offsetof(GetStorageInfoRequest, has_freespace), + offsetof(GetStorageInfoRequest, freespace), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned get_storage_info_request__field_indices_by_name[] = { + 0, /* field[0] = Capacity */ + 1, /* field[1] = FreeSpace */ +}; +static const ProtobufCIntRange get_storage_info_request__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; const ProtobufCMessageDescriptor get_storage_info_request__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, @@ -63,10 +96,10 @@ const ProtobufCMessageDescriptor get_storage_info_request__descriptor = "GetStorageInfoRequest", "", sizeof(GetStorageInfoRequest), - 0, + 2, get_storage_info_request__field_descriptors, get_storage_info_request__field_indices_by_name, - 0, get_storage_info_request__number_ranges, + 1, get_storage_info_request__number_ranges, (ProtobufCMessageInit) get_storage_info_request__init, NULL,NULL,NULL /* reserved[123] */ }; diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/IO/GetStorageInfoRequest.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/IO/GetStorageInfoRequest.pb-c.h index e96e5f9f0..6b7f7cf74 100644 --- a/Software/Embedded_SW/Embedded/Communication/PMR/IO/GetStorageInfoRequest.pb-c.h +++ b/Software/Embedded_SW/Embedded/Communication/PMR/IO/GetStorageInfoRequest.pb-c.h @@ -26,10 +26,14 @@ typedef struct _GetStorageInfoRequest GetStorageInfoRequest; struct _GetStorageInfoRequest { ProtobufCMessage base; + protobuf_c_boolean has_capacity; + int32_t capacity; + protobuf_c_boolean has_freespace; + int32_t freespace; }; #define GET_STORAGE_INFO_REQUEST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&get_storage_info_request__descriptor) \ - } + , 0, 0, 0, 0 } /* GetStorageInfoRequest methods */ |
