| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| |
| /* This file is automatically generated so we disable clang-format */ |
| /* clang-format off */ |
| /* Automatically generated nanopb header */ |
| /* Generated by nanopb-1.0.0-dev */ |
| |
| #ifndef PB_SIMPLE_PB_H_INCLUDED |
| #define PB_SIMPLE_PB_H_INCLUDED |
| #include <pb.h> |
| |
| #if PB_PROTO_HEADER_VERSION != 40 |
| #error Regenerate this file with the current version of nanopb generator. |
| #endif |
| |
| /* Struct definitions */ |
| typedef struct _SimpleMessage { |
| int32_t lucky_number; |
| } SimpleMessage; |
| |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| /* Initializer values for message structs */ |
| #define SimpleMessage_init_default {0} |
| #define SimpleMessage_init_zero {0} |
| |
| /* Field tags (for use in manual encoding/decoding) */ |
| #define SimpleMessage_lucky_number_tag 1 |
| |
| /* Struct field encoding specification for nanopb */ |
| #define SimpleMessage_FIELDLIST(X, a) \ |
| X(a, STATIC, REQUIRED, INT32, lucky_number, 1) |
| #define SimpleMessage_CALLBACK NULL |
| #define SimpleMessage_DEFAULT NULL |
| |
| extern const pb_msgdesc_t SimpleMessage_msg; |
| |
| /* Defines for backwards compatibility with code written before nanopb-0.4.0 */ |
| #define SimpleMessage_fields &SimpleMessage_msg |
| |
| /* Maximum encoded size of messages (where known) */ |
| #define SIMPLE_PB_H_MAX_SIZE SimpleMessage_size |
| #define SimpleMessage_size 11 |
| |
| #ifdef __cplusplus |
| } /* extern "C" */ |
| #endif |
| |
| #endif |