16 static int pop_is_magic (const char* path) {
17 url_scheme_t s = url_check_scheme (NONULL (path));
18 return ((s == U_POP || s == U_POPS) ? M_POP : -1);
21 mx_t* pop_reg_mx (void) {
22 mx_t* fmt = safe_calloc (1, sizeof (mx_t));
24 /* make up mx_t record... */
26 fmt->mx_is_magic = pop_is_magic;
27 fmt->mx_open_mailbox = pop_open_mailbox;