All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
fifo.c File Reference
#include <freeradius-devel/libradius.h>
+ Include dependency graph for fifo.c:

Go to the source code of this file.

Data Structures

struct  fr_fifo_t
 

Functions

fr_fifo_tfr_fifo_create (TALLOC_CTX *ctx, int max, fr_fifo_free_t freeNode)
 
void fr_fifo_free (fr_fifo_t *fi)
 
unsigned int fr_fifo_num_elements (fr_fifo_t *fi)
 
void * fr_fifo_peek (fr_fifo_t *fi)
 
void * fr_fifo_pop (fr_fifo_t *fi)
 
int fr_fifo_push (fr_fifo_t *fi, void *data)
 

Data Structure Documentation

struct fr_fifo_t

Definition at line 29 of file fifo.c.

Data Fields
void * data[1]
unsigned int first
fr_fifo_free_t freeNode
unsigned int last
unsigned int max
unsigned int num

Function Documentation

fr_fifo_t* fr_fifo_create ( TALLOC_CTX *  ctx,
int  max,
fr_fifo_free_t  freeNode 
)

Definition at line 39 of file fifo.c.

+ Here is the caller graph for this function:

void fr_fifo_free ( fr_fifo_t fi)

Definition at line 55 of file fifo.c.

unsigned int fr_fifo_num_elements ( fr_fifo_t fi)

Definition at line 115 of file fifo.c.

+ Here is the caller graph for this function:

void* fr_fifo_peek ( fr_fifo_t fi)

Definition at line 108 of file fifo.c.

+ Here is the caller graph for this function:

void* fr_fifo_pop ( fr_fifo_t fi)

Definition at line 92 of file fifo.c.

+ Here is the caller graph for this function:

int fr_fifo_push ( fr_fifo_t fi,
void *  data 
)

Definition at line 79 of file fifo.c.

+ Here is the caller graph for this function: