zephyr/include
Christopher Friedt 0ca511a49e sys: ring_buffer: ring_buf_peek() and ring_buf_size_get()
Add ring_buf_size_get() to get the number of bytes currently available
in the ring buffer.

Add ring_buf_peek() to read data from the head of a ring buffer without
removal.

Fixes #37145

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2021-07-28 07:32:28 -04:00
..
app_memory
arch xtensa: cache: XCC needs to declare variable outside for loop 2021-07-22 15:41:11 +03:00
audio
bluetooth Bluetooth: Mesh: Add missing Configuration Client API 2021-07-22 22:41:32 +03:00
canbus modules: canopennode: move glue code to modules directory 2021-07-01 13:32:18 -04:00
console
crypto
data
debug kernel: remove object tracing 2021-05-07 22:10:21 -04:00
devicetree reserved-memory: Introduce support for reserved-memory node 2021-07-15 18:12:51 -05:00
dfu dfu: flash_img: Removing conditional compilation from header 2021-06-29 08:38:36 -04:00
disk
display
drivers drivers: sensor: Add driver for TI INA23x 2021-07-27 17:59:23 -04:00
dt-bindings drivers: sensor: Add driver for TI INA23x 2021-07-27 17:59:23 -04:00
fs doc: doxygen: replace option alias with kconfig 2021-06-29 10:26:28 -04:00
ipc ipc: Added IPC Service to support different transport backends 2021-07-16 21:43:39 -04:00
kernel kernel: add macros to allow declaring extern stack arrays 2021-07-22 07:24:11 -05:00
linker kernel: fix kobj table if having .sdata section. 2021-07-22 07:29:21 -05:00
logging lib: os: cbprintf: Add support for conversion to fsc package 2021-07-27 14:50:45 +02:00
lorawan
mgmt subsys/mgmt/mcumgr: Add SMP Zephyr specific storage erase command 2021-07-13 11:56:39 +02:00
modbus
net dsa: updated api to use net_if 2021-07-26 19:37:22 -04:00
pm pm: remove callback from control function 2021-07-13 09:36:45 -04:00
portability
posix
power pm: deprecate power/power.h header 2021-05-05 18:35:49 -04:00
random
settings
shell shell: Add option to bypass shell 2021-07-02 13:35:18 -04:00
stats
storage
sys sys: ring_buffer: ring_buf_peek() and ring_buf_size_get() 2021-07-28 07:32:28 -04:00
task_wdt
timing
toolchain toolchain: Add macro for warning for unused return values 2021-06-16 10:42:17 +02:00
tracing Tracing: TRACING_NONE Compilation Fix 2021-05-27 14:39:40 -05:00
usb usb: hid: remove get_protocol/set_protocol from USB HID class API 2021-05-07 13:14:47 +02:00
zephyr
cache.h cache: Do not warn on unused parameters 2021-05-25 07:05:22 -05:00
device.h device: add DEVICE_DT_GET_ONE macro 2021-07-15 11:47:11 -04:00
devicetree.h dts: Introduce DT_STRING_TOKEN and DT_STRING_UPPER_TOKEN 2021-07-15 18:12:51 -05:00
ec_host_cmd.h
emul.h
exc_handle.h
fatal.h
generated_dts_board.h
init.h
irq_nextlevel.h
irq_offload.h
irq.h doc: fix display of the ISR_DIRECT_DECLARE example usage 2021-05-07 20:52:02 -04:00
kernel_includes.h kernel: move internal headers into include/kernel 2021-06-16 20:38:55 -04:00
kernel_structs.h kernel: Add extern "C" to kernel_struct.h 2021-06-18 08:11:22 -05:00
kernel_version.h
kernel.h Fix: document: Fix there is no API Reference in clock 2021-07-21 05:33:25 -04:00
ptp_clock.h
shared_irq.h
spinlock.h
sw_isr_table.h
sys_clock.h
syscall_handler.h
syscall.h
timeout_q.h
toolchain.h
wait_q.h kernel: move internal headers into include/kernel 2021-06-16 20:38:55 -04:00
zephyr.h