2021-10-13 15:39:37 +00:00
|
|
|
/* Automatically generated nanopb header */
|
|
|
|
/* Generated by nanopb-0.4.5 */
|
|
|
|
|
|
|
|
#ifndef PB_PB_APP_APPLICATION_PB_H_INCLUDED
|
|
|
|
#define PB_PB_APP_APPLICATION_PB_H_INCLUDED
|
|
|
|
#include <pb.h>
|
|
|
|
|
|
|
|
#if PB_PROTO_HEADER_VERSION != 40
|
|
|
|
#error Regenerate this file with the current version of nanopb generator.
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Struct definitions */
|
|
|
|
typedef struct _PB_App_LockStatusRequest {
|
|
|
|
char dummy_field;
|
|
|
|
} PB_App_LockStatusRequest;
|
|
|
|
|
2021-11-01 16:26:37 +00:00
|
|
|
typedef struct _PB_App_StartRequest {
|
2021-10-13 15:39:37 +00:00
|
|
|
char *name;
|
|
|
|
char *args;
|
2021-11-01 16:26:37 +00:00
|
|
|
} PB_App_StartRequest;
|
2021-10-13 15:39:37 +00:00
|
|
|
|
|
|
|
typedef struct _PB_App_LockStatusResponse {
|
|
|
|
bool locked;
|
|
|
|
} PB_App_LockStatusResponse;
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Initializer values for message structs */
|
2021-11-01 16:26:37 +00:00
|
|
|
#define PB_App_StartRequest_init_default {NULL, NULL}
|
2021-10-13 15:39:37 +00:00
|
|
|
#define PB_App_LockStatusRequest_init_default {0}
|
|
|
|
#define PB_App_LockStatusResponse_init_default {0}
|
2021-11-01 16:26:37 +00:00
|
|
|
#define PB_App_StartRequest_init_zero {NULL, NULL}
|
2021-10-13 15:39:37 +00:00
|
|
|
#define PB_App_LockStatusRequest_init_zero {0}
|
|
|
|
#define PB_App_LockStatusResponse_init_zero {0}
|
|
|
|
|
|
|
|
/* Field tags (for use in manual encoding/decoding) */
|
2021-11-01 16:26:37 +00:00
|
|
|
#define PB_App_StartRequest_name_tag 1
|
|
|
|
#define PB_App_StartRequest_args_tag 2
|
2021-10-13 15:39:37 +00:00
|
|
|
#define PB_App_LockStatusResponse_locked_tag 1
|
|
|
|
|
|
|
|
/* Struct field encoding specification for nanopb */
|
2021-11-01 16:26:37 +00:00
|
|
|
#define PB_App_StartRequest_FIELDLIST(X, a) \
|
2021-10-13 15:39:37 +00:00
|
|
|
X(a, POINTER, SINGULAR, STRING, name, 1) \
|
|
|
|
X(a, POINTER, SINGULAR, STRING, args, 2)
|
2021-11-01 16:26:37 +00:00
|
|
|
#define PB_App_StartRequest_CALLBACK NULL
|
|
|
|
#define PB_App_StartRequest_DEFAULT NULL
|
2021-10-13 15:39:37 +00:00
|
|
|
|
|
|
|
#define PB_App_LockStatusRequest_FIELDLIST(X, a) \
|
|
|
|
|
|
|
|
#define PB_App_LockStatusRequest_CALLBACK NULL
|
|
|
|
#define PB_App_LockStatusRequest_DEFAULT NULL
|
|
|
|
|
|
|
|
#define PB_App_LockStatusResponse_FIELDLIST(X, a) \
|
|
|
|
X(a, STATIC, SINGULAR, BOOL, locked, 1)
|
|
|
|
#define PB_App_LockStatusResponse_CALLBACK NULL
|
|
|
|
#define PB_App_LockStatusResponse_DEFAULT NULL
|
|
|
|
|
2021-11-01 16:26:37 +00:00
|
|
|
extern const pb_msgdesc_t PB_App_StartRequest_msg;
|
2021-10-13 15:39:37 +00:00
|
|
|
extern const pb_msgdesc_t PB_App_LockStatusRequest_msg;
|
|
|
|
extern const pb_msgdesc_t PB_App_LockStatusResponse_msg;
|
|
|
|
|
|
|
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
2021-11-01 16:26:37 +00:00
|
|
|
#define PB_App_StartRequest_fields &PB_App_StartRequest_msg
|
2021-10-13 15:39:37 +00:00
|
|
|
#define PB_App_LockStatusRequest_fields &PB_App_LockStatusRequest_msg
|
|
|
|
#define PB_App_LockStatusResponse_fields &PB_App_LockStatusResponse_msg
|
|
|
|
|
|
|
|
/* Maximum encoded size of messages (where known) */
|
2021-11-01 16:26:37 +00:00
|
|
|
/* PB_App_StartRequest_size depends on runtime parameters */
|
2021-10-13 15:39:37 +00:00
|
|
|
#define PB_App_LockStatusRequest_size 0
|
|
|
|
#define PB_App_LockStatusResponse_size 2
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|