SDLGameEngine

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Defines | Typedefs | Functions

# include/sgelist.h File Reference

Hash list. More...

Go to the source code of this file.

## Data Structures
struct | SGELISTENTRY
struct | SGELIST
## Typedefs
typedef void( | SGELISTFUNCTION )(const char *id, void *data)
| iterator function
## Functions
SGELIST * | sgeListNew (void)
| create a new hash list
SGELISTENTRY * | sgeListAdd (SGELIST *l, const char *id, void *data)
| add a element on the hash index id
SGELISTENTRY * | sgeListInsert (SGELIST *l, SGELISTENTRY *le, const char *id, void *data)
| insert a element before a certain element
SGELISTENTRY * | sgeListSearch (SGELIST *l, char *id)
| search a element in the hash list
void | sgeListRemove (SGELIST *l, char *id)
| remove a element from a list
void | sgeListForEach (SGELIST *l, SGELISTFUNCTION function)
| iterate over a hash list
void | sgeListDestroy (SGELIST *l)
| destroy a hash list

## Detailed Description

Hash list.

Definition in file sgelist.h.

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines