mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-26 23:05:05 +03:00
86bced5b2c
* RPC: Screen stream * Move callback to rpc_screen, implement graceful stop * RPC: Implement input injection * Update protobuf submodule * Gui: thread safe frame buffer callback setter. * RPC: Keep gui record open Co-authored-by: あく <alleteam@gmail.com>
80 lines
2.5 KiB
C
80 lines
2.5 KiB
C
/* 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;
|
|
|
|
typedef struct _PB_App_StartRequest {
|
|
char *name;
|
|
char *args;
|
|
} PB_App_StartRequest;
|
|
|
|
typedef struct _PB_App_LockStatusResponse {
|
|
bool locked;
|
|
} PB_App_LockStatusResponse;
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Initializer values for message structs */
|
|
#define PB_App_StartRequest_init_default {NULL, NULL}
|
|
#define PB_App_LockStatusRequest_init_default {0}
|
|
#define PB_App_LockStatusResponse_init_default {0}
|
|
#define PB_App_StartRequest_init_zero {NULL, NULL}
|
|
#define PB_App_LockStatusRequest_init_zero {0}
|
|
#define PB_App_LockStatusResponse_init_zero {0}
|
|
|
|
/* Field tags (for use in manual encoding/decoding) */
|
|
#define PB_App_StartRequest_name_tag 1
|
|
#define PB_App_StartRequest_args_tag 2
|
|
#define PB_App_LockStatusResponse_locked_tag 1
|
|
|
|
/* Struct field encoding specification for nanopb */
|
|
#define PB_App_StartRequest_FIELDLIST(X, a) \
|
|
X(a, POINTER, SINGULAR, STRING, name, 1) \
|
|
X(a, POINTER, SINGULAR, STRING, args, 2)
|
|
#define PB_App_StartRequest_CALLBACK NULL
|
|
#define PB_App_StartRequest_DEFAULT NULL
|
|
|
|
#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
|
|
|
|
extern const pb_msgdesc_t PB_App_StartRequest_msg;
|
|
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 */
|
|
#define PB_App_StartRequest_fields &PB_App_StartRequest_msg
|
|
#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) */
|
|
/* PB_App_StartRequest_size depends on runtime parameters */
|
|
#define PB_App_LockStatusRequest_size 0
|
|
#define PB_App_LockStatusResponse_size 2
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif
|