[yast-commit] r52568 - /trunk/storage/storage/src/modules/Storage.ycp
Author: aschnell Date: Mon Oct 27 12:42:22 2008 New Revision: 52568 URL: http://svn.opensuse.org/viewcvs/yast?rev=52568&view=rev Log: - add usual convenience functions Modified: trunk/storage/storage/src/modules/Storage.ycp Modified: trunk/storage/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Storage.ycp?rev=52568&r1=52567&r2=52568&view=diff ============================================================================== --- trunk/storage/storage/src/modules/Storage.ycp (original) +++ trunk/storage/storage/src/modules/Storage.ycp Mon Oct 27 12:42:22 2008 @@ -4732,18 +4732,27 @@ return( ret ); } -global define void ActivateHld( boolean val ) - { - y2milestone( "ActivateHld val:%1", val ); - LibStorage::StorageInterface::activateHld( sint, val ); - } -global define void SetMdOn( boolean on ) - { - y2milestone( "SetMdOn on %1", on ); - ActivateHld( on ); - y2milestone( "return" ); - } +global void ActivateHld(boolean val) +{ + y2milestone("ActivateHld val:%1", val); + LibStorage::StorageInterface::activateHld(sint, val); +} + + +global void ActivateMultipath(boolean val) +{ + y2milestone("ActivateMultipath val:%1", val); + LibStorage::StorageInterface::activateMultipath(sint, val); +} + + +global boolean getMultipathActive() +{ + boolean ret = LibStorage::StorageInterface::getMultipathActive(sint); + y2milestone("getMultipathActive ret:%1", ret); + return ret; +} /** -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org