looper/ipc/internal.proto
Zachary Hall 27113f6443
Some checks failed
Build / build-gentoo (push) Failing after 22s
Build / download-system-deps (push) Successful in 3m16s
Build / get-source-code (push) Successful in 12m8s
Build / build-appimage (push) Successful in 3m58s
Build / build-android (push) Failing after 2m59s
Build / build-windows (push) Failing after 7m22s
WTF - Asserting the return value of a function causes it to not run?!
2024-12-08 09:55:27 -08:00

73 lines
1.2 KiB
Protocol Buffer

syntax = "proto3";
import "common.proto";
import "google/protobuf/any.proto";
message RenderCommand {
uint64 len = 201;
};
message InitResponse {
};
message QuitCmd {
};
message RenderResponse {
uint64 len = 302;
bytes data = 303;
};
message Ping {
bytes data = 1;
};
message Pong {
bytes data = 1;
};
message LogMessage {
uint64 timespec = 6000;
uint32 level = 6001;
string msg = 6002;
};
message RenderResponseOrError {
oneof data {
RenderResponse output = 1;
ErrorResponse err = 2;
};
};
message SimpleAckResponse {
};
message InitCommand {
string filename = 1;
uint64 idx = 2;
};
message GetPropertyListCommand {
};
message RPCCall {
uint64 cmdid = 1;
oneof cmd {
RenderCommand render = 2;
GetProperty get = 3;
SetProperty set = 4;
ResetProperty reset = 5;
QuitCmd quit = 6;
InitCommand init = 7;
GetPropertyListCommand get_property_list = 8;
Ping = 9;
Pong = 10;
};
};
message PropertyList {
repeated Property list = 1;
}
message RPCResponse {
uint64 cmdid = 1;
oneof response {
SimpleAckResponse ack = 2;
RenderResponse render = 3;
PropertyData data = 4;
ResetResponse reset = 5;
ErrorResponse err = 6;
PropertyList property_list = 7;
Ping = 8;
Pong = 9;
};
};