diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-06-30 05:22:09 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-06-30 05:22:09 +0800 |
commit | 7f4c97c9043af8108c41278814cd4d8745ec85dc (patch) | |
tree | 3c34bc1cd89002e7eaebcc080cdaa2a78f2a6562 /camel/providers/imap4/camel-imap4-utils.h | |
parent | cdb302574791aea913b7a14dfb186511d1b787b0 (diff) | |
download | gsoc2013-evolution-7f4c97c9043af8108c41278814cd4d8745ec85dc.tar gsoc2013-evolution-7f4c97c9043af8108c41278814cd4d8745ec85dc.tar.gz gsoc2013-evolution-7f4c97c9043af8108c41278814cd4d8745ec85dc.tar.bz2 gsoc2013-evolution-7f4c97c9043af8108c41278814cd4d8745ec85dc.tar.lz gsoc2013-evolution-7f4c97c9043af8108c41278814cd4d8745ec85dc.tar.xz gsoc2013-evolution-7f4c97c9043af8108c41278814cd4d8745ec85dc.tar.zst gsoc2013-evolution-7f4c97c9043af8108c41278814cd4d8745ec85dc.zip |
Aded a new %formatter 'V' which takes a string vector (needed for SEARCH).
2004-06-29 Jeffrey Stedfast <fejj@novell.com>
* providers/imap4/camel-imap4-command.c
(camel_imap4_command_newv): Aded a new %formatter 'V' which takes
a string vector (needed for SEARCH).
* providers/imap4/camel-imap4-search.[c,h]: New source files
implementing search functionality.
* providers/imap4/camel-imap4-folder.c (imap4_sync_flag): Use the
new public version of imap4_get_uid_set().
(imap4_transfer_messages_to): Same.
(camel_imap4_folder_new): Create a search context.
(camel_imap4_folder_finalize): Unref the search context.
(camel_imap4_folder_class_init): Override the search methods.
(imap4_search_by_expression): New.
(imap4_search_by_uids): New.
(imap4_search_free): New.
* providers/imap4/camel-imap4-utils.c (camel_imap4_get_uid_set):
Moved here from camel-imap4-folder.c
svn path=/trunk/; revision=26551
Diffstat (limited to 'camel/providers/imap4/camel-imap4-utils.h')
-rw-r--r-- | camel/providers/imap4/camel-imap4-utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/providers/imap4/camel-imap4-utils.h b/camel/providers/imap4/camel-imap4-utils.h index 31e2b0a67b..6202c1697e 100644 --- a/camel/providers/imap4/camel-imap4-utils.h +++ b/camel/providers/imap4/camel-imap4-utils.h @@ -38,11 +38,12 @@ void camel_imap4_flags_diff (flags_diff_t *diff, guint32 old, guint32 new); guint32 camel_imap4_flags_merge (flags_diff_t *diff, guint32 flags); guint32 camel_imap4_merge_flags (guint32 original, guint32 local, guint32 server); - struct _CamelIMAP4Engine; struct _CamelIMAP4Command; struct _camel_imap4_token_t; +int camel_imap4_get_uid_set (struct _CamelIMAP4Engine *engine, struct _CamelFolderSummary *summary, GPtrArray *infos, int cur, size_t linelen, char **set); + void camel_imap4_utils_set_unexpected_token_error (CamelException *ex, struct _CamelIMAP4Engine *engine, struct _camel_imap4_token_t *token); int camel_imap4_parse_flags_list (struct _CamelIMAP4Engine *engine, guint32 *flags, CamelException *ex); |