[Libvir] [PATCH] export virConf* symbols (second version)

Mark McLoughlin markmc at redhat.com
Thu Mar 1 09:25:54 UTC 2007


Hi Rich,

On Wed, 2007-02-28 at 17:33 +0000, Richard W.M. Jones wrote:

> +#define virConfNew() (_virConfNew())

	I wouldn't bother doing this, it just adds confusion - e.g. it helps to
know that the symbol is private from the calling site too, so just use
_virConfNew() everywhere ...

	Also suggest surrounding everything with:

#ifdef LIBVIRT_PRIVATE_API_DO_NOT_USE

	in src/conf.h (even though it's not installed) so that people have no
excuse if they use this ...

Cheers,
Mark.




More information about the libvir-list mailing list