Add API for config in LanLib.