[yast-devel] how to port a function for use in YaST2