Select one of the symbols to view example projects that use it.
 
Outline
#define PROTOBUF_C_esp_5flocal_5fctrl_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
#include "constants.pb-c.h"
CmdGetPropertyCount
RespGetPropertyCount
PropertyInfo
CmdGetPropertyValues
RespGetPropertyValues
PropertyValue
CmdSetPropertyValues
RespSetPropertyValues
LocalCtrlMessage
_LocalCtrlMsgType
CmdGetPropertyCount
RespGetPropertyCount
PropertyInfo
CmdGetPropertyValues
RespGetPropertyValues
PropertyValue
CmdSetPropertyValues
RespSetPropertyValues
LocalCtrlMessage__PayloadCase
LocalCtrlMessage
cmd_get_property_count__init(CmdGetPropertyCount *);
cmd_get_property_count__get_packed_size(const CmdGetPropertyCount *);
cmd_get_property_count__pack(const CmdGetPropertyCount *, uint8_t *);
cmd_get_property_count__pack_to_buffer(const CmdGetPropertyCount *, ProtobufCBuffer *);
cmd_get_property_count__unpack(ProtobufCAllocator *, size_t, const uint8_t *);
cmd_get_property_count__free_unpacked(CmdGetPropertyCount *, ProtobufCAllocator *);
resp_get_property_count__init(RespGetPropertyCount *);
resp_get_property_count__get_packed_size(const RespGetPropertyCount *);
resp_get_property_count__pack(const RespGetPropertyCount *, uint8_t *);
resp_get_property_count__pack_to_buffer(const RespGetPropertyCount *, ProtobufCBuffer *);
resp_get_property_count__unpack(ProtobufCAllocator *, size_t, const uint8_t *);
resp_get_property_count__free_unpacked(RespGetPropertyCount *, ProtobufCAllocator *);
property_info__init(PropertyInfo *);
property_info__get_packed_size(const PropertyInfo *);
property_info__pack(const PropertyInfo *, uint8_t *);
property_info__pack_to_buffer(const PropertyInfo *, ProtobufCBuffer *);
property_info__unpack(ProtobufCAllocator *, size_t, const uint8_t *);
property_info__free_unpacked(PropertyInfo *, ProtobufCAllocator *);
cmd_get_property_values__init(CmdGetPropertyValues *);
cmd_get_property_values__get_packed_size(const CmdGetPropertyValues *);
cmd_get_property_values__pack(const CmdGetPropertyValues *, uint8_t *);
cmd_get_property_values__pack_to_buffer(const CmdGetPropertyValues *, ProtobufCBuffer *);
cmd_get_property_values__unpack(ProtobufCAllocator *, size_t, const uint8_t *);
cmd_get_property_values__free_unpacked(CmdGetPropertyValues *, ProtobufCAllocator *);
resp_get_property_values__init(RespGetPropertyValues *);
resp_get_property_values__get_packed_size(const RespGetPropertyValues *);
resp_get_property_values__pack(const RespGetPropertyValues *, uint8_t *);
resp_get_property_values__pack_to_buffer(const RespGetPropertyValues *, ProtobufCBuffer *);
resp_get_property_values__unpack(ProtobufCAllocator *, size_t, const uint8_t *);
resp_get_property_values__free_unpacked(RespGetPropertyValues *, ProtobufCAllocator *);
property_value__init(PropertyValue *);
property_value__get_packed_size(const PropertyValue *);
property_value__pack(const PropertyValue *, uint8_t *);
property_value__pack_to_buffer(const PropertyValue *, ProtobufCBuffer *);
property_value__unpack(ProtobufCAllocator *, size_t, const uint8_t *);
property_value__free_unpacked(PropertyValue *, ProtobufCAllocator *);
cmd_set_property_values__init(CmdSetPropertyValues *);
cmd_set_property_values__get_packed_size(const CmdSetPropertyValues *);
cmd_set_property_values__pack(const CmdSetPropertyValues *, uint8_t *);
cmd_set_property_values__pack_to_buffer(const CmdSetPropertyValues *, ProtobufCBuffer *);
cmd_set_property_values__unpack(ProtobufCAllocator *, size_t, const uint8_t *);
cmd_set_property_values__free_unpacked(CmdSetPropertyValues *, ProtobufCAllocator *);
resp_set_property_values__init(RespSetPropertyValues *);
resp_set_property_values__get_packed_size(const RespSetPropertyValues *);
resp_set_property_values__pack(const RespSetPropertyValues *, uint8_t *);
resp_set_property_values__pack_to_buffer(const RespSetPropertyValues *, ProtobufCBuffer *);
resp_set_property_values__unpack(ProtobufCAllocator *, size_t, const uint8_t *);
resp_set_property_values__free_unpacked(RespSetPropertyValues *, ProtobufCAllocator *);
local_ctrl_message__init(LocalCtrlMessage *);
local_ctrl_message__get_packed_size(const LocalCtrlMessage *);
local_ctrl_message__pack(const LocalCtrlMessage *, uint8_t *);
local_ctrl_message__pack_to_buffer(const LocalCtrlMessage *, ProtobufCBuffer *);
local_ctrl_message__unpack(ProtobufCAllocator *, size_t, const uint8_t *);
local_ctrl_message__free_unpacked(LocalCtrlMessage *, ProtobufCAllocator *);
CmdGetPropertyCount_Closure
RespGetPropertyCount_Closure
PropertyInfo_Closure
CmdGetPropertyValues_Closure
RespGetPropertyValues_Closure
PropertyValue_Closure
CmdSetPropertyValues_Closure
RespSetPropertyValues_Closure
LocalCtrlMessage_Closure
local_ctrl_msg_type__descriptor;
cmd_get_property_count__descriptor;
resp_get_property_count__descriptor;
property_info__descriptor;
cmd_get_property_values__descriptor;
resp_get_property_values__descriptor;
property_value__descriptor;
cmd_set_property_values__descriptor;
resp_set_property_values__descriptor;
local_ctrl_message__descriptor;
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_local_ctrl/proto-c/esp_local_ctrl.pb-c.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: esp_local_ctrl.proto */ #ifndef PROTOBUF_C_esp_5flocal_5fctrl_2eproto__INCLUDED #define PROTOBUF_C_esp_5flocal_5fctrl_2eproto__INCLUDED #include <protobuf-c/protobuf-c.h> 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 1004000 < 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 #include "constants.pb-c.h" typedef struct CmdGetPropertyCount CmdGetPropertyCount; typedef struct RespGetPropertyCount RespGetPropertyCount; typedef struct PropertyInfo PropertyInfo; typedef struct CmdGetPropertyValues CmdGetPropertyValues; typedef struct RespGetPropertyValues RespGetPropertyValues; typedef struct PropertyValue PropertyValue; typedef struct CmdSetPropertyValues CmdSetPropertyValues; typedef struct RespSetPropertyValues RespSetPropertyValues; typedef struct LocalCtrlMessage LocalCtrlMessage; /* --- enums --- */ typedef enum _LocalCtrlMsgType { LOCAL_CTRL_MSG_TYPE__TypeCmdGetPropertyCount = 0, LOCAL_CTRL_MSG_TYPE__TypeRespGetPropertyCount = 1, LOCAL_CTRL_MSG_TYPE__TypeCmdGetPropertyValues = 4, LOCAL_CTRL_MSG_TYPE__TypeRespGetPropertyValues = 5, LOCAL_CTRL_MSG_TYPE__TypeCmdSetPropertyValues = 6, LOCAL_CTRL_MSG_TYPE__TypeRespSetPropertyValues = 7 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LOCAL_CTRL_MSG_TYPE) }{ ... } LocalCtrlMsgType; /* --- messages --- */ struct CmdGetPropertyCount { ProtobufCMessage base; }{ ... }; #define CMD_GET_PROPERTY_COUNT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&cmd_get_property_count__descriptor) \ }{...} ... struct RespGetPropertyCount { ProtobufCMessage base; Status status; uint32_t count; }{ ... }; #define RESP_GET_PROPERTY_COUNT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&resp_get_property_count__descriptor) \ , STATUS__Success, 0 }{...} ... struct PropertyInfo { ProtobufCMessage base; Status status; char *name; uint32_t type; uint32_t flags; ProtobufCBinaryData value; }{ ... }; #define PROPERTY_INFO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&property_info__descriptor) \ , STATUS__Success, (char *)protobuf_c_empty_string, 0, 0, {0,NULL} }{...} ... struct CmdGetPropertyValues { ProtobufCMessage base; size_t n_indices; uint32_t *indices; }{ ... }; #define CMD_GET_PROPERTY_VALUES__INIT \ { PROTOBUF_C_MESSAGE_INIT (&cmd_get_property_values__descriptor) \ , 0,NULL }{...} ... struct RespGetPropertyValues { ProtobufCMessage base; Status status; size_t n_props; PropertyInfo **props; }{ ... }; #define RESP_GET_PROPERTY_VALUES__INIT \ { PROTOBUF_C_MESSAGE_INIT (&resp_get_property_values__descriptor) \ , STATUS__Success, 0,NULL }{...} ... struct PropertyValue { ProtobufCMessage base; uint32_t index; ProtobufCBinaryData value; }{ ... }; #define PROPERTY_VALUE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&property_value__descriptor) \ , 0, {0,NULL} }{...} ... struct CmdSetPropertyValues { ProtobufCMessage base; size_t n_props; PropertyValue **props; }{ ... }; #define CMD_SET_PROPERTY_VALUES__INIT \ { PROTOBUF_C_MESSAGE_INIT (&cmd_set_property_values__descriptor) \ , 0,NULL }{...} ... struct RespSetPropertyValues { ProtobufCMessage base; Status status; }{ ... }; #define RESP_SET_PROPERTY_VALUES__INIT \ { PROTOBUF_C_MESSAGE_INIT (&resp_set_property_values__descriptor) \ , STATUS__Success }{...} ... typedef enum { LOCAL_CTRL_MESSAGE__PAYLOAD__NOT_SET = 0, LOCAL_CTRL_MESSAGE__PAYLOAD_CMD_GET_PROP_COUNT = 10, LOCAL_CTRL_MESSAGE__PAYLOAD_RESP_GET_PROP_COUNT = 11, LOCAL_CTRL_MESSAGE__PAYLOAD_CMD_GET_PROP_VALS = 12, LOCAL_CTRL_MESSAGE__PAYLOAD_RESP_GET_PROP_VALS = 13, LOCAL_CTRL_MESSAGE__PAYLOAD_CMD_SET_PROP_VALS = 14, LOCAL_CTRL_MESSAGE__PAYLOAD_RESP_SET_PROP_VALS = 15 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LOCAL_CTRL_MESSAGE__PAYLOAD__CASE) }{ ... } LocalCtrlMessage__PayloadCase; struct LocalCtrlMessage { ProtobufCMessage base; LocalCtrlMsgType msg; LocalCtrlMessage__PayloadCase payload_case; union { CmdGetPropertyCount *cmd_get_prop_count; RespGetPropertyCount *resp_get_prop_count; CmdGetPropertyValues *cmd_get_prop_vals; RespGetPropertyValues *resp_get_prop_vals; CmdSetPropertyValues *cmd_set_prop_vals; RespSetPropertyValues *resp_set_prop_vals; }{ ... }; }{ ... }; #define LOCAL_CTRL_MESSAGE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&local_ctrl_message__descriptor) \ , LOCAL_CTRL_MSG_TYPE__TypeCmdGetPropertyCount, LOCAL_CTRL_MESSAGE__PAYLOAD__NOT_SET, {0} }{...} ... /* CmdGetPropertyCount methods */ void cmd_get_property_count__init (CmdGetPropertyCount *message); size_t cmd_get_property_count__get_packed_size (const CmdGetPropertyCount *message); size_t cmd_get_property_count__pack (const CmdGetPropertyCount *message, uint8_t *out); size_t cmd_get_property_count__pack_to_buffer (const CmdGetPropertyCount *message, ProtobufCBuffer *buffer); CmdGetPropertyCount * cmd_get_property_count__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void cmd_get_property_count__free_unpacked (CmdGetPropertyCount *message, ProtobufCAllocator *allocator); /* RespGetPropertyCount methods */ void resp_get_property_count__init (RespGetPropertyCount *message); size_t resp_get_property_count__get_packed_size (const RespGetPropertyCount *message); size_t resp_get_property_count__pack (const RespGetPropertyCount *message, uint8_t *out); size_t resp_get_property_count__pack_to_buffer (const RespGetPropertyCount *message, ProtobufCBuffer *buffer); RespGetPropertyCount * resp_get_property_count__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void resp_get_property_count__free_unpacked (RespGetPropertyCount *message, ProtobufCAllocator *allocator); /* PropertyInfo methods */ void property_info__init (PropertyInfo *message); size_t property_info__get_packed_size (const PropertyInfo *message); size_t property_info__pack (const PropertyInfo *message, uint8_t *out); size_t property_info__pack_to_buffer (const PropertyInfo *message, ProtobufCBuffer *buffer); PropertyInfo * property_info__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void property_info__free_unpacked (PropertyInfo *message, ProtobufCAllocator *allocator); /* CmdGetPropertyValues methods */ void cmd_get_property_values__init (CmdGetPropertyValues *message); size_t cmd_get_property_values__get_packed_size (const CmdGetPropertyValues *message); size_t cmd_get_property_values__pack (const CmdGetPropertyValues *message, uint8_t *out); size_t cmd_get_property_values__pack_to_buffer (const CmdGetPropertyValues *message, ProtobufCBuffer *buffer); CmdGetPropertyValues * cmd_get_property_values__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void cmd_get_property_values__free_unpacked (CmdGetPropertyValues *message, ProtobufCAllocator *allocator); /* RespGetPropertyValues methods */ void resp_get_property_values__init (RespGetPropertyValues *message); size_t resp_get_property_values__get_packed_size (const RespGetPropertyValues *message); size_t resp_get_property_values__pack (const RespGetPropertyValues *message, uint8_t *out); size_t resp_get_property_values__pack_to_buffer (const RespGetPropertyValues *message, ProtobufCBuffer *buffer); RespGetPropertyValues * resp_get_property_values__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void resp_get_property_values__free_unpacked (RespGetPropertyValues *message, ProtobufCAllocator *allocator); /* PropertyValue methods */ void property_value__init (PropertyValue *message); size_t property_value__get_packed_size (const PropertyValue *message); size_t property_value__pack (const PropertyValue *message, uint8_t *out); size_t property_value__pack_to_buffer (const PropertyValue *message, ProtobufCBuffer *buffer); PropertyValue * property_value__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void property_value__free_unpacked (PropertyValue *message, ProtobufCAllocator *allocator); /* CmdSetPropertyValues methods */ void cmd_set_property_values__init (CmdSetPropertyValues *message); size_t cmd_set_property_values__get_packed_size (const CmdSetPropertyValues *message); size_t cmd_set_property_values__pack (const CmdSetPropertyValues *message, uint8_t *out); size_t cmd_set_property_values__pack_to_buffer (const CmdSetPropertyValues *message, ProtobufCBuffer *buffer); CmdSetPropertyValues * cmd_set_property_values__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void cmd_set_property_values__free_unpacked (CmdSetPropertyValues *message, ProtobufCAllocator *allocator); /* RespSetPropertyValues methods */ void resp_set_property_values__init (RespSetPropertyValues *message); size_t resp_set_property_values__get_packed_size (const RespSetPropertyValues *message); size_t resp_set_property_values__pack (const RespSetPropertyValues *message, uint8_t *out); size_t resp_set_property_values__pack_to_buffer (const RespSetPropertyValues *message, ProtobufCBuffer *buffer); RespSetPropertyValues * resp_set_property_values__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void resp_set_property_values__free_unpacked (RespSetPropertyValues *message, ProtobufCAllocator *allocator); /* LocalCtrlMessage methods */ void local_ctrl_message__init (LocalCtrlMessage *message); size_t local_ctrl_message__get_packed_size (const LocalCtrlMessage *message); size_t local_ctrl_message__pack (const LocalCtrlMessage *message, uint8_t *out); size_t local_ctrl_message__pack_to_buffer (const LocalCtrlMessage *message, ProtobufCBuffer *buffer); LocalCtrlMessage * local_ctrl_message__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void local_ctrl_message__free_unpacked (LocalCtrlMessage *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*CmdGetPropertyCount_Closure) (const CmdGetPropertyCount *message, void *closure_data); typedef void (*RespGetPropertyCount_Closure) (const RespGetPropertyCount *message, void *closure_data); typedef void (*PropertyInfo_Closure) (const PropertyInfo *message, void *closure_data); typedef void (*CmdGetPropertyValues_Closure) (const CmdGetPropertyValues *message, void *closure_data); typedef void (*RespGetPropertyValues_Closure) (const RespGetPropertyValues *message, void *closure_data); typedef void (*PropertyValue_Closure) (const PropertyValue *message, void *closure_data); typedef void (*CmdSetPropertyValues_Closure) (const CmdSetPropertyValues *message, void *closure_data); typedef void (*RespSetPropertyValues_Closure) (const RespSetPropertyValues *message, void *closure_data); typedef void (*LocalCtrlMessage_Closure) (const LocalCtrlMessage *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCEnumDescriptor local_ctrl_msg_type__descriptor; extern const ProtobufCMessageDescriptor cmd_get_property_count__descriptor; extern const ProtobufCMessageDescriptor resp_get_property_count__descriptor; extern const ProtobufCMessageDescriptor property_info__descriptor; extern const ProtobufCMessageDescriptor cmd_get_property_values__descriptor; extern const ProtobufCMessageDescriptor resp_get_property_values__descriptor; extern const ProtobufCMessageDescriptor property_value__descriptor; extern const ProtobufCMessageDescriptor cmd_set_property_values__descriptor; extern const ProtobufCMessageDescriptor resp_set_property_values__descriptor; extern const ProtobufCMessageDescriptor local_ctrl_message__descriptor; PROTOBUF_C__END_DECLS /* ... */ #endif /* PROTOBUF_C_esp_5flocal_5fctrl_2eproto__INCLUDED */
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.