mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 04:55:07 +00:00

This feels a lot more consistent and Unixy: create_shared_buffer() => shbuf_create() share_buffer_with() => shbuf_allow_pid() share_buffer_globally() => shbuf_allow_all() get_shared_buffer() => shbuf_get() release_shared_buffer() => shbuf_release() seal_shared_buffer() => shbuf_seal() get_shared_buffer_size() => shbuf_get_size() Also, "shared_buffer_id" is shortened to "shbuf_id" all around.
6 lines
226 B
Text
6 lines
226 B
Text
endpoint ProtocolClient = 13
|
|
{
|
|
// Download notifications
|
|
DownloadProgress(i32 download_id, u32 total_size, u32 downloaded_size) =|
|
|
DownloadFinished(i32 download_id, bool success, u32 total_size, i32 shbuf_id) =|
|
|
}
|