aboutsummaryrefslogtreecommitdiff
path: root/libsylph/folder.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/folder.h')
-rw-r--r--libsylph/folder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsylph/folder.h b/libsylph/folder.h
index 200d5238..5fc097e9 100644
--- a/libsylph/folder.h
+++ b/libsylph/folder.h
@@ -45,6 +45,8 @@ typedef struct _FolderItem FolderItem;
#define FOLDER_IS_LOCAL(obj) (FOLDER_TYPE(obj) == F_MH || \
FOLDER_TYPE(obj) == F_MBOX || \
FOLDER_TYPE(obj) == F_MAILDIR)
+#define FOLDER_IS_REMOTE(obj) (FOLDER_TYPE(obj) == F_IMAP || \
+ FOLDER_TYPE(obj) == F_NEWS)
#if 0
#define MBOX_FOLDER(obj) ((MboxFolder *)obj)