r6.0.1:lfds601_ringbuffer_put_write_element
Jump to navigation
Jump to search
Source Files
/liblfds601/src/lfds601_ringbuffer/lfds601_ringbuffer_get_and_put.c /liblfds601/inc/liblfds601.h
Prototype
void lfds601_ringbuffer_put_write_element( struct lfds601_ringbuffer_state *rs, struct lfds601_freelist_element *fe );
Parameters
struct lfds601_ringbuffer_state *rs
- A ringbuffer state as allocated by lfds601_ringbuffer_new.
struct lfds601_freelist_element *fe
- A pointer to a freelist element as obtained from lfds601_ringbuffer_get_write_element.
Return Value
No return value.
Notes
Returns a write element to the ringbuffer.