no-OS
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 /******************************************************************************/
37 /***************************** Include Files **********************************/
38 /******************************************************************************/
39 
40 #include <stdint.h>
41 
42 /******************************************************************************/
43 /*************************** Types Declarations *******************************/
44 /******************************************************************************/
45 
54  char *data;
56  uint32_t len;
57 };
58 
59 /******************************************************************************/
60 /************************ Functions Declarations ******************************/
61 /******************************************************************************/
62 
63 /* Insert element to fifo tail. */
64 int32_t no_os_fifo_insert(struct no_os_fifo_element **p_fifo, char *buff,
65  uint32_t len);
66 
67 /* Remove fifo head. */
69 
70 #endif // _NO_OS_FIFO_H_
no_os_fifo_element::next
struct no_os_fifo_element * next
Definition: no_os_fifo.h:52
no_os_fifo_element::len
uint32_t len
Definition: no_os_fifo.h:56
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:50
no_os_fifo_element::data
char * data
Definition: no_os_fifo.h:54