[checkmk-commits] if.include: Improve scan function API