haproxy/addons/ot/src
Willy Tarreau 2b71810cb3 CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
The current "ADD" vs "ADDQ" is confusing because when thinking in terms
of appending at the end of a list, "ADD" naturally comes to mind, but
here it does the opposite, it inserts. Several times already it's been
incorrectly used where ADDQ was expected, the latest of which was a
fortunate accident explained in 6fa922562 ("CLEANUP: stream: explain
why we queue the stream at the head of the server list").

Let's use more explicit (but slightly longer) names now:

   LIST_ADD        ->       LIST_INSERT
   LIST_ADDQ       ->       LIST_APPEND
   LIST_ADDED      ->       LIST_INLIST
   LIST_DEL        ->       LIST_DELETE

The same is true for MT_LISTs, including their "TRY" variant.
LIST_DEL_INIT keeps its short name to encourage to use it instead of the
lazier LIST_DELETE which is often less safe.

The change is large (~674 non-comment entries) but is mechanical enough
to remain safe. No permutation was performed, so any out-of-tree code
can easily map older names to new ones.

The list doc was updated.
2021-04-21 09:20:17 +02:00
..
cli.c CONTRIB: move contrib/opentracing to addons/ot 2021-04-02 17:48:42 +02:00
conf.c CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion 2021-04-21 09:20:17 +02:00
event.c CONTRIB: move contrib/opentracing to addons/ot 2021-04-02 17:48:42 +02:00
filter.c BUG/MINOR: opentracing: initialization after establishing daemon mode 2021-04-02 18:21:19 +02:00
group.c CONTRIB: move contrib/opentracing to addons/ot 2021-04-02 17:48:42 +02:00
http.c MINOR: opentracing: transfer of context names without prefix 2021-04-15 08:40:08 +02:00
opentracing.c MINOR: pool: move pool declarations to read_mostly 2021-04-10 19:27:41 +02:00
parser.c MINOR: opentracing: correct calculation of the number of arguments in the args[] 2021-04-15 08:40:05 +02:00
pool.c CONTRIB: move contrib/opentracing to addons/ot 2021-04-02 17:48:42 +02:00
scope.c CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion 2021-04-21 09:20:17 +02:00
util.c MINOR: opentracing: correct calculation of the number of arguments in the args[] 2021-04-15 08:40:05 +02:00
vars.c CONTRIB: move contrib/opentracing to addons/ot 2021-04-02 17:48:42 +02:00