Select one of the symbols to view example projects that use it.
 
Outline
#define PROTOBUF_C__NO_DEPRECATED
#include "sec2.pb-c.h"
s2_session_cmd0__init(S2SessionCmd0 *)
s2_session_cmd0__get_packed_size(const S2SessionCmd0 *)
s2_session_cmd0__pack(const S2SessionCmd0 *, uint8_t *)
s2_session_cmd0__pack_to_buffer(const S2SessionCmd0 *, ProtobufCBuffer *)
s2_session_cmd0__unpack(ProtobufCAllocator *, size_t, const uint8_t *)
s2_session_cmd0__free_unpacked(S2SessionCmd0 *, ProtobufCAllocator *)
s2_session_resp0__init(S2SessionResp0 *)
s2_session_resp0__get_packed_size(const S2SessionResp0 *)
s2_session_resp0__pack(const S2SessionResp0 *, uint8_t *)
s2_session_resp0__pack_to_buffer(const S2SessionResp0 *, ProtobufCBuffer *)
s2_session_resp0__unpack(ProtobufCAllocator *, size_t, const uint8_t *)
s2_session_resp0__free_unpacked(S2SessionResp0 *, ProtobufCAllocator *)
s2_session_cmd1__init(S2SessionCmd1 *)
s2_session_cmd1__get_packed_size(const S2SessionCmd1 *)
s2_session_cmd1__pack(const S2SessionCmd1 *, uint8_t *)
s2_session_cmd1__pack_to_buffer(const S2SessionCmd1 *, ProtobufCBuffer *)
s2_session_cmd1__unpack(ProtobufCAllocator *, size_t, const uint8_t *)
s2_session_cmd1__free_unpacked(S2SessionCmd1 *, ProtobufCAllocator *)
s2_session_resp1__init(S2SessionResp1 *)
s2_session_resp1__get_packed_size(const S2SessionResp1 *)
s2_session_resp1__pack(const S2SessionResp1 *, uint8_t *)
s2_session_resp1__pack_to_buffer(const S2SessionResp1 *, ProtobufCBuffer *)
s2_session_resp1__unpack(ProtobufCAllocator *, size_t, const uint8_t *)
s2_session_resp1__free_unpacked(S2SessionResp1 *, ProtobufCAllocator *)
sec2_payload__init(Sec2Payload *)
sec2_payload__get_packed_size(const Sec2Payload *)
sec2_payload__pack(const Sec2Payload *, uint8_t *)
sec2_payload__pack_to_buffer(const Sec2Payload *, ProtobufCBuffer *)
sec2_payload__unpack(ProtobufCAllocator *, size_t, const uint8_t *)
sec2_payload__free_unpacked(Sec2Payload *, ProtobufCAllocator *)
s2_session_cmd0__field_descriptors
s2_session_cmd0__field_indices_by_name
s2_session_cmd0__number_ranges
s2_session_cmd0__descriptor
s2_session_resp0__field_descriptors
s2_session_resp0__field_indices_by_name
s2_session_resp0__number_ranges
s2_session_resp0__descriptor
s2_session_cmd1__field_descriptors
s2_session_cmd1__field_indices_by_name
s2_session_cmd1__number_ranges
s2_session_cmd1__descriptor
s2_session_resp1__field_descriptors
s2_session_resp1__field_indices_by_name
s2_session_resp1__number_ranges
s2_session_resp1__descriptor
sec2_payload__field_descriptors
sec2_payload__field_indices_by_name
sec2_payload__number_ranges
sec2_payload__descriptor
sec2_msg_type__enum_values_by_number
sec2_msg_type__value_ranges
sec2_msg_type__enum_values_by_name
sec2_msg_type__descriptor
Files
ESP-IDF
components
app_trace
app_update
bootloader_support
bt
cmock
console
cxx
driver
efuse
esp_adc
esp_app_format
esp_bootloader_format
esp_coex
esp_common
esp_driver_ana_cmpr
esp_driver_cam
esp_driver_dac
esp_driver_gpio
esp_driver_gptimer
esp_driver_i2c
esp_driver_i2s
esp_driver_jpeg
esp_driver_ledc
esp_driver_mcpwm
esp_driver_parlio
esp_driver_pcnt
esp_driver_rmt
esp_driver_sdio
esp_driver_sdm
esp_driver_sdmmc
esp_driver_sdspi
esp_driver_spi
esp_driver_tsens
esp_driver_uart
esp_driver_usb_serial_jtag
esp_eth
esp_event
esp_gdbstub
esp_hid
esp_http_client
esp_http_server
esp_https_ota
esp_https_server
esp_hw_support
esp_lcd
esp_local_ctrl
esp_mm
esp_netif
esp_partition
esp_phy
esp_pm
esp_psram
esp_ringbuf
esp_rom
esp_security
esp_system
esp_timer
esp_vfs_console
esp_wifi
esp-tls
espcoredump
hal
heap
http_parser
ieee802154
log
mqtt
newlib
nvs_flash
nvs_sec_provider
openthread
perfmon
protobuf-c
protocomm
include
proto-c
src
pthread
rt
sdmmc
soc
spi_flash
spiffs
tcp_transport
ulp
unity
vfs
wear_levelling
wifi_provisioning
wpa_supplicant
xtensa
examples
lwIP
FreeRTOS
cJSON
mbedTLS
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/protocomm/proto-c/sec2.pb-c.c
 
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
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: sec2.proto */ /* Do not generate deprecated warnings for self */ #ifndef PROTOBUF_C__NO_DEPRECATED #define PROTOBUF_C__NO_DEPRECATED #endif #include "sec2.pb-c.h" void s2_session_cmd0__init (S2SessionCmd0 *message) { static const S2SessionCmd0 init_value = S2_SESSION_CMD0__INIT; *message = init_value; }{ ... } size_t s2_session_cmd0__get_packed_size (const S2SessionCmd0 *message) { assert(message->base.descriptor == &s2_session_cmd0__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }{ ... } size_t s2_session_cmd0__pack (const S2SessionCmd0 *message, uint8_t *out) { assert(message->base.descriptor == &s2_session_cmd0__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }{ ... } size_t s2_session_cmd0__pack_to_buffer (const S2SessionCmd0 *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &s2_session_cmd0__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }{ ... } S2SessionCmd0 * s2_session_cmd0__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (S2SessionCmd0 *) protobuf_c_message_unpack (&s2_session_cmd0__descriptor, allocator, len, data); }{ ... } void s2_session_cmd0__free_unpacked (S2SessionCmd0 *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &s2_session_cmd0__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }{ ... } void s2_session_resp0__init (S2SessionResp0 *message) { static const S2SessionResp0 init_value = S2_SESSION_RESP0__INIT; *message = init_value; }{ ... } size_t s2_session_resp0__get_packed_size (const S2SessionResp0 *message) { assert(message->base.descriptor == &s2_session_resp0__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }{ ... } size_t s2_session_resp0__pack (const S2SessionResp0 *message, uint8_t *out) { assert(message->base.descriptor == &s2_session_resp0__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }{ ... } size_t s2_session_resp0__pack_to_buffer (const S2SessionResp0 *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &s2_session_resp0__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }{ ... } S2SessionResp0 * s2_session_resp0__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (S2SessionResp0 *) protobuf_c_message_unpack (&s2_session_resp0__descriptor, allocator, len, data); }{ ... } void s2_session_resp0__free_unpacked (S2SessionResp0 *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &s2_session_resp0__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }{ ... } void s2_session_cmd1__init (S2SessionCmd1 *message) { static const S2SessionCmd1 init_value = S2_SESSION_CMD1__INIT; *message = init_value; }{ ... } size_t s2_session_cmd1__get_packed_size (const S2SessionCmd1 *message) { assert(message->base.descriptor == &s2_session_cmd1__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }{ ... } size_t s2_session_cmd1__pack (const S2SessionCmd1 *message, uint8_t *out) { assert(message->base.descriptor == &s2_session_cmd1__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }{ ... } size_t s2_session_cmd1__pack_to_buffer (const S2SessionCmd1 *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &s2_session_cmd1__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }{ ... } S2SessionCmd1 * s2_session_cmd1__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (S2SessionCmd1 *) protobuf_c_message_unpack (&s2_session_cmd1__descriptor, allocator, len, data); }{ ... } void s2_session_cmd1__free_unpacked (S2SessionCmd1 *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &s2_session_cmd1__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }{ ... } void s2_session_resp1__init (S2SessionResp1 *message) { static const S2SessionResp1 init_value = S2_SESSION_RESP1__INIT; *message = init_value; }{ ... } size_t s2_session_resp1__get_packed_size (const S2SessionResp1 *message) { assert(message->base.descriptor == &s2_session_resp1__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }{ ... } size_t s2_session_resp1__pack (const S2SessionResp1 *message, uint8_t *out) { assert(message->base.descriptor == &s2_session_resp1__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }{ ... } size_t s2_session_resp1__pack_to_buffer (const S2SessionResp1 *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &s2_session_resp1__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }{ ... } S2SessionResp1 * s2_session_resp1__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (S2SessionResp1 *) protobuf_c_message_unpack (&s2_session_resp1__descriptor, allocator, len, data); }{ ... } void s2_session_resp1__free_unpacked (S2SessionResp1 *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &s2_session_resp1__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }{ ... } void sec2_payload__init (Sec2Payload *message) { static const Sec2Payload init_value = SEC2_PAYLOAD__INIT; *message = init_value; }{ ... } size_t sec2_payload__get_packed_size (const Sec2Payload *message) { assert(message->base.descriptor == &sec2_payload__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }{ ... } size_t sec2_payload__pack (const Sec2Payload *message, uint8_t *out) { assert(message->base.descriptor == &sec2_payload__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }{ ... } size_t sec2_payload__pack_to_buffer (const Sec2Payload *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &sec2_payload__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }{ ... } Sec2Payload * sec2_payload__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (Sec2Payload *) protobuf_c_message_unpack (&sec2_payload__descriptor, allocator, len, data); }{ ... } void sec2_payload__free_unpacked (Sec2Payload *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &sec2_payload__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }{ ... } static const ProtobufCFieldDescriptor s2_session_cmd0__field_descriptors[2] = { { "client_username", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(S2SessionCmd0, client_username), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "client_pubkey", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(S2SessionCmd0, client_pubkey), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, }{...}; static const unsigned s2_session_cmd0__field_indices_by_name[] = { 1, /* field[1] = client_pubkey */ 0, /* field[0] = client_username */ }{...}; static const ProtobufCIntRange s2_session_cmd0__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }{...}; const ProtobufCMessageDescriptor s2_session_cmd0__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "S2SessionCmd0", "S2SessionCmd0", "S2SessionCmd0", "", sizeof(S2SessionCmd0), 2, s2_session_cmd0__field_descriptors, s2_session_cmd0__field_indices_by_name, 1, s2_session_cmd0__number_ranges, (ProtobufCMessageInit) s2_session_cmd0__init, NULL,NULL,NULL /* reserved[123] */ }{...}; static const ProtobufCFieldDescriptor s2_session_resp0__field_descriptors[3] = { { "status", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(S2SessionResp0, status), &status__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "device_pubkey", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(S2SessionResp0, device_pubkey), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "device_salt", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(S2SessionResp0, device_salt), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, }{...}; static const unsigned s2_session_resp0__field_indices_by_name[] = { 1, /* field[1] = device_pubkey */ 2, /* field[2] = device_salt */ 0, /* field[0] = status */ }{...}; static const ProtobufCIntRange s2_session_resp0__number_ranges[1 + 1] = { { 1, 0 }, { 0, 3 } }{...}; const ProtobufCMessageDescriptor s2_session_resp0__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "S2SessionResp0", "S2SessionResp0", "S2SessionResp0", "", sizeof(S2SessionResp0), 3, s2_session_resp0__field_descriptors, s2_session_resp0__field_indices_by_name, 1, s2_session_resp0__number_ranges, (ProtobufCMessageInit) s2_session_resp0__init, NULL,NULL,NULL /* reserved[123] */ }{...}; static const ProtobufCFieldDescriptor s2_session_cmd1__field_descriptors[1] = { { "client_proof", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(S2SessionCmd1, client_proof), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, }{...}; static const unsigned s2_session_cmd1__field_indices_by_name[] = { 0, /* field[0] = client_proof */ }{...}; static const ProtobufCIntRange s2_session_cmd1__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }{...}; const ProtobufCMessageDescriptor s2_session_cmd1__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "S2SessionCmd1", "S2SessionCmd1", "S2SessionCmd1", "", sizeof(S2SessionCmd1), 1, s2_session_cmd1__field_descriptors, s2_session_cmd1__field_indices_by_name, 1, s2_session_cmd1__number_ranges, (ProtobufCMessageInit) s2_session_cmd1__init, NULL,NULL,NULL /* reserved[123] */ }{...}; static const ProtobufCFieldDescriptor s2_session_resp1__field_descriptors[3] = { { "status", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(S2SessionResp1, status), &status__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "device_proof", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(S2SessionResp1, device_proof), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "device_nonce", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(S2SessionResp1, device_nonce), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, }{...}; static const unsigned s2_session_resp1__field_indices_by_name[] = { 2, /* field[2] = device_nonce */ 1, /* field[1] = device_proof */ 0, /* field[0] = status */ }{...}; static const ProtobufCIntRange s2_session_resp1__number_ranges[1 + 1] = { { 1, 0 }, { 0, 3 } }{...}; const ProtobufCMessageDescriptor s2_session_resp1__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "S2SessionResp1", "S2SessionResp1", "S2SessionResp1", "", sizeof(S2SessionResp1), 3, s2_session_resp1__field_descriptors, s2_session_resp1__field_indices_by_name, 1, s2_session_resp1__number_ranges, (ProtobufCMessageInit) s2_session_resp1__init, NULL,NULL,NULL /* reserved[123] */ }{...}; static const ProtobufCFieldDescriptor sec2_payload__field_descriptors[5] = { { "msg", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(Sec2Payload, msg), &sec2_msg_type__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "sc0", 20, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(Sec2Payload, payload_case), offsetof(Sec2Payload, sc0), &s2_session_cmd0__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "sr0", 21, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(Sec2Payload, payload_case), offsetof(Sec2Payload, sr0), &s2_session_resp0__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "sc1", 22, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(Sec2Payload, payload_case), offsetof(Sec2Payload, sc1), &s2_session_cmd1__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "sr1", 23, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(Sec2Payload, payload_case), offsetof(Sec2Payload, sr1), &s2_session_resp1__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, }{...}; static const unsigned sec2_payload__field_indices_by_name[] = { 0, /* field[0] = msg */ 1, /* field[1] = sc0 */ 3, /* field[3] = sc1 */ 2, /* field[2] = sr0 */ 4, /* field[4] = sr1 */ }{...}; static const ProtobufCIntRange sec2_payload__number_ranges[2 + 1] = { { 1, 0 }, { 20, 1 }, { 0, 5 } }{...}; const ProtobufCMessageDescriptor sec2_payload__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "Sec2Payload", "Sec2Payload", "Sec2Payload", "", sizeof(Sec2Payload), 5, sec2_payload__field_descriptors, sec2_payload__field_indices_by_name, 2, sec2_payload__number_ranges, (ProtobufCMessageInit) sec2_payload__init, NULL,NULL,NULL /* reserved[123] */ }{...}; static const ProtobufCEnumValue sec2_msg_type__enum_values_by_number[4] = { { "S2Session_Command0", "SEC2_MSG_TYPE__S2Session_Command0", 0 }, { "S2Session_Response0", "SEC2_MSG_TYPE__S2Session_Response0", 1 }, { "S2Session_Command1", "SEC2_MSG_TYPE__S2Session_Command1", 2 }, { "S2Session_Response1", "SEC2_MSG_TYPE__S2Session_Response1", 3 }, }{...}; static const ProtobufCIntRange sec2_msg_type__value_ranges[] = { {0, 0},{0, 4} }{...}; static const ProtobufCEnumValueIndex sec2_msg_type__enum_values_by_name[4] = { { "S2Session_Command0", 0 }, { "S2Session_Command1", 2 }, { "S2Session_Response0", 1 }, { "S2Session_Response1", 3 }, }{...}; const ProtobufCEnumDescriptor sec2_msg_type__descriptor = { PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, "Sec2MsgType", "Sec2MsgType", "Sec2MsgType", "", 4, sec2_msg_type__enum_values_by_number, 4, sec2_msg_type__enum_values_by_name, 1, sec2_msg_type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }{...};
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.