OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Classes | Macros | Typedefs | Functions
linklist.h File Reference

Go to the source code of this file.

Classes

struct  linked_list_cell
 

Macros

#define TRUE   1
 
#define FALSE   0
 
#define LL_FIRST(list)   (position_type)list
 
#define LL_NEXT(position)   position->next
 

Typedefs

typedef struct linked_list_cell cell_type
 
typedef struct linked_list_celllinked_list_type
 
typedef struct linked_list_cellposition_type
 

Functions

linked_list_type ll_init ()
 
int ll_empty (linked_list_type list)
 
position_type ll_first (linked_list_type list)
 
position_type ll_last (linked_list_type list)
 
position_type ll_next (position_type position)
 
position_type ll_previous (position_type position, linked_list_type list)
 
int ll_end (position_type position)
 
void ll_element (position_type position, void *element)
 
void ll_insert (void *element, unsigned size, position_type position)
 
void ll_delete (position_type position)
 
void ll_reset (linked_list_type list)
 
position_type ll_locate (void *element, linked_list_type list)
 
void ll_replace (void *element, position_type position)
 

Macro Definition Documentation

◆ FALSE

#define FALSE   0

Definition at line 23 of file linklist.h.

Referenced by ossimJpegStdIOSrc_fill_input_buffer().

◆ LL_FIRST

#define LL_FIRST (   list)    (position_type)list

Definition at line 34 of file linklist.h.

◆ LL_NEXT

#define LL_NEXT (   position)    position->next

Definition at line 40 of file linklist.h.

◆ TRUE

#define TRUE   1

Typedef Documentation

◆ cell_type

typedef struct linked_list_cell cell_type

◆ linked_list_type

◆ position_type

typedef struct linked_list_cell * position_type

Function Documentation

◆ ll_delete()

void ll_delete ( position_type  position)

◆ ll_element()

void ll_element ( position_type  position,
void *  element 
)

◆ ll_empty()

int ll_empty ( linked_list_type  list)

◆ ll_end()

int ll_end ( position_type  position)

◆ ll_first()

position_type ll_first ( linked_list_type  list)

◆ ll_init()

linked_list_type ll_init ( )

◆ ll_insert()

void ll_insert ( void *  element,
unsigned  size,
position_type  position 
)

◆ ll_last()

position_type ll_last ( linked_list_type  list)

◆ ll_locate()

position_type ll_locate ( void *  element,
linked_list_type  list 
)

◆ ll_next()

position_type ll_next ( position_type  position)

◆ ll_previous()

position_type ll_previous ( position_type  position,
linked_list_type  list 
)

◆ ll_replace()

void ll_replace ( void *  element,
position_type  position 
)

◆ ll_reset()

void ll_reset ( linked_list_type  list)