Mercurial > dropbear
comparison list.h @ 1036:deed0571cacc
DROPBEAR_ prefix for include guards to avoid collisions
author | Thorsten Horstmann <thorsten.horstmann@web.de> |
---|---|
date | Tue, 24 Feb 2015 20:43:01 +0800 |
parents | 96bcb20e7e03 |
children | 2bb4c662d1c2 |
comparison
equal
deleted
inserted
replaced
1022:4121ca987e6a | 1036:deed0571cacc |
---|---|
1 #ifndef _DROPBEAR_LIST_H | 1 #ifndef DROPBEAR_DROPBEAR_LIST_H |
2 #define _DROPBEAR_LIST_H | 2 #define DROPBEAR_DROPBEAR_LIST_H |
3 | 3 |
4 struct _m_list; | 4 struct _m_list; |
5 | 5 |
6 struct _m_list_elem { | 6 struct _m_list_elem { |
7 void *item; | 7 void *item; |
23 void list_append(m_list *list, void *item); | 23 void list_append(m_list *list, void *item); |
24 /* returns the item for the element removed */ | 24 /* returns the item for the element removed */ |
25 void * list_remove(m_list_elem *elem); | 25 void * list_remove(m_list_elem *elem); |
26 | 26 |
27 | 27 |
28 #endif /* _DROPBEAR_LIST_H */ | 28 #endif /* DROPBEAR_DROPBEAR_LIST_H */ |