diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-28 11:45:19 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-28 12:55:58 +0100 |
commit | f72e5bbb17cd54aa0e75e4436ddcd7ca0fda4648 (patch) | |
tree | 4f66b2ea3a3ebfbde38c95832a2b21de373af291 /Libraries/LibProtocol/Download.h | |
parent | 8460d02651a1669ba3cdcc7cf277ceda1c0447de (diff) | |
download | serenity-f72e5bbb17cd54aa0e75e4436ddcd7ca0fda4648.zip |
Kernel+LibC: Rename shared buffer syscalls to use a prefix
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.
Diffstat (limited to 'Libraries/LibProtocol/Download.h')
-rw-r--r-- | Libraries/LibProtocol/Download.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibProtocol/Download.h b/Libraries/LibProtocol/Download.h index 13b4e27562..b5577800ed 100644 --- a/Libraries/LibProtocol/Download.h +++ b/Libraries/LibProtocol/Download.h @@ -49,7 +49,7 @@ public: Function<void(bool success, const ByteBuffer& payload, RefPtr<SharedBuffer> payload_storage)> on_finish; Function<void(u32 total_size, u32 downloaded_size)> on_progress; - void did_finish(Badge<Client>, bool success, u32 total_size, i32 shared_buffer_id); + void did_finish(Badge<Client>, bool success, u32 total_size, i32 shbuf_id); void did_progress(Badge<Client>, u32 total_size, u32 downloaded_size); private: |