Back to index

courier  0.68.2
imapd.h
Go to the documentation of this file.
00001 #ifndef       imapd_h
00002 #define       imapd_h
00003 
00004 /*
00005 ** Copyright 1998 - 1999 Double Precision, Inc.
00006 ** See COPYING for distribution information.
00007 */
00008 
00009 
00010 #define       HIERCH '.'           /* Hierarchy separator char */
00011 #define       HIERCHS       "."           /* Hierarchy separator char */
00012 
00013 #define       NEWMSG_FLAG   '*'    /* Prefixed to mimeinfo to indicate new msg */
00014 
00015 
00016 #define       is_sharedsubdir(dir) \
00017        (strncmp((dir), SHAREDSUBDIR "/", \
00018                sizeof (SHAREDSUBDIR "/")-1) == 0)
00019 
00020 #define       SUBSCRIBEFILE "courierimapsubscribed"
00021 
00022 extern void check_rights(const char *mailbox,
00023                       char *rights_buf);
00024 
00025 #define CHECK_RIGHTSM(mailbox, varname, rights) \
00026        char varname[sizeof(rights)]; \
00027        strcpy(varname, rights); \
00028        check_rights(mailbox, varname);
00029 
00030 
00031 #endif