Search Linux Wireless

Re: [PATCH v5] Add JSON output options to 'iw' for scan results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 5 Mar 2024 at 13:17, Nicolas Escande <nico.escande@xxxxxxxxx> wrote:
>
> On Tue Mar 5, 2024 at 10:41 AM CET, Johannes Berg wrote:
> [...]
> >
> > I'm generally not going to look into these files for now, but including
> > them internally means we have to maintain them. I'd almost prefer a
> > library that can be used.
>
> For what it's worth jansson has been very good to me. It has printf() like
> object creation which usually integrates well with c programs.
>
> >
> > However, with that said,
> >
> > > +/*
> > > + * json_print.c            "print regular or json output, based on json_writer".
> > > + *
> > > + *             This program is free software; you can redistribute it and/or
> > > + *             modify it under the terms of the GNU General Public License
> > > + *             as published by the Free Software Foundation; either version
> > > + *             2 of the License, or (at your option) any later version.
> >
> >
> > This doesn't work well with the ISC license of iw. Which is another
> > reason to prefer an existing library, I suppose.
>
IMHO jansson library is more complicated than stream jsonw which is
simple as a hatchet.
I can rewrite json_print.c with any LiCENCE we need.




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux