application.pb.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /* Automatically generated nanopb header */
  2. /* Generated by nanopb-0.4.5 */
  3. #ifndef PB_PB_APP_APPLICATION_PB_H_INCLUDED
  4. #define PB_PB_APP_APPLICATION_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 _PB_App_LockStatusRequest {
  11. char dummy_field;
  12. } PB_App_LockStatusRequest;
  13. typedef struct _PB_App_Start {
  14. char *name;
  15. char *args;
  16. } PB_App_Start;
  17. typedef struct _PB_App_LockStatusResponse {
  18. bool locked;
  19. } PB_App_LockStatusResponse;
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. /* Initializer values for message structs */
  24. #define PB_App_Start_init_default {NULL, NULL}
  25. #define PB_App_LockStatusRequest_init_default {0}
  26. #define PB_App_LockStatusResponse_init_default {0}
  27. #define PB_App_Start_init_zero {NULL, NULL}
  28. #define PB_App_LockStatusRequest_init_zero {0}
  29. #define PB_App_LockStatusResponse_init_zero {0}
  30. /* Field tags (for use in manual encoding/decoding) */
  31. #define PB_App_Start_name_tag 1
  32. #define PB_App_Start_args_tag 2
  33. #define PB_App_LockStatusResponse_locked_tag 1
  34. /* Struct field encoding specification for nanopb */
  35. #define PB_App_Start_FIELDLIST(X, a) \
  36. X(a, POINTER, SINGULAR, STRING, name, 1) \
  37. X(a, POINTER, SINGULAR, STRING, args, 2)
  38. #define PB_App_Start_CALLBACK NULL
  39. #define PB_App_Start_DEFAULT NULL
  40. #define PB_App_LockStatusRequest_FIELDLIST(X, a) \
  41. #define PB_App_LockStatusRequest_CALLBACK NULL
  42. #define PB_App_LockStatusRequest_DEFAULT NULL
  43. #define PB_App_LockStatusResponse_FIELDLIST(X, a) \
  44. X(a, STATIC, SINGULAR, BOOL, locked, 1)
  45. #define PB_App_LockStatusResponse_CALLBACK NULL
  46. #define PB_App_LockStatusResponse_DEFAULT NULL
  47. extern const pb_msgdesc_t PB_App_Start_msg;
  48. extern const pb_msgdesc_t PB_App_LockStatusRequest_msg;
  49. extern const pb_msgdesc_t PB_App_LockStatusResponse_msg;
  50. /* Defines for backwards compatibility with code written before nanopb-0.4.0 */
  51. #define PB_App_Start_fields &PB_App_Start_msg
  52. #define PB_App_LockStatusRequest_fields &PB_App_LockStatusRequest_msg
  53. #define PB_App_LockStatusResponse_fields &PB_App_LockStatusResponse_msg
  54. /* Maximum encoded size of messages (where known) */
  55. /* PB_App_Start_size depends on runtime parameters */
  56. #define PB_App_LockStatusRequest_size 0
  57. #define PB_App_LockStatusResponse_size 2
  58. #ifdef __cplusplus
  59. } /* extern "C" */
  60. #endif
  61. #endif