ring_buf
Loading...
Searching...
No Matches
include
ring_buf_circ.h
Go to the documentation of this file.
1
/*
2
* SPDX-License-Identifier: MIT
3
* SPDX-FileCopyrightText: 2024, Roy Ratcliffe, Northumberland, United Kingdom
4
*/
31
#ifndef __RING_BUF_CIRC_H__
32
#define __RING_BUF_CIRC_H__
33
34
#include <stddef.h>
35
36
struct
ring_buf
;
37
49
int
ring_buf_put_circ
(
struct
ring_buf
*buf,
void
*data,
size_t
size
);
50
51
#endif
/* __RING_BUF_CIRC_H__ */
ring_buf_put_circ
int ring_buf_put_circ(struct ring_buf *buf, void *data, size_t size)
Put data into a circular buffer.
Definition
ring_buf_circ.c:42
ring_buf
Ring buffer instance.
Definition
ring_buf.h:128
ring_buf::size
ring_buf_size_t size
Size of the ring buffer.
Definition
ring_buf.h:139
Generated by
1.9.8