From: Pavel Charvat Date: Thu, 7 Sep 2006 16:10:34 +0000 (+0200) Subject: - parts of URLs resolving moved to string.c and refs.c X-Git-Tag: holmes-import~568 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=bbb2a7935d42314d1b39341468604cdc7ad3bcef;p=libucw.git - parts of URLs resolving moved to string.c and refs.c - new expr's subtype image_sim_match (similar to match) - some bugfixes --- diff --git a/lib/clists.h b/lib/clists.h index 9c0f816a..4f1848d8 100644 --- a/lib/clists.h +++ b/lib/clists.h @@ -48,6 +48,8 @@ static inline int clist_empty(clist *l) #define CLIST_FOR_EACH(type,n,list) for(type n=(void*)(list).head.next; (cnode*)(n) != &(list).head; n=(void*)((cnode*)(n))->next) #define CLIST_FOR_EACH_DELSAFE(type,n,list,tmp) for(type n=(void*)(list).head.next; tmp=(void*)((cnode*)(n))->next, (cnode*)(n) != &(list).head; n=(void*)tmp) +#define CLIST_FOR_EACH_BACKWARDS(type,n,list) for(type n=(void*)(list).head.prev; (cnode*)(n) != &(list).head; n=(void*)((cnode*)(n))->prev) + static inline void clist_insert_after(cnode *what, cnode *after) { cnode *before = after->next;