Line data Source code
1 : /* Automatically generated nanopb header */ 2 : /* Generated by nanopb-0.4.9.1 */ 3 : 4 : #ifndef PB_BUNDLE_BUNDLE_PB_H_INCLUDED 5 : #define PB_BUNDLE_BUNDLE_PB_H_INCLUDED 6 : #include "../../../ballet/nanopb/pb_firedancer.h" 7 : #include "packet.pb.h" 8 : #include "shared.pb.h" 9 : 10 : #if PB_PROTO_HEADER_VERSION != 40 11 : #error Regenerate this file with the current version of nanopb generator. 12 : #endif 13 : 14 : /* Struct definitions */ 15 : typedef struct _bundle_Bundle { 16 : bool has_header; 17 : shared_Header header; 18 : pb_callback_t packets; 19 : } bundle_Bundle; 20 : 21 : typedef PB_BYTES_ARRAY_T(128) bundle_BundleUuid_uuid_t; 22 : typedef struct _bundle_BundleUuid { 23 : bool has_bundle; 24 : bundle_Bundle bundle; 25 : bundle_BundleUuid_uuid_t uuid; 26 : } bundle_BundleUuid; 27 : 28 : 29 : #ifdef __cplusplus 30 : extern "C" { 31 : #endif 32 : 33 : /* Initializer values for message structs */ 34 0 : #define bundle_Bundle_init_default {false, shared_Header_init_default, {{NULL}, NULL}} 35 0 : #define bundle_BundleUuid_init_default {false, bundle_Bundle_init_default, {0, {0}}} 36 : #define bundle_Bundle_init_zero {false, shared_Header_init_zero, {{NULL}, NULL}} 37 : #define bundle_BundleUuid_init_zero {false, bundle_Bundle_init_zero, {0, {0}}} 38 : 39 : /* Field tags (for use in manual encoding/decoding) */ 40 : #define bundle_Bundle_header_tag 2 41 : #define bundle_Bundle_packets_tag 3 42 : #define bundle_BundleUuid_bundle_tag 1 43 : #define bundle_BundleUuid_uuid_tag 2 44 : 45 : /* Struct field encoding specification for nanopb */ 46 : #define bundle_Bundle_FIELDLIST(X, a) \ 47 : X(a, STATIC, OPTIONAL, MESSAGE, header, 2) \ 48 : X(a, CALLBACK, REPEATED, MESSAGE, packets, 3) 49 : #define bundle_Bundle_CALLBACK pb_default_field_callback 50 : #define bundle_Bundle_DEFAULT NULL 51 : #define bundle_Bundle_header_MSGTYPE shared_Header 52 : #define bundle_Bundle_packets_MSGTYPE packet_Packet 53 : 54 : #define bundle_BundleUuid_FIELDLIST(X, a) \ 55 : X(a, STATIC, OPTIONAL, MESSAGE, bundle, 1) \ 56 : X(a, STATIC, SINGULAR, BYTES, uuid, 2) 57 : #define bundle_BundleUuid_CALLBACK NULL 58 : #define bundle_BundleUuid_DEFAULT NULL 59 : #define bundle_BundleUuid_bundle_MSGTYPE bundle_Bundle 60 : 61 : extern const pb_msgdesc_t bundle_Bundle_msg; 62 : extern const pb_msgdesc_t bundle_BundleUuid_msg; 63 : 64 : /* Defines for backwards compatibility with code written before nanopb-0.4.0 */ 65 : #define bundle_Bundle_fields &bundle_Bundle_msg 66 : #define bundle_BundleUuid_fields &bundle_BundleUuid_msg 67 : 68 : /* Maximum encoded size of messages (where known) */ 69 : /* bundle_Bundle_size depends on runtime parameters */ 70 : /* bundle_BundleUuid_size depends on runtime parameters */ 71 : 72 : #ifdef __cplusplus 73 : } /* extern "C" */ 74 : #endif 75 : 76 : #endif