On Tue, 6 May 2025 17:48:04 +0100 Vincent Donnefort <vdonnef...@google.com> wrote:
> In preparation for allowing the write of ring-buffer compliant pages > outside of ring_buffer.c, move buffer_data_page and timestamps > encoding functions into the publicly available ring_buffer.h. > > Signed-off-by: Vincent Donnefort <vdonnef...@google.com> Let's create a new file for this instead of adding it to ring_buffer.h. Although it's being used by remote buffers, I rather not make this something that people may think they can access anywhere. Perhaps: ring_buffer_types.h with a comment stating that these are to be used by the remote ring buffers and the ring buffer internals and should not be used directly. -- Steve