History log of /dovecot/src/lib/llist.h
Revision Date Author Comments Expand
9ab7221dac60f0bda81925f5bfc694d5bb2e8bf2 26-Nov-2017 Stephan Bosch <stephan.bosch@dovecot.fi>

lib: llist: Fixed setting (after)->next->prev in DLLIST2_INSERT_AFTER_FULL. This function was not yet used, so the problem did not affect existing code.

1139a1f61032e3b81bd1c7f526b9e9553f51a5a8 03-Jul-2014 Timo Sirainen <tss@iki.fi>

lib: DLLIST*_REMOVE*() no longer breaks the linked list if we try to remove item that doesn't exist there. Hopefully there wasn't any code that actually did this, but it's safer this way anyway. Perhaps it could be even made to assert-crash if it happens.

e3ca6e9e08c2aa6694bb81adbcab9bf31a36eaa6 17-Apr-2013 Stephan Bosch <stephan@rename-it.nl>

liblib: Added DLLIST2_INSERT_AFTER_FULL() For inserting a new element in a doubly-linked list after an existing element.

1ee04b5cb30f71ae8ad11b31f28b30edac56c4d7 25-Aug-2011 Timo Sirainen <tss@iki.fi>

liblib: Added _FULL versions of all linked list handling macros with prev and next params. This allows putting structs into multiple linked lists.

9761e0036c87f459abe040632e1252f794ffe5f7 06-Nov-2009 Timo Sirainen <tss@iki.fi>

Added DLLIST2_*() functions for doubly linked list with head and tail. --HG-- branch : HEAD

b7279bc5b9f9fbb76e34ad3ba570b2e6a225a037 06-Nov-2009 Timo Sirainen <tss@iki.fi>

DLLIST_REMOVE(): Set removed item's prev/next pointers to NULL. --HG-- branch : HEAD

04052710485ccc4a89c177527066b9c2a511f221 06-Jan-2008 Timo Sirainen <tss@iki.fi>

Added macros for handling a doubly linked list. --HG-- branch : HEAD