Re: [libvirt-glib PATCHv4 7/7] gobject: Add wrapper for virNetworkGetDHCPLeases

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

 



On Mon, Jul 6, 2015 at 6:05 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> On Wed, Jul 01, 2015 at 09:40:51PM +0100, Zeeshan Ali (Khattak) wrote:
>> ---
>>  libvirt-gobject/libvirt-gobject-network.c | 54 +++++++++++++++++++++++++++++++
>>  libvirt-gobject/libvirt-gobject-network.h |  4 +++
>>  libvirt-gobject/libvirt-gobject.sym       |  2 ++
>>  3 files changed, 60 insertions(+)
>>
>> diff --git a/libvirt-gobject/libvirt-gobject-network.c b/libvirt-gobject/libvirt-gobject-network.c
>> index b1b38a0..b29be36 100644
>> --- a/libvirt-gobject/libvirt-gobject-network.c
>> +++ b/libvirt-gobject/libvirt-gobject-network.c
>> @@ -29,6 +29,7 @@
>>  #include "libvirt-glib/libvirt-glib.h"
>>  #include "libvirt-gobject/libvirt-gobject.h"
>>  #include "libvirt-gobject-compat.h"
>> +#include "libvirt-gobject/libvirt-gobject-network-dhcp-lease-private.h"
>>
>>  #define GVIR_NETWORK_GET_PRIVATE(obj)                         \
>>          (G_TYPE_INSTANCE_GET_PRIVATE((obj), GVIR_TYPE_NETWORK, GVirNetworkPrivate))
>> @@ -224,3 +225,56 @@ GVirConfigNetwork *gvir_network_get_config(GVirNetwork *network,
>>      free(xml);
>>      return conf;
>>  }
>> +
>> +/**
>> + * gvir_network_get_dhcp_leases:
>> + * @network: the network
>> + * @mac: (allow-none): The optional ASCII formatted MAC address of an interface
>> + * @flags: placeholder for flags, pass 0
>
> "must be 0" rather than "pass 0" ?

I just copy&pasted from another place in code. :)

-- 
Regards,

Zeeshan Ali (Khattak)
________________________________________
Befriend GNOME: http://www.gnome.org/friends/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]