1 #ifndef DROPBEAR_DROPBEAR_LIST_H
2 #define DROPBEAR_DROPBEAR_LIST_H
8 struct _m_list_elem
*next
;
9 struct _m_list_elem
*prev
;
13 typedef struct _m_list_elem m_list_elem
;
20 typedef struct _m_list m_list
;
22 m_list
* list_new(void);
23 void list_append(m_list
*list
, void *item
);
24 /* returns the item for the element removed */
25 void * list_remove(m_list_elem
*elem
);
28 #endif /* DROPBEAR_DROPBEAR_LIST_H */