comparison list.h @ 1049:01eea88963f3 fastopen

merge from default
author Matt Johnston <matt@ucc.asn.au>
date Sat, 28 Feb 2015 09:06:40 +0800
parents deed0571cacc
children 2bb4c662d1c2
comparison
equal deleted inserted replaced
1048:9cec9ed503bb 1049:01eea88963f3
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 */