Re: [PATCH 1/4] util: remove const specifier from nlmsghdr arg to virNetlinkDumpCallback()

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

 



On Wed, Jan 09, 2019 at 12:43:12PM -0500, Laine Stump wrote:
> This is problematic if a callback function wants to send the nlmsghdr
> to a library function that has no "const" in its prototype
> (e.g. nlmsg_find_attr())

Makes sense, since we can't control the API signatures in external libraries.

Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>

--
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]

  Powered by Linux