-static mx_t* reg_mx (void) {
- mx_t* fmt = p_new(mx_t, 1);
- fmt->local = 1;
- fmt->mx_check_empty = mbox_check_empty;
- fmt->mx_is_magic = mbox_is_magic;
- fmt->mx_access = access;
- fmt->mx_open_mailbox = mbox_open_mailbox;
- fmt->mx_open_new_message = mbox_open_new_message;
- fmt->mx_sync_mailbox = mbox_sync_mailbox;
- fmt->mx_check_mailbox = mbox_check_mailbox;
- return (fmt);
-}