diag-macrocs: introduce pp_diag_allow, used in fsm.c
pp_diag_allow(ppi, thing, level) can be used as a conditional
to mask off diagnostic prints that cannot be individually
written as pp_diag() (this mainly applies to frame dumping, introduced
in later commits).
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment