On Thu, 15 Nov 2018 at 10:58, Andrew Cagney <[email protected]> wrote:
>
> To move this discussion along a little, I added the function(1):
>
>     void dbg(const char *fmt, ...) PRINTF_LIKE(1);
>
> and tried using it in "ikev2_tc.c" vis:
>
>     dbg("    connection \"%s\" does not match IDs or CA of current
> connection \"%s\"",
>          d->name, c->name);
>
> my idea is to next add:
>
>    dbg_crypt()
>
> and then dump DBGF().

While it works it heads for an interface explosion as we'll want at least:
     dbg_crypt()
     dbg_more()
So instead I'll repurpose DBGF() to be the more terse:
   DBGF(CRYPT, format, ...)
   DBGF(MORE, format, ...)
where both wrap a single dbgf(lset_t, format, ...) function.
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to