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

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



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 redhat com


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