_GetAddOnRef
status_t _GetAddOnRef(const char* subPath,
if (_GetAddOnRef("mail_daemon/inbound_protocols", name, ref) != B_OK)
if (_GetAddOnRef("mail_daemon/outbound_protocols", name, ref) != B_OK)