no-OS
no_os_fifo.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef _NO_OS_FIFO_H_
40 #define _NO_OS_FIFO_H_
41 
42 /******************************************************************************/
43 /***************************** Include Files **********************************/
44 /******************************************************************************/
45 
46 #include <stdint.h>
47 
48 /******************************************************************************/
49 /*************************** Types Declarations *******************************/
50 /******************************************************************************/
51 
60  char *data;
62  uint32_t len;
63 };
64 
65 /******************************************************************************/
66 /************************ Functions Declarations ******************************/
67 /******************************************************************************/
68 
69 /* Insert element to fifo tail. */
70 int32_t no_os_fifo_insert(struct no_os_fifo_element **p_fifo, char *buff,
71  uint32_t len);
72 
73 /* Remove fifo head. */
75 
76 #endif // _NO_OS_FIFO_H_
no_os_fifo_element::next
struct no_os_fifo_element * next
Definition: no_os_fifo.h:58
no_os_fifo_element::len
uint32_t len
Definition: no_os_fifo.h:62
no_os_fifo_insert
int32_t no_os_fifo_insert(struct no_os_fifo_element **p_fifo, char *buff, uint32_t len)
no_os_fifo_remove
struct no_os_fifo_element * no_os_fifo_remove(struct no_os_fifo_element *p_fifo)
no_os_fifo_element
Structure holding the fifo element parameters.
Definition: no_os_fifo.h:56
no_os_fifo_element::data
char * data
Definition: no_os_fifo.h:60