enet: list.h File Reference

enet

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

- File List
- Globals

Data Structures | Macros | Typedefs | Functions
list.h File Reference

ENet list management. More...

`#include <stdlib.h>`

Go to the source code of this file.

## Data Structures
struct | _ENetListNode
struct | _ENetList

## Macros
#define | enet_list_begin(list) ((list) -> sentinel.next)
#define | enet_list_end(list) (& (list) -> sentinel)
#define | enet_list_empty(list) (enet_list_begin (list) == enet_list_end (list))
#define | enet_list_next(iterator) ((iterator) -> next)
#define | enet_list_previous(iterator) ((iterator) -> previous)
#define | enet_list_front(list) ((void *) (list) -> sentinel.next)
#define | enet_list_back(list) ((void *) (list) -> sentinel.previous)

## Typedefs
typedef struct _ENetListNode | ENetListNode
typedef ENetListNode * | ENetListIterator
typedef struct _ENetList | ENetList

## Functions
void | enet_list_clear (ENetList *)
ENetListIterator | enet_list_insert (ENetListIterator, void *)
void * | enet_list_remove (ENetListIterator)
ENetListIterator | enet_list_move (ENetListIterator, void *, void *)
size_t | enet_list_size (ENetList *)