[lvm-devel] [PATCH] New public functions lvm2_reload_config, lvm2_set_config_option and lvm2_reset_config_option.

Alasdair G Kergon agk at redhat.com
Fri Dec 12 12:45:32 UTC 2008


On Fri, Dec 12, 2008 at 12:36:30PM +0100, Thomas Woerner wrote:
> Ok, I will add tools/tools.h, tools/toollib.h, tools/commands.h and 
> tools/args.h to include/.smylinks. Then it is possible to use #include 
> "tools.h".
 
You can't use *anything* from the tools directory in the library!
That would be like linking the library against anaconda or
other client code!
Where you need any functions in there you need to move them first 
into the lib directory behind a proper interface.

Alasdair
-- 
agk at redhat.com




More information about the lvm-devel mailing list