commit | 4b36d5e8de50f729f5bfe10667c1f9138f756c11 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jan 24 18:03:07 2023 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jan 26 15:49:43 2023 +0100 |
tree | 0a0aa32147f4894ca60ad72470ae3ae292578c2c | |
parent | 8f9a9704bb7f76d3266ef6cc1ff126236e96f119 [diff] |
MINOR: trace: add a trace_no_cb() dummy callback for when to use no callback By default, passing a NULL cb to the trace functions will result in the source's default one to be used. For some cases we won't want to use any callback at all, not event the default one. Let's define a trace_no_cb() function for this, that does absolutely nothing.