commit | bc1f54b0fc4582f3752f8b4add86c91be488851d | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Mar 23 14:13:26 2020 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 27 09:39:37 2020 +0200 |
tree | 1ebafce1e288c59cbf2b32e7c2898e5cea18a91a | |
parent | aaae9a0e9952bef30bb0da0eecd714f2db64d545 [diff] |
MINOR: mini-clist: Add functions to iterate backward on a list list_for_each_entry_rev() and list_for_each_entry_from_rev() and corresponding safe versions have been added to iterate on a list in the reverse order. All these functions work the same way than the forward versions, except they use the .p field to move for an element to another.