aboutsummaryrefslogtreecommitdiff
path: root/pw_log_rpc
diff options
context:
space:
mode:
authorWyatt Hepler <hepler@google.com>2022-01-27 20:15:15 -0800
committerWyatt Hepler <hepler@google.com>2022-02-01 17:08:13 +0000
commitaf16dbbda8da32f06dc1991cb9fc9f5aa31c7766 (patch)
tree12a7890b46070da4ac047843e48be3eb241831ee /pw_log_rpc
parentf5216e40a645f52cb91b34bc01c014cda7a713d3 (diff)
downloadpigweed-af16dbbda8da32f06dc1991cb9fc9f5aa31c7766.tar.gz
pw_rpc: Remove the PayloadBuffer() API
- Remove ChannelOutput::AcquireBuffer(). Rename SendAndReleaseBuffer() to Send(). - Remove the PayloadBuffer() API from pw::rpc::internal::Call. - Have pw_rpc manage its own encoding buffer. Use a global static buffer for now. Dynamic allocations will be supported in the near future. This change significantly simplifies pw_rpc's interaction with channels. It removes the complex `response_` buffer tracking in pw::rpc::internal::Call. It also removes the need for ChannelOutputs to provide memory to pw_rpc, which may save memory depending on configuration. Fixed: 605 Change-Id: I7388f65f9a71c5fc7ae323d9fb55f5e18c2b8973 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/82000 Reviewed-by: Keir Mierle <keir@google.com>
Diffstat (limited to 'pw_log_rpc')
0 files changed, 0 insertions, 0 deletions