diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-24 17:47:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-24 17:47:39 +0300 |
commit | 4ef35e9ef757da1db724c5d784048601144c934c (patch) | |
tree | c683545ec5c2bc43d619eb9de994659ae88405b0 /src/enet/list.h | |
parent | 05abb208b47329b60a3cbbef86f8bc88f91ab5de (diff) | |
download | manaverse-4ef35e9ef757da1db724c5d784048601144c934c.tar.gz manaverse-4ef35e9ef757da1db724c5d784048601144c934c.tar.bz2 manaverse-4ef35e9ef757da1db724c5d784048601144c934c.tar.xz manaverse-4ef35e9ef757da1db724c5d784048601144c934c.zip |
Remove enet code from sources.
It only need for manaserv server type,
but manaserv still in long development.
Diffstat (limited to 'src/enet/list.h')
-rw-r--r-- | src/enet/list.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/enet/list.h b/src/enet/list.h deleted file mode 100644 index d7b260084..000000000 --- a/src/enet/list.h +++ /dev/null @@ -1,43 +0,0 @@ -/** - @file list.h - @brief ENet list management -*/ -#ifndef __ENET_LIST_H__ -#define __ENET_LIST_H__ - -#include <stdlib.h> - -typedef struct _ENetListNode -{ - struct _ENetListNode * next; - struct _ENetListNode * previous; -} ENetListNode; - -typedef ENetListNode * ENetListIterator; - -typedef struct _ENetList -{ - ENetListNode sentinel; -} ENetList; - -extern void enet_list_clear (ENetList *); - -extern ENetListIterator enet_list_insert (ENetListIterator, void *); -extern void * enet_list_remove (ENetListIterator); -extern ENetListIterator enet_list_move (ENetListIterator, void *, void *); - -extern size_t enet_list_size (ENetList *); - -#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) - -#endif /* __ENET_LIST_H__ */ - |