1 /* Automatically generated nanopb header */
2 /* This is a file generated using nanopb-0.1.1.
3 * It is used as a part of test suite in order to detect any
4 * incompatible changes made to the generator in future versions.
6 #ifndef _PB_BC_ALLTYPES_PB_H_
7 #define _PB_BC_ALLTYPES_PB_H_
10 /* Enum definitions */
18 /* Struct definitions */
29 } AllTypes_req_bytes_t;
34 } AllTypes_rep_bytes_t;
39 } AllTypes_opt_bytes_t;
56 AllTypes_req_bytes_t req_bytes;
57 SubMessage req_submsg;
59 size_t rep_int32_count;
61 size_t rep_int64_count;
63 size_t rep_uint32_count;
64 uint32_t rep_uint32[5];
65 size_t rep_uint64_count;
66 uint64_t rep_uint64[5];
67 size_t rep_sint32_count;
68 int32_t rep_sint32[5];
69 size_t rep_sint64_count;
70 int64_t rep_sint64[5];
71 size_t rep_bool_count;
73 size_t rep_fixed32_count;
74 uint32_t rep_fixed32[5];
75 size_t rep_sfixed32_count;
76 int32_t rep_sfixed32[5];
77 size_t rep_float_count;
79 size_t rep_fixed64_count;
80 uint64_t rep_fixed64[5];
81 size_t rep_sfixed64_count;
82 int64_t rep_sfixed64[5];
83 size_t rep_double_count;
85 size_t rep_string_count;
86 char rep_string[5][16];
87 size_t rep_bytes_count;
88 AllTypes_rep_bytes_t rep_bytes[5];
89 size_t rep_submsg_count;
90 SubMessage rep_submsg[5];
91 size_t rep_enum_count;
107 bool has_opt_fixed32;
108 uint32_t opt_fixed32;
109 bool has_opt_sfixed32;
110 int32_t opt_sfixed32;
113 bool has_opt_fixed64;
114 uint64_t opt_fixed64;
115 bool has_opt_sfixed64;
116 int64_t opt_sfixed64;
122 AllTypes_opt_bytes_t opt_bytes;
124 SubMessage opt_submsg;
130 /* Default values for struct fields */
131 extern const char SubMessage_substuff1_default[17];
132 extern const int32_t SubMessage_substuff2_default;
133 extern const uint32_t SubMessage_substuff3_default;
134 extern const int32_t AllTypes_opt_int32_default;
135 extern const int64_t AllTypes_opt_int64_default;
136 extern const uint32_t AllTypes_opt_uint32_default;
137 extern const uint64_t AllTypes_opt_uint64_default;
138 extern const int32_t AllTypes_opt_sint32_default;
139 extern const int64_t AllTypes_opt_sint64_default;
140 extern const bool AllTypes_opt_bool_default;
141 extern const uint32_t AllTypes_opt_fixed32_default;
142 extern const int32_t AllTypes_opt_sfixed32_default;
143 extern const float AllTypes_opt_float_default;
144 extern const uint64_t AllTypes_opt_fixed64_default;
145 extern const int64_t AllTypes_opt_sfixed64_default;
146 extern const double AllTypes_opt_double_default;
147 extern const char AllTypes_opt_string_default[17];
148 extern const AllTypes_opt_bytes_t AllTypes_opt_bytes_default;
149 extern const MyEnum AllTypes_opt_enum_default;
151 /* Struct field encoding specification for nanopb */
152 extern const pb_field_t SubMessage_fields[4];
153 extern const pb_field_t AllTypes_fields[53];