aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-utils.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-01 02:13:45 +0800
committerDan Winship <danw@src.gnome.org>2001-05-01 02:13:45 +0800
commit8ad89adf8ca7d1208473a8028036d270b6ad0b30 (patch)
tree3d7718059c99a55bac407e49852bb38c9b26eb5a /camel/providers/imap/camel-imap-utils.h
parent155fcd81538ef9aa63e6e6d4b585d5dd528b4e47 (diff)
downloadgsoc2013-evolution-8ad89adf8ca7d1208473a8028036d270b6ad0b30.tar
gsoc2013-evolution-8ad89adf8ca7d1208473a8028036d270b6ad0b30.tar.gz
gsoc2013-evolution-8ad89adf8ca7d1208473a8028036d270b6ad0b30.tar.bz2
gsoc2013-evolution-8ad89adf8ca7d1208473a8028036d270b6ad0b30.tar.lz
gsoc2013-evolution-8ad89adf8ca7d1208473a8028036d270b6ad0b30.tar.xz
gsoc2013-evolution-8ad89adf8ca7d1208473a8028036d270b6ad0b30.tar.zst
gsoc2013-evolution-8ad89adf8ca7d1208473a8028036d270b6ad0b30.zip
New-and-improved version of get_uid_set() from camel-imap-folder.c. Looks
* providers/imap/camel-imap-utils.c (imap_uid_array_to_set): New-and-improved version of get_uid_set() from camel-imap-folder.c. Looks at the summary as it goes so that if you ask for messages 5, 6, 8, and 9, and there is no message 7, then you get "5:9" instead of "5:6,8:9" * providers/imap/camel-imap-folder.c (imap_copy_messages_to): Use imap_uid_array_to_set() rather than get_uid_set(). (get_uid_set): Gone svn path=/trunk/; revision=9632
Diffstat (limited to 'camel/providers/imap/camel-imap-utils.h')
-rw-r--r--camel/providers/imap/camel-imap-utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-utils.h b/camel/providers/imap/camel-imap-utils.h
index 77bc51f9bc..937bec02d1 100644
--- a/camel/providers/imap/camel-imap-utils.h
+++ b/camel/providers/imap/camel-imap-utils.h
@@ -57,6 +57,8 @@ char *imap_quote_string (const char *str);
void imap_skip_list (char **str_p);
+char * imap_uid_array_to_set (CamelFolderSummary *summary, GPtrArray *uids);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */