Re: [libvirt] [PATCHv2] leaseshelper: split out virLeaseNew

2016-02-09 Thread John Ferlan
On 02/05/2016 11:49 AM, Ján Tomko wrote: > For the actions ADD and OLD, split out creating the new lease object, > as well as getting the environment variables that do not affect > the parsing of command line arguments. > --- > v2: do not pass argc, argv to the function > >

Re: [libvirt] [PATCHv2] leaseshelper: split out virLeaseNew

2016-02-09 Thread Ján Tomko
On Tue, Feb 09, 2016 at 06:11:07AM -0500, John Ferlan wrote: > > > On 02/05/2016 11:49 AM, Ján Tomko wrote: > > +static int > > +virLeaseNew(virJSONValuePtr *lease_ret, > > +const char *mac, > > +const char *clientid, > > +const char *ip, > > +

Re: [libvirt] [PATCHv2] leaseshelper: split out virLeaseNew

2016-02-08 Thread Michal Privoznik
On 05.02.2016 17:49, Ján Tomko wrote: > For the actions ADD and OLD, split out creating the new lease object, > as well as getting the environment variables that do not affect > the parsing of command line arguments. > --- > v2: do not pass argc, argv to the function > >

[libvirt] [PATCHv2] leaseshelper: split out virLeaseNew

2016-02-05 Thread Ján Tomko
For the actions ADD and OLD, split out creating the new lease object, as well as getting the environment variables that do not affect the parsing of command line arguments. --- v2: do not pass argc, argv to the function src/network/leaseshelper.c | 127