Re: [libvirt] version script and non-existent symbols

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

 



On Sat, Dec 13, 2008 at 06:19:52PM +0000, Daniel P. Berrange wrote:

> > I think the solution to the latter is to provide stubs that return
> > failure codes for every symbol that can be ./configured out. So we'd
> > introduce a stubs.c file that has these for everything, and compile each
> > of the stubs if the relevant WITH_ option isn't set.
> 
> I think I'd be more inclined to split up the libvirt_sym.version.in
> file into pieces, one providing all the public API symbols, which
> would never change. Then for all the private symbols have them in
> a file matching the source file, eg for domain_conf.h, have a file
> domain_conf.sym.  Finally have a rule to merge all the .sym files
> using the same #ifdef as we use to turn on/off various files

It's actually not clear to me why some of these are even in the version
script. For example, why is brSetEnableSTP() there?

regards
john

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