amessage.pb.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* Automatically generated nanopb header */
  2. /* Generated by nanopb-0.4.0-dev */
  3. #ifndef PB_AMESSAGE_PB_H_INCLUDED
  4. #define PB_AMESSAGE_PB_H_INCLUDED
  5. #include <pb.h>
  6. /* @@protoc_insertion_point(includes) */
  7. #if PB_PROTO_HEADER_VERSION != 40
  8. #error Regenerate this file with the current version of nanopb generator.
  9. #endif
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. /* Struct definitions */
  14. typedef struct _AMessage {
  15. int32_t aa;
  16. int32_t bb;
  17. /* @@protoc_insertion_point(struct:AMessage) */
  18. } AMessage;
  19. /* Initializer values for message structs */
  20. #define AMessage_init_default {0, 0}
  21. #define AMessage_init_zero {0, 0}
  22. /* Field tags (for use in manual encoding/decoding) */
  23. #define AMessage_aa_tag 1
  24. #define AMessage_bb_tag 2
  25. /* Struct field encoding specification for nanopb */
  26. #define AMessage_FIELDLIST(X, a) \
  27. X(a, STATIC, SINGULAR, INT32, aa, 1) \
  28. X(a, STATIC, SINGULAR, INT32, bb, 2)
  29. #define AMessage_CALLBACK NULL
  30. #define AMessage_DEFAULT NULL
  31. extern const pb_msgdesc_t AMessage_msg;
  32. /* Defines for backwards compatibility with code written before nanopb-0.4.0 */
  33. #define AMessage_fields &AMessage_msg
  34. /* Maximum encoded size of messages (where known) */
  35. #define AMessage_size 22
  36. #ifdef __cplusplus
  37. } /* extern "C" */
  38. #endif
  39. /* @@protoc_insertion_point(eof) */
  40. #endif