3#include <storage/filesystem_api_defines.h>
14typedef void* (*RpcSystemAlloc)(
RpcSession* session);
15typedef void (*RpcSystemFree)(
void* context);
16typedef void (*PBMessageHandler)(
const PB_Main* msg_request,
void* context);
19 bool (*decode_submessage)(pb_istream_t* stream,
const pb_field_t* field,
void** arg);
20 PBMessageHandler message_handler;
24void rpc_send(
RpcSession* session, PB_Main* main_message);
26void rpc_send_and_release(
RpcSession* session, PB_Main* main_message);
28void rpc_send_and_release_empty(
RpcSession* session, uint32_t command_id, PB_CommandStatus status);
32void* rpc_system_system_alloc(
RpcSession* session);
33void* rpc_system_storage_alloc(
RpcSession* session);
34void rpc_system_storage_free(
void* ctx);
35void* rpc_system_app_alloc(
RpcSession* session);
36void rpc_system_app_free(
void* ctx);
37void* rpc_system_gui_alloc(
RpcSession* session);
38void rpc_system_gui_free(
void* ctx);
39void* rpc_system_gpio_alloc(
RpcSession* session);
40void rpc_system_gpio_free(
void* ctx);
41void* rpc_system_property_alloc(
RpcSession* session);
44void rpc_desktop_free(
void* ctx);
46void rpc_debug_print_message(
const PB_Main* message);
47void rpc_debug_print_data(
const char* prefix, uint8_t* buffer,
size_t size);
49void rpc_cli_command_start_session(
Cli* cli,
FuriString* args,
void* context);
51PB_CommandStatus rpc_system_storage_get_error(FS_Error fs_error);
struct Cli Cli
Cli type anonymous structure.
Definition cli.h:38