]> git.sur5r.net Git - ngadmin/blobdiff - raw/include/list.h
Raw: separate attribute filtering in a separate function.
[ngadmin] / raw / include / list.h
index 3eaf2ba78e67bddfecf01085731a37d369c1e8f3..9dc9d346334bec50a2236652d272e656674e2bbb 100644 (file)
@@ -55,6 +55,9 @@ void* popBackList (List *l);
 // Clears all the items of the list, and eventually frees them
 void clearList (List *l, void (*freefunc)(void*));
 
+// 
+bool destroyElement (List *l, ListNode *ln, void (*freefunc)(void*));
+
 // Find and destroy a particular element of the list, and eventually frees it
 bool findAndDestroy (List *l, void* data, void (*freefunc)(void*));