mercury.pb.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* Automatically generated nanopb header */
  2. /* Generated by nanopb-0.4.6-dev */
  3. #ifndef PB_PROTOBUF_MERCURY_PB_H_INCLUDED
  4. #define PB_PROTOBUF_MERCURY_PB_H_INCLUDED
  5. #include <pb.h>
  6. #if PB_PROTO_HEADER_VERSION != 40
  7. #error Regenerate this file with the current version of nanopb generator.
  8. #endif
  9. /* Struct definitions */
  10. typedef struct _Header {
  11. bool has_uri;
  12. char uri[256];
  13. bool has_method;
  14. char method[64];
  15. } Header;
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. /* Initializer values for message structs */
  20. #define Header_init_default {false, "", false, ""}
  21. #define Header_init_zero {false, "", false, ""}
  22. /* Field tags (for use in manual encoding/decoding) */
  23. #define Header_uri_tag 1
  24. #define Header_method_tag 3
  25. /* Struct field encoding specification for nanopb */
  26. #define Header_FIELDLIST(X, a) \
  27. X(a, STATIC, OPTIONAL, STRING, uri, 1) \
  28. X(a, STATIC, OPTIONAL, STRING, method, 3)
  29. #define Header_CALLBACK NULL
  30. #define Header_DEFAULT NULL
  31. extern const pb_msgdesc_t Header_msg;
  32. /* Defines for backwards compatibility with code written before nanopb-0.4.0 */
  33. #define Header_fields &Header_msg
  34. /* Maximum encoded size of messages (where known) */
  35. #define Header_size 323
  36. #ifdef __cplusplus
  37. } /* extern "C" */
  38. #endif
  39. #endif