RetroArch
Classes | Typedefs | Functions
fifo_queue.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <retro_common_api.h>
#include <retro_inline.h>
Include dependency graph for fifo_queue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fifo_buffer
 

Typedefs

typedef struct fifo_buffer fifo_buffer_t
 

Functions

fifo_buffer_tfifo_new (size_t size)
 
static INLINE void fifo_clear (fifo_buffer_t *buffer)
 
void fifo_write (fifo_buffer_t *buffer, const void *in_buf, size_t size)
 
void fifo_read (fifo_buffer_t *buffer, void *in_buf, size_t size)
 
static INLINE void fifo_free (fifo_buffer_t *buffer)
 
static INLINE size_t fifo_read_avail (fifo_buffer_t *buffer)
 
static INLINE size_t fifo_write_avail (fifo_buffer_t *buffer)
 

Typedef Documentation

◆ fifo_buffer_t

typedef struct fifo_buffer fifo_buffer_t

Function Documentation

◆ fifo_clear()

static INLINE void fifo_clear ( fifo_buffer_t buffer)
static
Here is the caller graph for this function:

◆ fifo_free()

static INLINE void fifo_free ( fifo_buffer_t buffer)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fifo_new()

fifo_buffer_t* fifo_new ( size_t  size)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fifo_read()

void fifo_read ( fifo_buffer_t buffer,
void in_buf,
size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fifo_read_avail()

static INLINE size_t fifo_read_avail ( fifo_buffer_t buffer)
static
Here is the caller graph for this function:

◆ fifo_write()

void fifo_write ( fifo_buffer_t buffer,
const void in_buf,
size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fifo_write_avail()

static INLINE size_t fifo_write_avail ( fifo_buffer_t buffer)
static
Here is the caller graph for this function: