no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
no_os_fifo.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef _NO_OS_FIFO_H_
34#define _NO_OS_FIFO_H_
35
36#include <stdint.h>
37
46 char *data;
48 uint32_t len;
49};
50
51/* Insert element to fifo tail. */
52int32_t no_os_fifo_insert(struct no_os_fifo_element **p_fifo, char *buff,
53 uint32_t len);
54
55/* Remove fifo head. */
57
58#endif // _NO_OS_FIFO_H_
struct no_os_fifo_element * no_os_fifo_remove(struct no_os_fifo_element *p_fifo)
int32_t no_os_fifo_insert(struct no_os_fifo_element **p_fifo, char *buff, uint32_t len)
Structure holding the fifo element parameters.
Definition no_os_fifo.h:42
char * data
Definition no_os_fifo.h:46
uint32_t len
Definition no_os_fifo.h:48
struct no_os_fifo_element * next
Definition no_os_fifo.h:44