LCOV - code coverage report
Current view: top level - disco/bundle/proto - shared.pb.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 0 1 0.0 %
Date: 2025-07-01 05:00:49 Functions: 0 0 -

          Line data    Source code
       1             : /* Automatically generated nanopb header */
       2             : /* Generated by nanopb-0.4.9.1 */
       3             : 
       4             : #ifndef PB_SHARED_SHARED_PB_H_INCLUDED
       5             : #define PB_SHARED_SHARED_PB_H_INCLUDED
       6             : #include "../../../ballet/nanopb/pb_firedancer.h"
       7             : #include "timestamp.pb.h"
       8             : 
       9             : #if PB_PROTO_HEADER_VERSION != 40
      10             : #error Regenerate this file with the current version of nanopb generator.
      11             : #endif
      12             : 
      13             : /* Struct definitions */
      14             : typedef struct _shared_Header {
      15             :     bool has_ts;
      16             :     google_protobuf_Timestamp ts;
      17             : } shared_Header;
      18             : 
      19             : typedef struct _shared_Heartbeat {
      20             :     uint64_t count;
      21             : } shared_Heartbeat;
      22             : 
      23             : typedef PB_BYTES_ARRAY_T(64) shared_Socket_ip_t;
      24             : typedef struct _shared_Socket {
      25             :     shared_Socket_ip_t ip; /* string */
      26             :     int64_t port;
      27             : } shared_Socket;
      28             : 
      29             : 
      30             : #ifdef __cplusplus
      31             : extern "C" {
      32             : #endif
      33             : 
      34             : /* Initializer values for message structs */
      35           0 : #define shared_Header_init_default               {false, google_protobuf_Timestamp_init_default}
      36             : #define shared_Heartbeat_init_default            {0}
      37             : #define shared_Socket_init_default               {{0, {0}}, 0}
      38             : #define shared_Header_init_zero                  {false, google_protobuf_Timestamp_init_zero}
      39             : #define shared_Heartbeat_init_zero               {0}
      40             : #define shared_Socket_init_zero                  {{0, {0}}, 0}
      41             : 
      42             : /* Field tags (for use in manual encoding/decoding) */
      43             : #define shared_Header_ts_tag                     1
      44             : #define shared_Heartbeat_count_tag               1
      45             : #define shared_Socket_ip_tag                     1
      46             : #define shared_Socket_port_tag                   2
      47             : 
      48             : /* Struct field encoding specification for nanopb */
      49             : #define shared_Header_FIELDLIST(X, a) \
      50             : X(a, STATIC,   OPTIONAL, MESSAGE,  ts,                1)
      51             : #define shared_Header_CALLBACK NULL
      52             : #define shared_Header_DEFAULT NULL
      53             : #define shared_Header_ts_MSGTYPE google_protobuf_Timestamp
      54             : 
      55             : #define shared_Heartbeat_FIELDLIST(X, a) \
      56             : X(a, STATIC,   SINGULAR, UINT64,   count,             1)
      57             : #define shared_Heartbeat_CALLBACK NULL
      58             : #define shared_Heartbeat_DEFAULT NULL
      59             : 
      60             : #define shared_Socket_FIELDLIST(X, a) \
      61             : X(a, STATIC,   SINGULAR, BYTES,    ip,                1) \
      62             : X(a, STATIC,   SINGULAR, INT64,    port,              2)
      63             : #define shared_Socket_CALLBACK NULL
      64             : #define shared_Socket_DEFAULT NULL
      65             : 
      66             : extern const pb_msgdesc_t shared_Header_msg;
      67             : extern const pb_msgdesc_t shared_Heartbeat_msg;
      68             : extern const pb_msgdesc_t shared_Socket_msg;
      69             : 
      70             : /* Defines for backwards compatibility with code written before nanopb-0.4.0 */
      71             : #define shared_Header_fields &shared_Header_msg
      72             : #define shared_Heartbeat_fields &shared_Heartbeat_msg
      73             : #define shared_Socket_fields &shared_Socket_msg
      74             : 
      75             : /* Maximum encoded size of messages (where known) */
      76             : #define SHARED_SHARED_PB_H_MAX_SIZE              shared_Socket_size
      77             : #define shared_Header_size                       24
      78             : #define shared_Heartbeat_size                    11
      79             : #define shared_Socket_size                       77
      80             : 
      81             : #ifdef __cplusplus
      82             : } /* extern "C" */
      83             : #endif
      84             : 
      85             : #endif

Generated by: LCOV version 1.14