Re: bgpctl more ometric changes

2022-11-30 Thread Claudio Jeker
On Wed, Nov 30, 2022 at 07:48:35PM +0100, Theo Buehler wrote: > On Wed, Nov 30, 2022 at 07:05:25PM +0100, Claudio Jeker wrote: > > Change ometric_set_int_with_label() to ometric_set_int_with_labels(). > > In rpki-client I need to add more than one extra label and extending this > > interface seems

Re: bgpctl more ometric changes

2022-11-30 Thread Theo Buehler
On Wed, Nov 30, 2022 at 07:05:25PM +0100, Claudio Jeker wrote: > Change ometric_set_int_with_label() to ometric_set_int_with_labels(). > In rpki-client I need to add more than one extra label and extending this > interface seems to be the least ugly solution. > I use C99 compound literals to make t

bgpctl more ometric changes

2022-11-30 Thread Claudio Jeker
Change ometric_set_int_with_label() to ometric_set_int_with_labels(). In rpki-client I need to add more than one extra label and extending this interface seems to be the least ugly solution. I use C99 compound literals to make this less ugly and wrapped that magic into the macro EV(). IMO this is a