2 * This file is part of mutt-ng, see http://www.muttng.org/.
3 * It's licensed under the GNU General Public License,
4 * please see the file GPL in the top level source directory.
7 #include <lib-lib/lib-lib.h>
15 static int nntp_is_magic (const char* path, struct stat* st) {
16 url_scheme_t s = url_check_scheme (NONULL (path));
17 return ((s == U_NNTP || s == U_NNTPS) ? M_NNTP : -1);
20 static int acl_check_nntp (CONTEXT* ctx, int bit) {
22 case ACL_INSERT: /* editing messages */
23 case ACL_WRITE: /* change importance */
25 case ACL_DELETE: /* (un)deletion */
26 case ACL_SEEN: /* mark as read */
33 mx_t const nntp_mx = {
43 nntp_fastclose_mailbox,