e_devicemgr: make an internal header