EXPORTED uint32_t mailbox_mbtype(const struct mailbox *mailbox)
{
    return mailbox->mbentry->mbtype;
}
EXPORTED uint32_t mailbox_mbtype(const struct mailbox *mailbox)
{
    return mailbox->mbentry->mbtype;
}